Skip to content

Commit

Permalink
Merge pull request #227 from simonwong/hotfix/upgrade_pacakges_20210430
Browse files Browse the repository at this point in the history
chore(package,husy): upgrade packages, config husky
  • Loading branch information
simonwong committed Apr 30, 2021
2 parents 39e75e7 + 5cf934a commit 6703882
Show file tree
Hide file tree
Showing 4 changed files with 1,125 additions and 554 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged && npx jest -u
34 changes: 15 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,40 +34,36 @@
"lint:fix": "eslint --fix --ext .js,.ts --format=pretty ./src",
"changelog": "gulp changelog",
"version": "yarn changelog && git add CHANGELOG.md",
"release": "yarn test && yarn build && np --no-cleanup --yolo --any-branch"
"release": "yarn test && yarn build && np --no-cleanup --yolo --any-branch",
"prepare": "husky install"
},
"devDependencies": {
"@babel/preset-env": "^7.12.16",
"@microsoft/api-extractor": "^7.13.1",
"@types/fs-extra": "^9.0.7",
"@babel/preset-env": "^7.14.0",
"@microsoft/api-extractor": "^7.15.0",
"@types/fs-extra": "^9.0.11",
"@types/gulp": "^4.0.8",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.26",
"@yueqing/lint": "^1.1.3",
"chalk": "^4.1.0",
"@types/jest": "^26.0.23",
"@types/node": "^15.0.1",
"@yueqing/lint": "^1.3.1",
"chalk": "^4.1.1",
"conventional-changelog-cli": "^2.1.1",
"fs-extra": "^9.0.1",
"gulp": "^4.0.2",
"husky": "^5.0.9",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"np": "^7.3.0",
"rollup": "^2.38.5",
"np": "^7.5.0",
"rollup": "^2.46.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.29.0",
"ts-jest": "^26.5.1",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.5.5",
"ts-node": "^9.1.1",
"typescript": "^4.1.5"
"typescript": "^4.2.4"
},
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "lint-staged & jest -u"
}
},
"lint-staged": {
"*.{.ts,.js}": [
"eslint --fix --format=pretty"
Expand Down
Loading

0 comments on commit 6703882

Please sign in to comment.