Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(convention): add type dep, deprecate type refactor #61

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading