@jetthai/cuora 1.1.451-dev.2 → 1.1.451
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/.claude/commands/auto-git-flow.md +12 -5
- package/.claude/commands/commit-push.md +4 -15
- package/.claude/commands/sync-ai-prompts.md +1 -88
- package/.claude/settings.local.json +1 -3
- package/.github/copilot-instructions.md +395 -553
- package/.husky/post-checkout +3 -3
- package/.husky/pre-push +1 -1
- package/.prettierignore +1 -2
- package/AGENTS.md +395 -553
- package/AI_PROMPT_SOURCE.md +126 -664
- package/CHANGELOG.md +29 -272
- package/CLAUDE.md +395 -553
- package/GEMINI.md +395 -553
- package/README.md +137 -40
- package/package.json +1 -1
- package/prepare-for-pr/JT-1776243420.md +85 -0
- package/scripts/auto-version.js +0 -1
- package/src/api/user.js +0 -12
- package/src/machine/auth_otp_v3.js +4 -11
- package/src/machine/deposit/crypto_bank_cash.js +4 -8
- package/src/machine/deposit/crypto_way_cash.js +2 -6
- package/src/machine/deposit/direct_cash.js +0 -8
- package/src/machine/deposit/loadcard_cash.js +5 -9
- package/src/machine/deposit/manual_cash.js +1 -11
- package/src/machine/deposit/qrcode_cash.js +4 -7
- package/src/machine/deposit/virtual_bank_cash.js +1 -7
- package/src/machine/user_sign_up.js +4 -25
- package/src/request/request.js +1 -3
package/.husky/post-checkout
CHANGED
|
@@ -19,14 +19,14 @@ if [ "$match" = "1" ]; then
|
|
|
19
19
|
# 檢查本地是否有尚未推送的 commit,有的話跳過自動拉取(避免覆蓋本地變更)
|
|
20
20
|
LOCAL_AHEAD=$(git rev-list --count origin/"$CURRENT_BRANCH"..HEAD 2>/dev/null || echo 0)
|
|
21
21
|
if [ "$LOCAL_AHEAD" -gt 0 ]; then
|
|
22
|
-
echo "
|
|
22
|
+
echo "分支 '$CURRENT_BRANCH' 有 $LOCAL_AHEAD 個尚未推送的 commit,略過自動拉取。"
|
|
23
23
|
exit 0
|
|
24
24
|
fi
|
|
25
25
|
|
|
26
26
|
# 自動從遠端拉取最新程式碼(使用 rebase 保持線性歷史)
|
|
27
|
-
echo "
|
|
27
|
+
echo "正在從遠端自動拉取 '$CURRENT_BRANCH'..."
|
|
28
28
|
git pull --rebase origin "$CURRENT_BRANCH" || {
|
|
29
|
-
echo "
|
|
29
|
+
echo "拉取 '$CURRENT_BRANCH' 失敗,請手動處理。"
|
|
30
30
|
exit 1
|
|
31
31
|
}
|
|
32
32
|
fi
|
package/.husky/pre-push
CHANGED
|
@@ -21,7 +21,7 @@ BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
|
21
21
|
|
|
22
22
|
# 在 dev/qa 分支的 force push 跳過所有 pre-push hook(避免干擾強制推送)
|
|
23
23
|
if [ "$IS_FORCE" = true ] && { [ "$BRANCH" = "dev" ] || [ "$BRANCH" = "qa" ]; }; then
|
|
24
|
-
echo "
|
|
24
|
+
echo "偵測到在 $BRANCH 分支上強制推送,略過 pre-push hooks。"
|
|
25
25
|
exit 0
|
|
26
26
|
fi
|
|
27
27
|
|
package/.prettierignore
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
dist/
|
|
2
|
-
CHANGELOG.md
|
|
1
|
+
dist/
|