diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100644 index 000000000..2785bc1d2 --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1 @@ +yarn commitlint --edit $1 diff --git a/package.json b/package.json index 19c756fbf..c66df8a00 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "upgrade": "yarn upgrade-interactive", "version:bump:patch": "yarn workspaces foreach -pv --exclude @enkryptcom/extension exec 'yarn version --immediate patch'", "publish": "yarn workspaces foreach -pv --exclude @enkryptcom/extension exec 'yarn npm publish --access public --otp 474911'", - "version:apply": "yarn version apply --all" + "version:apply": "yarn version apply --all", + "prepare": "husky" }, "devDependencies": { "@commitlint/cli": "^19.0.3",