@zjex/git-workflow 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/dist/index.js +580 -178
- package/docs/.vitepress/config.ts +2 -0
- package/docs/commands/amend-date.md +425 -0
- package/docs/commands/amend.md +380 -0
- package/docs/commands/index.md +14 -10
- package/package.json +1 -1
- package/src/commands/amend-date.ts +228 -0
- package/src/commands/amend.ts +189 -0
- package/src/commands/branch.ts +47 -38
- package/src/commands/stash.ts +40 -33
- package/src/commands/tag.ts +113 -73
- package/src/commands/update.ts +77 -44
- package/src/index.ts +39 -4
- package/src/utils.ts +59 -1
- package/tests/amend-date.test.ts +364 -0
- package/tests/amend.test.ts +441 -0
- package/tests/stash.test.ts +70 -75
- package/tests/update.test.ts +125 -112
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.4.3](https://github.com/iamzjt-front-end/git-workflow/compare/v0.4.2...v0.4.3) (2026-01-19)
|
|
4
|
+
|
|
5
|
+
### ✨ Features
|
|
6
|
+
|
|
7
|
+
- 添加修改提交信息和时间的命令及文档 ([a7fb0a0](https://github.com/iamzjt-front-end/git-workflow/commit/a7fb0a0))
|
|
8
|
+
|
|
9
|
+
### 📖 Documentation
|
|
10
|
+
|
|
11
|
+
- 📝 docs: 自动更新测试数量徽章 [skip ci] ([00d758c](https://github.com/iamzjt-front-end/git-workflow/commit/00d758c))
|
|
12
|
+
|
|
13
|
+
### 🔧 Chore
|
|
14
|
+
|
|
15
|
+
- 🔖 chore(release): 发布 v0.4.3 ([35e4985](https://github.com/iamzjt-front-end/git-workflow/commit/35e4985))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [v0.4.2](https://github.com/iamzjt-front-end/git-workflow/compare/v0.4.1...v0.4.2) (2026-01-19)
|
|
19
|
+
|
|
20
|
+
### 📖 Documentation
|
|
21
|
+
|
|
22
|
+
- 移除冗余的快速链接部分 ([330b323](https://github.com/iamzjt-front-end/git-workflow/commit/330b323))
|
|
23
|
+
|
|
24
|
+
### 🔧 Chore
|
|
25
|
+
|
|
26
|
+
- 🔖 chore(release): 发布 v0.4.2 ([5d59590](https://github.com/iamzjt-front-end/git-workflow/commit/5d59590))
|
|
27
|
+
|
|
28
|
+
|
|
3
29
|
## [v0.4.1](https://github.com/iamzjt-front-end/git-workflow/compare/v0.4.0...v0.4.1) (2026-01-16)
|
|
4
30
|
|
|
5
31
|
### ✨ Features
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<a href="https://github.com/iamzjt-front-end/git-workflow"><img src="https://img.shields.io/github/stars/iamzjt-front-end/git-workflow?style=flat&colorA=18181B&colorB=F59E0B" alt="github stars"></a>
|
|
13
13
|
<a href="https://github.com/iamzjt-front-end/git-workflow/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@zjex/git-workflow?style=flat&colorA=18181B&colorB=10B981" alt="license"></a>
|
|
14
14
|
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D18-339933?style=flat&logo=node.js&logoColor=white&colorA=18181B" alt="node version"></a>
|
|
15
|
-
<a href="https://github.com/iamzjt-front-end/git-workflow/actions"><img src="https://img.shields.io/badge/tests-
|
|
15
|
+
<a href="https://github.com/iamzjt-front-end/git-workflow/actions"><img src="https://img.shields.io/badge/tests-431%20passed-success?style=flat&colorA=18181B" alt="tests"></a>
|
|
16
16
|
<a href="https://github.com/iamzjt-front-end/git-workflow/issues"><img src="https://img.shields.io/github/issues/iamzjt-front-end/git-workflow?style=flat&colorA=18181B&colorB=EC4899" alt="issues"></a>
|
|
17
17
|
</p>
|
|
18
18
|
|