npx husky install
npm i -D @commitlint/{cli,config-conventional,config-nx-scopes,cz-commitlint} commitizen
echo "module.exports = {extends: ['@commitlint/config-conventional', '@commitlint/config-nx-scopes']}" > commitlint.config.js
npx husky add .husky/commit-msg 'npx commitlint --edit $1'