@jetthai/cuora 1.1.427-hotfix.1 → 1.1.427-qa.1
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.
|
@@ -4,43 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
## Step 1 —
|
|
8
|
-
|
|
9
|
-
檢查當前分支的遠端是否有更新:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
git fetch origin
|
|
13
|
-
git status
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
如果本地已經是最新(沒有 behind commits),直接進入 Step 2。
|
|
17
|
-
|
|
18
|
-
如果遠端有更新(本地 behind),執行 pull:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
git pull
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
如果 pull 發生衝突:
|
|
25
|
-
|
|
26
|
-
1. 取消 merge:
|
|
27
|
-
```bash
|
|
28
|
-
git merge --abort
|
|
29
|
-
```
|
|
30
|
-
2. 告知使用者:「遠端有更新且與本地變更衝突,請先還原當前所有檔案的異動,還原完成後請回覆。」
|
|
31
|
-
3. 等待使用者回覆。
|
|
32
|
-
4. 使用者回覆後,重新執行 pull:
|
|
33
|
-
```bash
|
|
34
|
-
git pull
|
|
35
|
-
```
|
|
36
|
-
5. Pull 成功後,告知使用者:「遠端同步完成,請將剛才還原的異動重新加回,完成後請回覆。」
|
|
37
|
-
6. 等待使用者回覆確認已全部加回,再繼續後續流程。
|
|
38
|
-
|
|
39
|
-
出現錯誤則停止,詢問使用者要怎麼做。
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## Step 2 — 檢查工作區狀態
|
|
7
|
+
## Step 1 — 檢查工作區狀態
|
|
44
8
|
|
|
45
9
|
```bash
|
|
46
10
|
git status
|
|
@@ -54,7 +18,7 @@ git status
|
|
|
54
18
|
|
|
55
19
|
---
|
|
56
20
|
|
|
57
|
-
## Step
|
|
21
|
+
## Step 2 — Stage 變更
|
|
58
22
|
|
|
59
23
|
將所有變更加入 staging area:
|
|
60
24
|
|
|
@@ -66,7 +30,7 @@ git add -A
|
|
|
66
30
|
|
|
67
31
|
---
|
|
68
32
|
|
|
69
|
-
## Step
|
|
33
|
+
## Step 3 — 選擇 Commit Message 方式
|
|
70
34
|
|
|
71
35
|
使用 `AskUserQuestion` 工具顯示選單,讓使用者從以下選項中選擇:
|
|
72
36
|
|
|
@@ -80,7 +44,7 @@ git add -A
|
|
|
80
44
|
|
|
81
45
|
---
|
|
82
46
|
|
|
83
|
-
## Step
|
|
47
|
+
## Step 4 — 生成 Commit Message
|
|
84
48
|
|
|
85
49
|
根據使用者在 Step 3 的選擇執行:
|
|
86
50
|
|
|
@@ -91,27 +55,7 @@ git add -A
|
|
|
91
55
|
- 格式:`type(scope): description`
|
|
92
56
|
- type:feat / fix / refactor / style / docs / chore / perf / test
|
|
93
57
|
- scope:根據變更的主要目錄或功能模組決定(可省略)
|
|
94
|
-
- description
|
|
95
|
-
|
|
96
|
-
當變更涉及多個不同類型或模組時,自行分類並以條列式呈現:
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
type(scope): 主要描述
|
|
100
|
-
|
|
101
|
-
- type(scope): 細項描述 1
|
|
102
|
-
- type(scope): 細項描述 2
|
|
103
|
-
- type(scope): 細項描述 3
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
例如:
|
|
107
|
-
|
|
108
|
-
```
|
|
109
|
-
feat(payment): 新增加密貨幣存款功能
|
|
110
|
-
|
|
111
|
-
- feat(deposit): 新增 USDT 存款方式
|
|
112
|
-
- fix(withdraw): 修正提款金額驗證邏輯
|
|
113
|
-
- style(modal): 調整存款彈窗樣式
|
|
114
|
-
```
|
|
58
|
+
- description:簡潔描述變更內容(英文)
|
|
115
59
|
|
|
116
60
|
如果是選項 2,將生成的 message 顯示給使用者,等待使用者確認或提供修改後的版本。
|
|
117
61
|
|
|
@@ -127,7 +71,7 @@ feat(payment): 新增加密貨幣存款功能
|
|
|
127
71
|
|
|
128
72
|
---
|
|
129
73
|
|
|
130
|
-
## Step
|
|
74
|
+
## Step 5 — 執行 Commit
|
|
131
75
|
|
|
132
76
|
使用確定的 commit message 執行 commit:
|
|
133
77
|
|
|
@@ -145,20 +89,20 @@ git commit -m "<title>" -m "<body>"
|
|
|
145
89
|
|
|
146
90
|
---
|
|
147
91
|
|
|
148
|
-
## Step
|
|
92
|
+
## Step 6 — 確認是否 Push
|
|
149
93
|
|
|
150
94
|
使用 `AskUserQuestion` 工具顯示選單,讓使用者從以下選項中選擇:
|
|
151
95
|
|
|
152
96
|
- **Push** — 立即 push 到遠端
|
|
153
|
-
- **
|
|
97
|
+
- **不 Push** — 只 commit,不 push
|
|
154
98
|
|
|
155
99
|
等待使用者選擇。
|
|
156
100
|
|
|
157
|
-
|
|
101
|
+
如果使用者選擇「不 Push」,跳過 push 直接進入 Step 8 完成回報。
|
|
158
102
|
|
|
159
|
-
|
|
103
|
+
---
|
|
160
104
|
|
|
161
|
-
|
|
105
|
+
## Step 7 — 執行 Push
|
|
162
106
|
|
|
163
107
|
將 commit push 到遠端:
|
|
164
108
|
|
|
@@ -176,10 +120,10 @@ git push --set-upstream origin <current_branch>
|
|
|
176
120
|
|
|
177
121
|
---
|
|
178
122
|
|
|
179
|
-
## Step
|
|
123
|
+
## Step 8 — 完成回報
|
|
180
124
|
|
|
181
125
|
顯示以下資訊:
|
|
182
126
|
|
|
183
127
|
- 分支名稱
|
|
184
128
|
- Commit message 內容
|
|
185
|
-
- Push
|
|
129
|
+
- Push 結果(成功/失敗)
|
package/CHANGELOG.md
CHANGED
|
@@ -2,21 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [1.1.427-
|
|
5
|
+
### [1.1.427-qa.1](https://github.com/jetthai/cuora-module/compare/v1.1.426...v1.1.427-qa.1) (2026-04-12)
|
|
6
6
|
|
|
7
|
-
###
|
|
8
|
-
|
|
9
|
-
- **withdraw:** 修正法幣提款計算錯誤時的狀態轉移 ([3a7eb16](https://github.com/jetthai/cuora-module/commit/3a7eb1644e4992ba70c7f7f2ae1452447a953d76))
|
|
10
|
-
|
|
11
|
-
### [1.1.427-hotfix](https://github.com/jetthai/cuora-module/compare/v1.1.427...v1.1.427-hotfix) (2026-04-14)
|
|
12
|
-
|
|
13
|
-
### Features
|
|
14
|
-
|
|
15
|
-
- **husky:** skip pre-push hooks on force push to dev/qa ([79e9df9](https://github.com/jetthai/cuora-module/commit/79e9df9bfd9335dca7d5aec590fa25d7580586ac))
|
|
16
|
-
|
|
17
|
-
### Bug Fixes
|
|
18
|
-
|
|
19
|
-
- **withdraw:** 修正加密貨幣提款計算錯誤時的狀態轉移 ([3acbe09](https://github.com/jetthai/cuora-module/commit/3acbe0985bf5d4a85ccd02390c5f99092829c820))
|
|
7
|
+
### [1.1.427-qa.0](https://github.com/jetthai/cuora-module/compare/v1.1.427...v1.1.427-qa.0) (2026-04-12)
|
|
20
8
|
|
|
21
9
|
### [1.1.427](https://github.com/jetthai/cuora-module/compare/v1.1.426...v1.1.427) (2026-04-07)
|
|
22
10
|
|
package/package.json
CHANGED