chore: add and update gitignore rules for project files

add a comprehensive gitignore file to exclude unnecessary files like dependencies, runtime data, uploads, local configs and debug temporary files
This commit is contained in:
yangxiangyuan
2026-06-12 09:48:21 +08:00
parent c223c79b36
commit d3856cb52a
60 changed files with 13144 additions and 525 deletions
+9
View File
@@ -33,6 +33,15 @@ uploads/
scripts/
# ===== 本地凭证(含密码/密钥,不上传)=====
#
# ★ 规则:所有密码、密钥、Token、用户名等高危内容,
# 一律放在 ~/Toolbox_local_creds.env.local 中,
# 禁止硬编码在源码里。
# env.local 已被本规则排除,config/ 目录同理。
#
# 使用姿势:在 index.js 入口自动加载 ~/Toolbox_local_creds.env.local
# 到 process.env,各模块通过 process.env.XXX 读取。
#
*.env.local
config/
public/tools/markets/auth_config.json