diff --git a/.versionrc.js b/.versionrc.js new file mode 100644 index 0000000..8944766 --- /dev/null +++ b/.versionrc.js @@ -0,0 +1,24 @@ +## commit-and-tag-version 配置,参考:https://github.com/conventional-changelog/conventional-changelog-config-spec/tree/master/versions/2.2.0 +{ + "header": "# Change Log\n\nAll notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.\n\n\n", + "releaseCommitMessageFormat": "chore(release): publish v{{currentTag}}", + "types": [ + { "type": "feat", "section": "Features" }, + { "type": "feature", "section": "Features" }, + { "type": "fix", "section": "Bug Fixes" }, + { "type": "perf", "section": "Performance Improvements" }, + { "type": "revert", "section": "Reverts" }, + { "type": "docs", "section": "Documentation", "hidden": true }, + { "type": "style", "section": "Styles", "hidden": true }, + { "type": "chore", "section": "Miscellaneous Chores", "hidden": true }, + { "type": "refactor", "section": "Code Refactoring", "hidden": true }, + { "type": "test", "section": "Tests", "hidden": true }, + { "type": "build", "section": "Build System", "hidden": true }, + { "type": "ci", "section": "Continuous Integration", "hidden": true } +], + "skip": { + "bump": true, + "commit": true, + "tag": true +} +} \ No newline at end of file