Skip to content

Commit

Permalink
chore(convention): add type dep, deprecate type refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Zh40Le1ZOOB authored and Cryolitia committed May 10, 2024
1 parent 297d4c0 commit 29c72f3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-flake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ jobs:
run: |
git add .
git status
git commit -m "chore: flake update $(date +'%Y-%m-%dT%H:%M:%S')" || exit 0
git commit -m "dep: flake update $(date +'%Y-%m-%dT%H:%M:%S')" || exit 0
git push
44 changes: 22 additions & 22 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
{
"preset": "conventionalcommits",
"releaseRules": [
{ "breaking": true, "release": "major" },
{ "revert": true, "release": "patch" },
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "refactor", "release": "patch" },
{ "type": "style", "release": "patch" },
{ "type": "typo", "release": "patch" },
{ "type": "grammar", "release": "patch" },
{ "type": "ambig", "release": "patch" },
{ "type": "punctua", "release": "patch" },
{ "type": "chore", "release": "patch" },
{ "type": "ci", "release": "patch" }
{ "breaking": true, "release": "major" },
{ "revert": true, "release": "patch" },
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "rfct", "release": "patch" },
{ "type": "style", "release": "patch" },
{ "type": "typo", "release": "patch" },
{ "type": "grammar", "release": "patch" },
{ "type": "ambig", "release": "patch" },
{ "type": "punctua", "release": "patch" },
{ "type": "chore", "release": "patch" },
{ "type": "ci", "release": "patch" }
]
}
],
Expand All @@ -33,16 +33,16 @@
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "refactor", "section": "Refactors", "hidden": false },
{ "type": "style", "section": "Style Improves", "hidden": false },
{ "type": "typo", "section": "Typo Fixes", "hidden": false },
{ "type": "grammar", "section": "Grammar Fixes",vv "hidden": false },
{ "type": "ambig", "section": "Ambiguity Fixes", "hidden": false },
{ "type": "punctua", "section": "Punctuation Fixes", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": false },
{ "type": "ci", "section": "CI", "hidden": true }
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "rfct", "section": "Refactors", "hidden": false },
{ "type": "style", "section": "Style Improves", "hidden": false },
{ "type": "typo", "section": "Typo Fixes", "hidden": false },
{ "type": "grammar", "section": "Grammar Fixes",vv "hidden": false },
{ "type": "ambig", "section": "Ambiguity Fixes", "hidden": false },
{ "type": "punctua", "section": "Punctuation Fixes", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": false },
{ "type": "ci", "section": "CI", "hidden": true }
]
}
}
Expand Down
8 changes: 6 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Type 字段描述提交的类型。此字段的可用值:
- 更改范围:代码
- 行为:修复实际行为与预期行为不一致的问题

- refactor(rfct)
- rfct(已弃用:refactor
- 更改范围:代码
- 行为:不改变代码行为
- 行为:重构、替换代码,不改变代码行为

- style
- 更改范围:代码或内容
Expand All @@ -66,6 +66,10 @@ Type 字段描述提交的类型。此字段的可用值:
- 更改范围:非内容
- 行为:杂务

- dep
- 更改范围:版本锁定文件
- 行为:升级/降级依赖包

- ci
- 更改范围:持续集成代码
- 行为:更改持续集成代码行为
Expand Down

0 comments on commit 29c72f3

Please sign in to comment.