Skip to content

Commit

Permalink
chore: commit hook for version lint (#4999)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Jul 25, 2023
1 parent 3832b6a commit e8f3d8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"lerna:version": "lerna version --exact --conventional-commits --no-push --no-git-tag-version --no-commit-hooks --loglevel silent --yes",
"lint:ci": "lerna exec --since origin/main --exclude-dependents --ignore '@aws-sdk/client-*' --ignore '@aws-sdk/aws-*' 'eslint --quiet src/**/*.ts'",
"lint:release": "lerna exec --ignore '@aws-sdk/client-*' --ignore '@aws-sdk/aws-*' 'eslint --quiet src/**/*.ts'",
"lint:versions": "node scripts/runtime-dependency-version-check/runtime-dep-version-check.js",
"local-publish": "node ./scripts/verdaccio-publish/index.js",
"test:all": "yarn build:all && jest --coverage --passWithNoTests && lerna run test --scope '@aws-sdk/{fetch-http-handler,hash-blob-browser}' && yarn test:versions && yarn test:integration",
"test:ci": "lerna run test --since origin/main",
Expand Down Expand Up @@ -145,7 +146,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-commit": "lint-staged && yarn lint:versions",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
Expand Down

0 comments on commit e8f3d8f

Please sign in to comment.