Skip to content

Commit

Permalink
chore: update commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
caijf committed Mar 20, 2024
1 parent d83d355 commit a759c65
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ types

# misc
.DS_Store
.vscode

npm-debug.log*
yarn-debug.log*
Expand Down
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit "$1"
npx --no -- commitlint --edit "$1"
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
npx --no-install lint-staged
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"types": "types/index.d.ts",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
"path": "@commitlint/cz-commitlint"
}
},
"lint-staged": {
Expand Down Expand Up @@ -59,25 +59,27 @@
},
"homepage": "https://github.com/caijf/cache2#readme",
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@commitlint/cz-commitlint": "^19.2.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/jest": "^29.5.10",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.54.0",
"husky": "^8.0.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"commitizen": "^4.3.0",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"inquirer": "9",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"rollup": "^3.29.4",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2"
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rollup": "^4.13.0",
"ts-jest": "^29.1.2",
"typescript": "^5.4.2"
},
"dependencies": {
"emitter-pro": "^1.0.3",
Expand Down

0 comments on commit a759c65

Please sign in to comment.