From dee351c5a5a9980a097c075e37f4693d4ecc4394 Mon Sep 17 00:00:00 2001 From: "142vip.cn" Date: Wed, 25 Sep 2024 15:51:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4`release`=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E5=8F=91=E5=B8=83=E6=B5=81=E7=A8=8B=E6=97=B6=E7=9A=84?= =?UTF-8?q?`commitlint`=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .versionrc.js | 28 ---------------------------- commitlint.config.js | 7 ------- 2 files changed, 35 deletions(-) delete mode 100644 .versionrc.js delete mode 100644 commitlint.config.js diff --git a/.versionrc.js b/.versionrc.js deleted file mode 100644 index d3c37cc..0000000 --- a/.versionrc.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * commit-and-tag-version 模块配置提交、标签功能 - * - 使用:https://github.com/conventional-changelog/standard-version - * - 配置:https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.2.0/README.md - */ -module.exports = { - header: '# Release history\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, - }, -} diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index 11453de..0000000 --- a/commitlint.config.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * 校验Git Commit信息格式 - * 参考:https://commitlint.js.org - */ -module.exports = { - extends: ['@commitlint/config-conventional'], -}