File tree Expand file tree Collapse file tree
apps/cf-worker/cloud-storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ user-invocable: true
20203 . 阅读仓库规范文件 [ docs/git-commit-message-standard.md] ( ../../../docs/git-commit-message-standard.md ) 。
21214 . 检查当前 staged 变更。
22225 . 如果没有 staged 变更,先将当前工作区改动加入暂存区。
23- 6 . 如果 staged 或当前工作区改动中包含 ` package.json ` 或 ` package-lock.json ` ,必须先执行 ` /linux-native-binding-repair ` ,确认不存在 Linux native binding、optionalDependencies 或 lockfile 跨平台漂移问题。
23+ 6 . 如果 staged 或当前工作区改动中包含 ` package.json ` 或 ` package-lock.json ` ,需要检查变更内容:
24+ - 如果 ` package-lock.json ` 有修改 ** 或者** ` package.json ` 的 ` dependencies ` 或 ` devDependencies ` 部分有修改,必须先执行 ` /linux-native-binding-repair ` ,确认不存在 Linux native binding、optionalDependencies 或 lockfile 跨平台漂移问题。
25+ - 如果只有 ` package.json ` 的其他部分(如 scripts、workspaces 等)修改,且 ` package-lock.json ` 没有修改,则不需要执行 ` /linux-native-binding-repair ` 。
24267 . 基于暂存区差异生成 commit message,格式必须是 ` <type>(<scope>): <subject> ` 。
25278 . 如果用户传入参数,将其作为 subject,仍需自动补全 type 和 scope。
26289 . 执行 git 提交。
Original file line number Diff line number Diff line change @@ -32,10 +32,16 @@ jobs:
3232 run : npm ci -ws --include-workspace-root
3333
3434 - name : Lint
35- run : npm run lint -w @arylo/caddyfile-sdk
35+ run : npm run lint
36+ env :
37+ TURBO_FILTER : ./apps/caddyfile-sdk
3638
3739 - name : Test
38- run : npm run test -w @arylo/caddyfile-sdk
40+ run : npm run test
41+ env :
42+ TURBO_FILTER : ./apps/caddyfile-sdk
3943
4044 - name : Build
41- run : npm run build -w @arylo/caddyfile-sdk
45+ run : npm run build --ignore-scripts
46+ env :
47+ TURBO_FILTER : ./apps/caddyfile-sdk
Original file line number Diff line number Diff line change 4242 TURBO_FILTER : ./apps/cf-worker/cloud-storage*
4343
4444 - name : Build
45- run : npm run build
45+ run : npm run build --ignore-scripts
4646 env :
4747 TURBO_FILTER : ./apps/cf-worker/cloud-storage*
Original file line number Diff line number Diff line change 1+ # CLAUDE.md
2+
3+ ## APIs
4+
5+ - ` / ` : 获取文件列表, 需使用pwd 获取或使用cookie
6+ - ` /:filepath ` : 获取文件, 需使用cookie 鉴权
You can’t perform that action at this time.
0 commit comments