mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-02-02 18:20:26 +08:00
ci: 优化版本流程
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
## commit-and-tag-version 配置,参考:https://github.com/conventional-changelog/conventional-changelog-config-spec/tree/master/versions/2.2.0
|
||||
{
|
||||
// commit-and-tag-version 配置,参考:https://github.com/conventional-changelog/standard-version
|
||||
module.exports={
|
||||
"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<!-- #region recent-beta -->\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
|
||||
}
|
||||
{ "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
|
||||
}
|
||||
}
|
||||
0
CHANGELOG.md
Normal file
0
CHANGELOG.md
Normal file
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "408CSFamily",
|
||||
"description": "专业代号408,计算机基础知识点合集",
|
||||
"version": "0.0.1-alpha01",
|
||||
"version": "0.0.1-alpha.0",
|
||||
"engines": {
|
||||
"node": "16.x || 18.x",
|
||||
"pnpm": ">=7.2.1"
|
||||
@@ -26,7 +26,10 @@
|
||||
"version:patch": "npm version patch",
|
||||
"lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore .",
|
||||
"lintfix": "eslint --fix --ext .js,.ts,.vue --ignore-path .gitignore .",
|
||||
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' +"
|
||||
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' + ",
|
||||
"release": "commit-and-tag-version",
|
||||
"release:test": "bumpp --preid alpha",
|
||||
"release:bump": "bumpp --preid alpha -r --execute=\"pnpm commit-and-tag-version && git add CHANGELOG.md\" --commit \"chore(release): publish v%s\" --all --tag --push"
|
||||
},
|
||||
"scripts-info": {
|
||||
"prepare": "安装依赖预执行脚本",
|
||||
@@ -44,6 +47,8 @@
|
||||
"clean": "快速删除本地依赖"
|
||||
},
|
||||
"devDependencies": {
|
||||
"commit-and-tag-version": "11.2.3",
|
||||
"bumpp": "^9.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"@vuepress/client": "2.0.0-beta.61",
|
||||
|
||||
Reference in New Issue
Block a user