Skip to content

Commit

Permalink
chore: add husky
Browse files Browse the repository at this point in the history
  • Loading branch information
RozmarinUS committed Jul 10, 2024
1 parent a985850 commit d33b3ba
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .github/husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .github/husky/pre-commit

This file was deleted.

1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no-install commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"publish:next": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --npm-tag=next --access public --skip-git -m \"chore(@nestgram) publish %s release\"",
"publish:rc": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --npm-tag=rc --access public -m \"chore(@nestgram) publish %s release\"",
"publish:test": "npm run prerelease && npm run build && ./node_modules/.bin/lerna publish --force-publish --access public --npm-tag=test --skip-git -m \"chore(@nestgram) publish %s release\"",
"prepare": "husky ./.github/husky",
"prepare": "husky",
"format": "prettier --write \"packages/**/*.ts\"",
"upgrade": "npx npm-check-updates -u"
},
Expand Down

0 comments on commit d33b3ba

Please sign in to comment.