diff --git a/.husky/commit-msg b/.husky/commit-msg index 37e4b52..ad547a5 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -3,4 +3,4 @@ # shellcheck source=./_/husky.sh . "$(dirname -- "$0")/_/husky.sh" -npx --no-install -- commitlint --edit "${1}" +npx commitlint --edit "$1" diff --git a/package.json b/package.json index abb677f..0f13bf5 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,9 @@ "prepare": "husky install" }, "devDependencies": { + "@commitlint/cli": "^17.6.3", "@commitlint/config-angular": "^17.6.3", "@commitlint/format": "^17.4.4", - "commitlint": "^17.6.3", "conventional-changelog-angular": "^5.0.13", "husky": "^8.0.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7214225..be8db31 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,15 +4,15 @@ importers: .: devDependencies: + '@commitlint/cli': + specifier: ^17.6.3 + version: 17.6.3 '@commitlint/config-angular': specifier: ^17.6.3 version: 17.6.3 '@commitlint/format': specifier: ^17.4.4 version: 17.4.4 - commitlint: - specifier: ^17.6.3 - version: 17.6.3 conventional-changelog-angular: specifier: ^5.0.13 version: 5.0.13 @@ -401,18 +401,6 @@ packages: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} dev: true - /commitlint@17.6.3: - resolution: {integrity: sha512-0S6j3gKZyLmY4F/YchW7lqXiBeplFBKJqXcrOdxhzJdsZdqiPZxqsN7zq++Ovc4iMLnX65W4bJB7YKalYfXesw==} - engines: {node: '>=v14'} - hasBin: true - dependencies: - '@commitlint/cli': 17.6.3 - '@commitlint/types': 17.4.4 - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - dev: true - /compare-func@2.0.0: resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==} dependencies: