Bump version to 2.15.0

Update Node.js dependencies

Replace husky with simple-git-hooks

Cleanup whitespace in README

Fix git command in format script
This commit is contained in:
Shivam Mathur 2021-09-21 08:33:02 +05:30
parent 295b5da700
commit 17ef667e04
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
3 changed files with 1035 additions and 1407 deletions

View File

@ -491,7 +491,7 @@ jobs:
include: include:
- operating-system: 'ubuntu-latest' - operating-system: 'ubuntu-latest'
php-versions: '7.2' php-versions: '7.2'
phpunit-versions: '8.5.19' phpunit-versions: '8.5.21'
steps: steps:
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
@ -618,9 +618,6 @@ jobs:
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
name: PHP ${{ matrix.php-versions }} name: PHP ${{ matrix.php-versions }}
steps: steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
@ -886,14 +883,16 @@ Examples of using `setup-php` with various PHP Frameworks and Packages.
## :sparkling_heart: Support This Project ## :sparkling_heart: Support This Project
- This project is provided as Free and Open-Source software. We need funds to maintain and do future improvements. Please sponsor setup-php using [GitHub sponsors](https://github.com/sponsors/shivammathur).
- Please [reach out](mailto:contact@setup-php.com) if you have any questions about sponsoring setup-php.
- Please star the project and share it. If you blog, please share your experience of using this action. - Please star the project and share it. If you blog, please share your experience of using this action.
- Please sponsor setup-php using [GitHub sponsors](https://github.com/sponsors/shivammathur).
- Please [reach out](mailto:contact@setup-php.com) if you have any questions about sponsoring setup-php.
[![Sponsor shivammathur](https://img.shields.io/badge/-Sponsor-fafbfc?logo=GitHub%20Sponsors)](https://github.com/sponsors/shivammathur)
### Corporate Sponsors ### Corporate Sponsors
<p align="center"> <p align="center">
<a href="https://github.com/sponsors/shivammathur"> <a href="https://setup-php.com/sponsors-corp/?">
<img src="https://setup-php.com/sponsors-corp/?" alt="Corporate sponsors of setup-php and related projects" width="100%"> <img src="https://setup-php.com/sponsors-corp/?" alt="Corporate sponsors of setup-php and related projects" width="100%">
</a> </a>
</p> </p>
@ -901,7 +900,7 @@ Examples of using `setup-php` with various PHP Frameworks and Packages.
### Individual Sponsors ### Individual Sponsors
<p align="center"> <p align="center">
<a href="https://github.com/sponsors/shivammathur"> <a href="https://setup-php.com/sponsors/?">
<img src="https://setup-php.com/sponsors/?" alt="Individual sponsors of setup-php and related projects" width="100%"> <img src="https://setup-php.com/sponsors/?" alt="Individual sponsors of setup-php and related projects" width="100%">
</a> </a>
</p> </p>

2390
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "setup-php", "name": "setup-php",
"version": "2.14.0", "version": "2.15.0",
"private": false, "private": false,
"description": "Setup PHP for use with GitHub Actions", "description": "Setup PHP for use with GitHub Actions",
"main": "lib/install.js", "main": "lib/install.js",
@ -17,7 +17,7 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"lint": "eslint **/src/*.ts --cache --fix", "lint": "eslint **/src/*.ts --cache --fix",
"format": "prettier --write **/src/*.ts && git add .", "format": "prettier --write **/src/*.ts && git add -f src/",
"format-check": "prettier --check **/src/*.ts", "format-check": "prettier --check **/src/*.ts",
"release": "ncc build -o dist && git add -f dist/", "release": "ncc build -o dist && git add -f dist/",
"test": "jest" "test": "jest"
@ -40,30 +40,27 @@
"fs": "0.0.1-security" "fs": "0.0.1-security"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^27.0.1", "@types/jest": "^27.0.2",
"@types/node": "^16.9.1", "@types/node": "^16.10.1",
"@typescript-eslint/eslint-plugin": "^4.31.0", "@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.31.0", "@typescript-eslint/parser": "^4.32.0",
"@vercel/ncc": "^0.31.0", "@vercel/ncc": "^0.31.1",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2", "eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.0", "eslint-plugin-jest": "^24.4.2",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"husky": "^4.3.8", "jest": "^27.2.2",
"jest": "^27.1.1", "jest-circus": "^27.2.2",
"jest-circus": "^27.1.1", "prettier": "^2.4.1",
"prettier": "^2.4.0", "simple-git-hooks": "^2.6.1",
"ts-jest": "^27.0.5", "ts-jest": "^27.0.5",
"typescript": "^4.4.3" "typescript": "^4.4.3"
}, },
"bugs": { "bugs": {
"url": "https://github.com/shivammathur/setup-php/issues" "url": "https://github.com/shivammathur/setup-php/issues"
}, },
"husky": { "simple-git-hooks": {
"skipCI": true,
"hooks": {
"pre-commit": "npm run format && npm run lint && npm run test && npm run build && npm run release" "pre-commit": "npm run format && npm run lint && npm run test && npm run build && npm run release"
} }
} }
}