Skip to content

Commit 4412136

Browse files
author
rehanvandermerwe
committed
fix: remove husky post install
1 parent ed7f2d5 commit 4412136

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.projenrc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ project.jest!.config.transform = {
5555
'\\.ts$': 'esbuild-runner/jest',
5656
};
5757

58-
project.package.setScript('postinstall', 'husky install');
58+
// project.package.setScript('postinstall', 'husky install');
5959
project.package.addEngine('node', '~18.*');
6060
project.package.addEngine('npm', '~9.*');
6161
project.npmignore!.exclude('scripts/**/*');

docs/CONTRIBUTING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ Available PR name types:
1313
- docs
1414
- ci
1515
- chore
16-
5. Run the following command **before committing** to check if your changed code passes the linter, prettier, tsc and
16+
5. Install husky to run the git hooks on committing:
17+
```
18+
husky install
19+
```
20+
21+
Alternatively run the following command **before committing** to check if your changed code passes the linter, prettier, tsc and
1722
jsii compiler:
1823
```
1924
npm run pre-commit-check

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)