Skip to content

Commit a46c03b

Browse files
committed
ci: husky and commitlint to esm
1 parent 2699680 commit a46c03b

File tree

4 files changed

+2
-18
lines changed

4 files changed

+2
-18
lines changed

.commitlintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ "extends": ["@commitlint/config-conventional"] }

commitlint.config.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build": "esbuild src/index.ts --sourcemap=external --bundle --platform=node --outdir=dist --format=cjs",
1313
"test": "tap",
1414
"coverage": "tap --coverage-report=html",
15-
"prepare": "node prepare.js || echo 'Skipping prepare'"
15+
"prepare": "$CI || husky"
1616
},
1717
"keywords": [
1818
"mongodb",

prepare.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)