Skip to content

Commit

Permalink
feat: add commitlint config and release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dbouwman committed Feb 16, 2022
1 parent a2be371 commit 1bb1a8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion commitlint.config.js → commitlint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const Configuration = {
* Any rules defined here will override rules from @commitlint/config-conventional
*/
rules: {
'type-enum': [2, 'always', ['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test']],
'type-enum': [2, 'always',
['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test']],
},
/*
* Functions that return true if commitlint should ignore the given message.
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
"test:node:live:debug": "node --inspect --inspect-brk --loader ts-node/esm node_modules/.bin/jasmine --config=jasmine.live.json",
"prettify": "prettier --write --parser typescript --tab-width 2 --use-tabs false \"packages/**/+(src|test)/**/*.ts\"",
"typedoc": "typedoc --options ./typedoc.json",
"prettify:packages-jsons": "prettier-package-json --write ./**/*/package.json"
"prettify:packages-jsons": "prettier-package-json --write ./**/*/package.json",
"release:dry": "multi-semantic-release --dry-run --debug --deps.release=inherit --ignore-private-packages",
"release": "multi-semantic-release --deps.release=inherid --ignore-private-packages"
},
"engines": {
"npm": ">=7.0.0",
Expand Down

0 comments on commit 1bb1a8f

Please sign in to comment.