Skip to content

Commit

Permalink
fix: publish workflow (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun authored Mar 10, 2022
1 parent 0d3680a commit 1d13dab
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
const { rules } = require('@commitlint/config-conventional');

/** @type {import('@commitlint/types').UserConfig} **/
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [2, 'always', [...rules['type-enum'][2], 'release']],
},
};
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"version": "0.0.1",
"npmClient": "pnpm",
"useWorkspaces": true
"useWorkspaces": true,
"changelogPreset": "conventionalcommits"
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/types": "^13.1.0",
"conventional-changelog-conventionalcommits": "^4.6.3",
"husky": "^7.0.1",
"lerna": "^4.0.0",
"typescript": "^4.5.5"
Expand Down
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d13dab

Please sign in to comment.