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
3 changed files with 1035 additions and 1407 deletions

View File

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