feat: enforce conventional commits for every update and fix husky hook execution
This MR achieves the following
- Fixes the execution of husky hooks
- Fixes the issue with secret scanner execution during the precommit phase of a check-in
- Ensures husky hooks work with a monorepo structure
- Husky has a requirement that the .git and pakcage.json needs to be at the root of the repo.
- Using
npm preparescripts the requirement is achieved
- Enforce conventional commits on every check-in to the source base
-
@commitlint/cli,commitlint/config-conventionalare added as dev dependencies
-
- Fixes commitizen configuration to align with the monrepo structure
If the commit messages do not follow the conventional commits syntax, the following error is displayed to the user
