Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4db45d6171 | ||
|
|
7045a9c4c7 | ||
|
|
506984d835 | ||
|
|
f94c56d97f | ||
|
|
4309c25508 | ||
|
|
7af896286c | ||
|
|
9666885116 | ||
|
|
7963f6b10a |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"env": { "node": true, "jest": true },
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": { "ecmaVersion": 2020, "sourceType": "module" },
|
||||
"parserOptions": { "ecmaVersion": 2019, "sourceType": "module" },
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/eslint-recommended",
|
||||
|
||||
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@@ -1,7 +1,5 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: shivammathur
|
||||
issuehunt: shivammathur
|
||||
patreon: shivammathur
|
||||
liberapay: shivammathur
|
||||
custom: https://www.paypal.me/shivammathur
|
||||
|
||||
37
.github/ISSUE_TEMPLATE/bug_report.md
vendored
37
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,23 +1,42 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
about: Nice, you found a bug!
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
labels: 'bug'
|
||||
assignees: 'shivammathur'
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
<!-- Please describe the bug concisely. -->
|
||||
|
||||
**Version**
|
||||
- [ ] I have checked releases and the bug exists in the latest patch version of `v1`.
|
||||
- [ ] `v2`
|
||||
- [ ] `v1`
|
||||
|
||||
**Runners**
|
||||
<!-- Please mark the GitHub Action runner your workflow uses. -->
|
||||
- [ ] GitHub Hosted
|
||||
- [ ] Self Hosted
|
||||
|
||||
**Operating systems**
|
||||
<!-- Please mention the operating systems your workflow uses. -->
|
||||
|
||||
**PHP versions**
|
||||
<!-- Please mention the PHP versions your workflow uses. -->
|
||||
|
||||
**To Reproduce**
|
||||
Please provide the GitHub Action `.yml` file.
|
||||
<!-- Please provide the relevant steps of your workflow `.yml` file. -->
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
<!-- A clear and concise description of what you expected to happen. -->
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
**Screenshots/Logs**
|
||||
<!-- If applicable, add screenshots or logs to help explain your problem. -->
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
<!-- Add any other context about the problem here. -->
|
||||
|
||||
**Are you willing to submit a PR?**
|
||||
<!-- We accept pull requests targeting the develop branch. -->
|
||||
26
.github/ISSUE_TEMPLATE/feature_request.md
vendored
26
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -1,20 +1,26 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
about: Suggest a new feature
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
labels: 'enhancement'
|
||||
assignees: 'shivammathur'
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I want to improve [...]
|
||||
**Describe the feature**
|
||||
<!-- Please describe concisely the feature you want to add. -->
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
**Version**
|
||||
- [ ] I have checked releases and the feature is missing in the latest patch version of `v1`.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
**Underlying issue**
|
||||
<!-- Please describe the issue this would solve. -->
|
||||
|
||||
**Describe alternatives**
|
||||
<!-- Please mention any alternative solutions you've considered. -->
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
<!-- Add any other context or screenshots about the feature request here. -->
|
||||
|
||||
**Are you willing to submit a PR?**
|
||||
<!-- We accept pull requests targeting the develop branch. -->
|
||||
16
.github/PULL_REQUEST_TEMPLATE.md
vendored
16
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -7,14 +7,13 @@ labels: bug or enhancement
|
||||
|
||||
## A Pull Request should be associated with an Issue.
|
||||
|
||||
> We wish to have discussions in Issues. A single issue may be targeted by multiple PRs.
|
||||
> If you're offering a new feature or fixing anything, we'd like to know beforehand in Issues,
|
||||
> and potentially we'll be able to point development in a particular direction.
|
||||
> If you're fixing a bug, adding a new feature or improving something please provide the details in Issues,
|
||||
> so that the development can be pointed in the intended direction.
|
||||
|
||||
Related issue:
|
||||
Related issue: <!-- Please link the related issue -->
|
||||
|
||||
> Further notes in [Contribution Guidelines](.github/CONTRIBUTING.md)
|
||||
> Thank you! We are open to PRs, but please understand if for technical reasons we are unable to accept each and any PR
|
||||
> Thank you for your contribution.
|
||||
|
||||
### Description
|
||||
|
||||
@@ -26,7 +25,12 @@ This PR [briefly explain what it does]
|
||||
- [ ] I have run `npm run format` before the commit.
|
||||
- [ ] I have run `npm run lint` before the commit.
|
||||
- [ ] I have run `npm run release` before the commit.
|
||||
- [ ] `npm test` returns with no unit test errors.
|
||||
- [ ] `npm test` returns with no unit test errors and all code covered.
|
||||
|
||||
> In case this PR edits any scripts:
|
||||
|
||||
- [ ] I have checked the edited scripts for syntax.
|
||||
- [ ] I have tested the changes in an integration test (If yes, provide workflow link).
|
||||
|
||||
<!--
|
||||
- Please target the develop branch when submitting the pull request.
|
||||
|
||||
33
.github/PULL_REQUEST_TEMPLATE/FIX.md
vendored
33
.github/PULL_REQUEST_TEMPLATE/FIX.md
vendored
@@ -1,33 +0,0 @@
|
||||
---
|
||||
name: 🐞 Bug Fix
|
||||
about: You have a fix for a bug?
|
||||
labels: bug
|
||||
|
||||
---
|
||||
|
||||
## A Pull Request should be associated with an Issue.
|
||||
|
||||
> We wish to have discussions in Issues. A single issue may be targeted by multiple PRs.
|
||||
> If you're offering a new feature or fixing anything, we'd like to know beforehand in Issues,
|
||||
> and potentially we'll be able to point development in a particular direction.
|
||||
|
||||
Related issue:
|
||||
|
||||
> Further notes in [Contribution Guidelines](.github/CONTRIBUTING.md)
|
||||
> Thank you! We are open to PRs, but please understand if for technical reasons we are unable to accept each and any PR
|
||||
|
||||
### Description
|
||||
|
||||
This PR [briefly explain what it does]
|
||||
|
||||
> In case this PR introduced TypeScript/JavaScript code changes:
|
||||
|
||||
- [ ] I have written test cases for the changes in this pull request.
|
||||
- [ ] I have run `npm run format` before the commit.
|
||||
- [ ] I have run `npm run lint` before the commit.
|
||||
- [ ] I have run `npm run release` before the commit.
|
||||
- [ ] `npm test` returns with no unit test errors.
|
||||
|
||||
<!--
|
||||
- Please target the develop branch when submitting the pull request.
|
||||
-->
|
||||
33
.github/PULL_REQUEST_TEMPLATE/IMPROVEMENT.md
vendored
33
.github/PULL_REQUEST_TEMPLATE/IMPROVEMENT.md
vendored
@@ -1,33 +0,0 @@
|
||||
---
|
||||
name: ⚙ Improvement
|
||||
about: You have some improvement to make cache-extensions better?
|
||||
labels: enhancement
|
||||
|
||||
---
|
||||
|
||||
## A Pull Request should be associated with an Issue.
|
||||
|
||||
> We wish to have discussions in Issues. A single issue may be targeted by multiple PRs.
|
||||
> If you're offering a new feature or fixing anything, we'd like to know beforehand in Issues,
|
||||
> and potentially we'll be able to point development in a particular direction.
|
||||
|
||||
Related issue:
|
||||
|
||||
> Further notes in [Contribution Guidelines](.github/CONTRIBUTING.md)
|
||||
> Thank you! We are open to PRs, but please understand if for technical reasons we are unable to accept each and any PR
|
||||
|
||||
### Description
|
||||
|
||||
This PR [briefly explain what it does]
|
||||
|
||||
> In case this PR introduced TypeScript/JavaScript code changes:
|
||||
|
||||
- [ ] I have written test cases for the changes in this pull request.
|
||||
- [ ] I have run `npm run format` before the commit.
|
||||
- [ ] I have run `npm run lint` before the commit.
|
||||
- [ ] I have run `npm run release` before the commit.
|
||||
- [ ] `npm test` returns with no unit test errors.
|
||||
|
||||
<!--
|
||||
- Please target the develop branch when submitting the pull request.
|
||||
-->
|
||||
33
.github/PULL_REQUEST_TEMPLATE/NEW_FEATURE.md
vendored
33
.github/PULL_REQUEST_TEMPLATE/NEW_FEATURE.md
vendored
@@ -1,33 +0,0 @@
|
||||
---
|
||||
name: 🎉 New Feature
|
||||
about: You have implemented some neat idea that you want to make part of cache-extensions?
|
||||
labels: enhancement
|
||||
|
||||
---
|
||||
|
||||
## A Pull Request should be associated with an Issue.
|
||||
|
||||
> We wish to have discussions in Issues. A single issue may be targeted by multiple PRs.
|
||||
> If you're offering a new feature or fixing anything, we'd like to know beforehand in Issues,
|
||||
> and potentially we'll be able to point development in a particular direction.
|
||||
|
||||
Related issue:
|
||||
|
||||
> Further notes in [Contribution Guidelines](.github/CONTRIBUTING.md)
|
||||
> Thank you! We are open to PRs, but please understand if for technical reasons we are unable to accept each and any PR
|
||||
|
||||
### Description
|
||||
|
||||
This PR [briefly explain what it does]
|
||||
|
||||
> In case this PR introduced TypeScript/JavaScript code changes:
|
||||
|
||||
- [ ] I have written test cases for the changes in this pull request.
|
||||
- [ ] I have run `npm run format` before the commit.
|
||||
- [ ] I have run `npm run lint` before the commit.
|
||||
- [ ] I have run `npm run release` before the commit.
|
||||
- [ ] `npm test` returns with no unit test errors.
|
||||
|
||||
<!--
|
||||
- Please target the develop branch when submitting the pull request.
|
||||
-->
|
||||
71
README.md
71
README.md
@@ -14,9 +14,13 @@ Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "Gi
|
||||
- [PHP Support](#tada-php-support)
|
||||
- [OS/Platform Support](#cloud-osplatform-support)
|
||||
- [Usage](#memo-usage)
|
||||
- [Inputs](#inputs)
|
||||
- [Workflow](#workflow)
|
||||
- [Thread Safe Setup](#thread-safe-setup)
|
||||
- [License](#scroll-license)
|
||||
- [Contributions](#1-contributions)
|
||||
- [Support this project](#sparkling_heart-support-this-project)
|
||||
- [Support This Project](#sparkling_heart-support-this-project)
|
||||
- [Dependencies](#package-dependencies)
|
||||
|
||||
## :tada: PHP Support
|
||||
|
||||
@@ -31,27 +35,46 @@ Cache PHP extensions in [GitHub Actions](https://github.com/features/actions "Gi
|
||||
|7.2|`Stable`|`Security fixes only`|
|
||||
|7.3|`Stable`|`Active`|
|
||||
|7.4|`Stable`|`Active`|
|
||||
|8.0|`Experimental`|`In development`|
|
||||
|8.0|`Nightly`|`In development`|
|
||||
|
||||
## :cloud: OS/Platform Support
|
||||
|
||||
|Virtual environment|matrix.operating-system|
|
||||
|Virtual environment|YAML workflow label|
|
||||
|--- |--- |
|
||||
|Windows Server 2019|`windows-latest` or `windows-2019`|
|
||||
|Ubuntu 20.04|`ubuntu-20.04`|
|
||||
|Ubuntu 18.04|`ubuntu-latest` or `ubuntu-18.04`|
|
||||
|Ubuntu 16.04|`ubuntu-16.04`|
|
||||
|macOS X Catalina 10.15|`macos-latest` or `macOS-10.15`|
|
||||
|macOS Catalina 10.15|`macos-latest` or `macOS-10.15`|
|
||||
|
||||
## :memo: Usage
|
||||
|
||||
Inputs supported by this GitHub Action.
|
||||
Use this GitHub Action when the extensions you are adding in [setup-php](https://github.com/shivammathur/setup-php "setup-php GitHub Action") are installed and take a long time to setup. If you are using extensions which have the result `Installed and enabled` in the logs like `pecl` extensions on `Ubuntu` or extensions which have custom support, it is recommended to use this action to cache your extensions.
|
||||
|
||||
- php-version `required`
|
||||
- extensions `required`
|
||||
- key `required`
|
||||
### Inputs
|
||||
|
||||
#### `php-version` (required)
|
||||
|
||||
- Specify the PHP version you want to setup.
|
||||
- Accepts a `string`. For example `'7.4'`.
|
||||
- See [PHP support](#tada-php-support) for supported PHP versions.
|
||||
|
||||
#### `extensions` (required)
|
||||
|
||||
- Specify the extensions you want to add or remove.
|
||||
- Accepts a `string` in csv-format. For example `mbstring, , xdebug, :opcache`.
|
||||
- Extensions prefixed with `:` are ignored.
|
||||
|
||||
#### `key` (required)
|
||||
|
||||
- Specify the key to identify the cache version.
|
||||
- Accepts any `string`. For example `cache-v1`.
|
||||
- Changing this would reset the cache.
|
||||
|
||||
See [action.yml](action.yml "Metadata for this GitHub Action") and usage below for more info.
|
||||
|
||||
### Workflow
|
||||
|
||||
> Cache extensions in a PHP workflow
|
||||
|
||||
```yaml
|
||||
@@ -71,7 +94,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup cache environment
|
||||
id: cache-env
|
||||
id: extcache
|
||||
uses: shivammathur/cache-extensions@v1
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
@@ -81,9 +104,9 @@ jobs:
|
||||
- name: Cache extensions
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.cache-env.outputs.dir }}
|
||||
key: ${{ steps.cache-env.outputs.key }}
|
||||
restore-keys: ${{ steps.cache-env.outputs.key }}
|
||||
path: ${{ steps.extcache.outputs.dir }}
|
||||
key: ${{ steps.extcache.outputs.key }}
|
||||
restore-keys: ${{ steps.extcache.outputs.key }}
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
@@ -92,6 +115,19 @@ jobs:
|
||||
extensions: ${{ env.extensions }}
|
||||
```
|
||||
|
||||
### Thread Safe Setup
|
||||
|
||||
If you setup both `TS` and `NTS` PHP versions on `Windows` in your workflow, please add `${{ env.phpts }}` to `key` and `restore-keys` inputs in `actions/cache` step in the above workflow to avoid conflicting cache.
|
||||
|
||||
```yaml
|
||||
- name: Cache extensions
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ steps.extcache.outputs.dir }}
|
||||
key: ${{ steps.extcache.outputs.key }}-${{ env.phpts }}
|
||||
restore-keys: ${{ steps.extcache.outputs.key }}-${{ env.phpts }}
|
||||
```
|
||||
|
||||
## :scroll: License
|
||||
|
||||
The scripts and documentation in this project are released under the [MIT License](LICENSE "License for shivammathur/cache-extensions"). This project has multiple [dependencies](https://github.com/shivammathur/cache-extensions/network/dependencies "Dependencies for this PHP Action"). Their licenses can be found in their respective repositories.
|
||||
@@ -100,11 +136,14 @@ The scripts and documentation in this project are released under the [MIT Licens
|
||||
|
||||
Contributions are welcome! See [Contributor's Guide](.github/CONTRIBUTING.md "shivammathur/cache-extensions contribution guide"). If you face any issues while using this or want to suggest a feature/improvement, create an issue [here](https://github.com/shivammathur/cache-extensions/issues "Issues reported").
|
||||
|
||||
## :sparkling_heart: Support this project
|
||||
## :sparkling_heart: Support This Project
|
||||
|
||||
If this action helped you.
|
||||
|
||||
- Sponsor the project by subscribing on [Patreon](https://www.patreon.com/shivammathur "Shivam Mathur Patreon") or by contributing using [Paypal](https://www.paypal.me/shivammathur "Shivam Mathur PayPal").
|
||||
- Please star the project and share it with the community.
|
||||
- If you blog, write about your experience while using this action.
|
||||
- I maintain this in my free time, please support me with a [Patreon](https://www.patreon.com/shivammathur "Shivam Mathur Patreon") subscription or a one time contribution using [Paypal](https://www.paypal.me/shivammathur "Shivam Mathur PayPal").
|
||||
- If you need any help using this, please contact me using [Codementor](https://www.codementor.io/shivammathur "Shivam Mathur Codementor")
|
||||
- If you blog, write about your experience of using this action.
|
||||
|
||||
## :package: Dependencies
|
||||
|
||||
- [Node.js dependencies](https://github.com/shivammathur/setup-php/network/dependencies "Node.js dependencies")
|
||||
84
dist/index.js
vendored
84
dist/index.js
vendored
@@ -987,19 +987,10 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
||||
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||
});
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.filterExtensions = exports.getInput = void 0;
|
||||
const core = __importStar(__webpack_require__(470));
|
||||
@@ -1009,17 +1000,15 @@ const core = __importStar(__webpack_require__(470));
|
||||
* @param name
|
||||
* @param mandatory
|
||||
*/
|
||||
function getInput(name, mandatory) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const input = process.env[name];
|
||||
switch (input) {
|
||||
case '':
|
||||
case undefined:
|
||||
return core.getInput(name, { required: mandatory });
|
||||
default:
|
||||
return input;
|
||||
}
|
||||
});
|
||||
async function getInput(name, mandatory) {
|
||||
const input = process.env[name];
|
||||
switch (input) {
|
||||
case '':
|
||||
case undefined:
|
||||
return core.getInput(name, { required: mandatory });
|
||||
default:
|
||||
return input;
|
||||
}
|
||||
}
|
||||
exports.getInput = getInput;
|
||||
/**
|
||||
@@ -1027,15 +1016,13 @@ exports.getInput = getInput;
|
||||
*
|
||||
* @param extension_csv
|
||||
*/
|
||||
function filterExtensions(extension_csv) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
return extension_csv
|
||||
.split(',')
|
||||
.filter(extension => {
|
||||
return extension.trim()[0] != ':';
|
||||
})
|
||||
.join(',');
|
||||
});
|
||||
async function filterExtensions(extension_csv) {
|
||||
return extension_csv
|
||||
.split(',')
|
||||
.filter(extension => {
|
||||
return extension.trim()[0] != ':';
|
||||
})
|
||||
.join(',');
|
||||
}
|
||||
exports.filterExtensions = filterExtensions;
|
||||
|
||||
@@ -1620,19 +1607,10 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||
return new (P || (P = Promise))(function (resolve, reject) {
|
||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
||||
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||
});
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.run = void 0;
|
||||
const exec_1 = __webpack_require__(986);
|
||||
@@ -1642,20 +1620,18 @@ const utils = __importStar(__webpack_require__(163));
|
||||
/**
|
||||
* Run the script
|
||||
*/
|
||||
function run() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
let version = yield utils.getInput('php-version', true);
|
||||
version = version.length > 1 ? version.slice(0, 3) : version + '.0';
|
||||
const extensions = yield utils.filterExtensions(yield utils.getInput('extensions', true));
|
||||
const key = yield utils.getInput('key', true);
|
||||
const script_path = path.join(__dirname, '../src/extensions.sh');
|
||||
yield exec_1.exec('bash ' + script_path + ' "' + extensions + '" ' + key + ' ' + version);
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
});
|
||||
async function run() {
|
||||
try {
|
||||
let version = await utils.getInput('php-version', true);
|
||||
version = version.length > 1 ? version.slice(0, 3) : version + '.0';
|
||||
const extensions = await utils.filterExtensions(await utils.getInput('extensions', true));
|
||||
const key = await utils.getInput('key', true);
|
||||
const script_path = path.join(__dirname, '../src/extensions.sh');
|
||||
await exec_1.exec('bash ' + script_path + ' "' + extensions + '" ' + key + ' ' + version);
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
}
|
||||
exports.run = run;
|
||||
// call the run function
|
||||
|
||||
2074
package-lock.json
generated
2074
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cache-extensions",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.3",
|
||||
"private": false,
|
||||
"description": "Cache extensions in GitHub Actions",
|
||||
"main": "dist/index.js",
|
||||
@@ -28,22 +28,22 @@
|
||||
"@actions/exec": "^1.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^25.2.3",
|
||||
"@types/node": "^14.0.9",
|
||||
"@typescript-eslint/eslint-plugin": "^3.1.0",
|
||||
"@typescript-eslint/parser": "^3.1.0",
|
||||
"@types/jest": "^26.0.9",
|
||||
"@types/node": "^14.0.27",
|
||||
"@typescript-eslint/eslint-plugin": "^3.8.0",
|
||||
"@typescript-eslint/parser": "^3.8.0",
|
||||
"@zeit/ncc": "^0.22.3",
|
||||
"eslint": "^7.1.0",
|
||||
"eslint": "^7.6.0",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"eslint-plugin-import": "^2.20.2",
|
||||
"eslint-plugin-jest": "^23.13.2",
|
||||
"eslint-plugin-prettier": "^3.1.3",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"eslint-plugin-jest": "^23.20.0",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"husky": "^4.2.5",
|
||||
"jest": "^26.0.1",
|
||||
"jest-circus": "^26.0.1",
|
||||
"jest": "^26.2.2",
|
||||
"jest-circus": "^26.2.2",
|
||||
"prettier": "^2.0.5",
|
||||
"ts-jest": "^26.1.0",
|
||||
"typescript": "^3.9.3"
|
||||
"ts-jest": "^26.1.4",
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"husky": {
|
||||
"skipCI": true,
|
||||
|
||||
@@ -6,7 +6,7 @@ linux_extension_dir() {
|
||||
elif [[ "$version" =~ $old_versions_linux ]]; then
|
||||
echo "/usr/lib/php5/$apiv"
|
||||
elif [ "$version" = "8.0" ]; then
|
||||
echo "/home/runner/php/8.0/lib/php/extensions/no-debug-non-zts-$apiv"
|
||||
echo "/usr/local/php/8.0/lib/php/extensions/no-debug-non-zts-$apiv"
|
||||
else
|
||||
echo "/usr/lib/php/$apiv"
|
||||
fi
|
||||
|
||||
@@ -5,6 +5,7 @@ bcmath
|
||||
bz2
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -16,6 +17,7 @@ ftp
|
||||
gd
|
||||
hash
|
||||
iconv
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -31,6 +33,8 @@ pcntl
|
||||
pcov
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_sqlite
|
||||
Phar
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -20,6 +21,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
imagick
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -34,6 +36,8 @@ pcntl
|
||||
pcov
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -20,6 +21,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
imagick
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -34,6 +36,8 @@ pcntl
|
||||
pcov
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
|
||||
@@ -5,6 +5,7 @@ apcu
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -17,6 +18,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
igbinary
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
|
||||
@@ -4,6 +4,7 @@ apcu
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -15,6 +16,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
igbinary
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ iconv
|
||||
igbinary
|
||||
imap
|
||||
interbase
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -42,6 +44,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ iconv
|
||||
igbinary
|
||||
imap
|
||||
interbase
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -41,6 +43,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ iconv
|
||||
igbinary
|
||||
imap
|
||||
interbase
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -41,6 +43,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ hash
|
||||
iconv
|
||||
igbinary
|
||||
imap
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -41,6 +43,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -18,6 +18,7 @@ gettext
|
||||
gmp
|
||||
hash
|
||||
iconv
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -29,6 +30,8 @@ pcntl
|
||||
pcov
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
@@ -65,4 +68,5 @@ blackfire
|
||||
|
||||
[Zend Modules]
|
||||
Zend OPcache
|
||||
Xdebug
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ bcmath
|
||||
bz2
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -16,6 +17,7 @@ ftp
|
||||
gd
|
||||
hash
|
||||
iconv
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -28,6 +30,8 @@ openssl
|
||||
pcntl
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_sqlite
|
||||
Phar
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -20,6 +21,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
imagick
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -33,6 +35,8 @@ openssl
|
||||
pcntl
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -20,6 +21,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
imagick
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -33,6 +35,8 @@ openssl
|
||||
pcntl
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
|
||||
@@ -5,6 +5,7 @@ apcu
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -17,6 +18,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
igbinary
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
|
||||
@@ -4,6 +4,7 @@ apcu
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -15,6 +16,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
igbinary
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
|
||||
@@ -4,6 +4,7 @@ apcu
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -15,6 +16,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
igbinary
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
|
||||
@@ -4,6 +4,7 @@ apcu
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -15,6 +16,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
igbinary
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
|
||||
@@ -4,6 +4,7 @@ apcu
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -15,6 +16,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
igbinary
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
|
||||
@@ -1,47 +1,86 @@
|
||||
[PHP Modules]
|
||||
amqp
|
||||
apcu
|
||||
bcmath
|
||||
bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
dom
|
||||
enchant
|
||||
exif
|
||||
FFI
|
||||
fileinfo
|
||||
filter
|
||||
ftp
|
||||
gd
|
||||
gettext
|
||||
gmp
|
||||
hash
|
||||
iconv
|
||||
igbinary
|
||||
imape
|
||||
ioncub
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
libxml
|
||||
mbstring
|
||||
memcache
|
||||
memcached
|
||||
mongodb
|
||||
msgpack
|
||||
mysqli
|
||||
mysqlnd
|
||||
odbc
|
||||
openssl
|
||||
pcntl
|
||||
pcov
|
||||
pcre
|
||||
oci8
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
pgsql
|
||||
Phar
|
||||
posix
|
||||
pspell
|
||||
readline
|
||||
redis
|
||||
Reflection
|
||||
session
|
||||
shmop
|
||||
SimpleXML
|
||||
snmp
|
||||
soap
|
||||
sockets
|
||||
sodium
|
||||
SPL
|
||||
sqlite3
|
||||
standard
|
||||
sysvmsg
|
||||
sysvsem
|
||||
sysvshm
|
||||
tidy
|
||||
tokenizer
|
||||
xdebug
|
||||
xml
|
||||
xmlreader
|
||||
xmlrpc
|
||||
xmlwriter
|
||||
xsl
|
||||
yaml
|
||||
Zend OPcache
|
||||
zip
|
||||
zlib
|
||||
zmq
|
||||
phalcon3
|
||||
|
||||
@@ -4,6 +4,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -18,6 +19,7 @@ gettext
|
||||
gmp
|
||||
hash
|
||||
iconv
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -29,6 +31,8 @@ pcntl
|
||||
pcov
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
@@ -65,4 +69,4 @@ blackfire
|
||||
|
||||
[Zend Modules]
|
||||
Zend OPcache
|
||||
|
||||
Xdebug
|
||||
|
||||
@@ -5,6 +5,7 @@ bcmath
|
||||
bz2
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -16,6 +17,7 @@ ftp
|
||||
gd
|
||||
hash
|
||||
iconv
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -30,6 +32,8 @@ openssl
|
||||
pcntl
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_sqlite
|
||||
Phar
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -20,6 +21,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
imagick
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -33,6 +35,8 @@ openssl
|
||||
pcntl
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -20,6 +21,7 @@ gettext
|
||||
hash
|
||||
iconv
|
||||
imagick
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -33,6 +35,8 @@ openssl
|
||||
pcntl
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
|
||||
@@ -7,6 +7,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -25,6 +26,7 @@ iconv
|
||||
igbinary
|
||||
imap
|
||||
interbase
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -47,6 +49,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ iconv
|
||||
igbinary
|
||||
imap
|
||||
interbase
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -42,6 +44,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ iconv
|
||||
igbinary
|
||||
imap
|
||||
interbase
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -42,6 +44,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ iconv
|
||||
igbinary
|
||||
imap
|
||||
interbase
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -41,6 +43,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ iconv
|
||||
igbinary
|
||||
imap
|
||||
interbase
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -41,6 +43,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -6,6 +6,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dba
|
||||
@@ -23,6 +24,7 @@ hash
|
||||
iconv
|
||||
igbinary
|
||||
imap
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
ldap
|
||||
@@ -41,6 +43,8 @@ pcre
|
||||
PDO
|
||||
pdo_dblib
|
||||
PDO_Firebird
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
PDO_ODBC
|
||||
pdo_pgsql
|
||||
|
||||
@@ -4,6 +4,7 @@ bz2
|
||||
calendar
|
||||
Core
|
||||
ctype
|
||||
cubrid
|
||||
curl
|
||||
date
|
||||
dom
|
||||
@@ -18,6 +19,7 @@ gettext
|
||||
gmp
|
||||
hash
|
||||
iconv
|
||||
ioncube
|
||||
intl
|
||||
json
|
||||
libxml
|
||||
@@ -29,6 +31,8 @@ pcntl
|
||||
pcov
|
||||
pcre
|
||||
PDO
|
||||
oci8
|
||||
PDO_OCI
|
||||
pdo_mysql
|
||||
pdo_pgsql
|
||||
pdo_sqlite
|
||||
@@ -65,4 +69,5 @@ blackfire
|
||||
|
||||
[Zend Modules]
|
||||
Zend OPcache
|
||||
Xdebug
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
/* Basic Options */
|
||||
// "incremental": true, /* Enable incremental compilation */
|
||||
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
||||
"target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
||||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
||||
// "allowJs": true, /* Allow javascript files to be compiled. */
|
||||
// "checkJs": true, /* Report errors in .js files. */
|
||||
|
||||
Reference in New Issue
Block a user