Skip to content

Commit 1bb1a8f

Browse files
committed
feat: add commitlint config and release scripts
1 parent a2be371 commit 1bb1a8f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

commitlint.config.js commitlint.config.cjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ const Configuration = {
2020
* Any rules defined here will override rules from @commitlint/config-conventional
2121
*/
2222
rules: {
23-
'type-enum': [2, 'always', ['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test']],
23+
'type-enum': [2, 'always',
24+
['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test']],
2425
},
2526
/*
2627
* Functions that return true if commitlint should ignore the given message.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
"test:node:live:debug": "node --inspect --inspect-brk --loader ts-node/esm node_modules/.bin/jasmine --config=jasmine.live.json",
4848
"prettify": "prettier --write --parser typescript --tab-width 2 --use-tabs false \"packages/**/+(src|test)/**/*.ts\"",
4949
"typedoc": "typedoc --options ./typedoc.json",
50-
"prettify:packages-jsons": "prettier-package-json --write ./**/*/package.json"
50+
"prettify:packages-jsons": "prettier-package-json --write ./**/*/package.json",
51+
"release:dry": "multi-semantic-release --dry-run --debug --deps.release=inherit --ignore-private-packages",
52+
"release": "multi-semantic-release --deps.release=inherid --ignore-private-packages"
5153
},
5254
"engines": {
5355
"npm": ">=7.0.0",

0 commit comments

Comments
 (0)