Skip to content

chore(tmp): 临时目录统一命名为 .tmp - #5

Merged
ProjectNyaser merged 1 commit into
masterfrom
chore/tmp-dir-unify
Sep 29, 2026
Merged

ProjectNyaser merged 1 commit into
masterfrom
chore/tmp-dir-unify

Conversation

@ProjectNyaser

Copy link
Copy Markdown
Member

背景

工作区临时目录约定从 _tmp/ 统一命名到 .tmp/,本仓库同步改名与引用,保证 .tmp/ 仍被忽略、打包与 CI 缓存路径一致。

改动

  • .gitignore:忽略 .tmp/(原 _tmp/)
  • scripts/pack.mjs:铺平目录 _tmp/pkg/ → .tmp/pkg/
  • scripts/fetch-vendor.mjs:下载缓存 / 解压临时目录改到 .tmp/
  • .github/workflows/ci.yml:vendor 缓存路径 → .tmp/vendor-dl

验证

  • node --check scripts/pack.mjs scripts/fetch-vendor.mjs 均通过
  • 改名后 git status 无 tmp 相关条目,.tmp/ 忽略生效

工作区约定从 _tmp/ 统一到 .tmp/,本仓库同步:
- .gitignore:忽略 .tmp/(原 _tmp/)
- scripts/pack.mjs:铺平目录改 .tmp/pkg/
- scripts/fetch-vendor.mjs:下载缓存与解压临时目录改 .tmp/
- .github/workflows/ci.yml:vendor 缓存路径改 .tmp/vendor-dl

Co-authored-by: HanaAgent <313794804+HanaAgent@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: fb14f050-3b84-482d-8d2b-10d0c5c3a708


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ProjectNyaser
ProjectNyaser merged commit 6fd6f6b into master Sep 29, 2026
4 checks passed
@ProjectNyaser
ProjectNyaser deleted the chore/tmp-dir-unify branch September 29, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant