Files
xbcr/.gitignore
T
zzy 8ece55983a feat(前端): TypeScript 重写版(esbuild IIFE 产物,暂不接管线上)
- 新增 src-ts/(22 个 .ts / 7792 行):按 core / map / card / order / nav / share /
  subscribe / ui / compat 分层,types 里有 BMapGL 与 API 响应声明
- compat/globals.ts 是唯一挂 window 的地方(292 个),覆盖模板 139 处内联事件
- esbuild 产出 static/dist/app.js(226.6 KiB,IIFE,es2019)+ README(构建/切换/回滚)
- 构建可复现:node esbuild.config.mjs、node --check、npx tsc --noEmit 均通过
- .gitignore 增加 node_modules/ 与 static/dist/*.map(sourcemap 可重生成,不入库)
- 暂不改 templates/map.html 与 MAP_ASSETS:等独立核对通过再切换,回滚=换回四个 script
2026-11-16 10:44:11 +08:00

36 lines
488 B
Plaintext

__pycache__/
*.pyc
users.db
bikes.db
map_cache.db
backups/
downloads/
secret_key.txt
admin_config.txt
smtp_config.txt
server_config.json
.reasonix/
*.zip
*.log
temp/
.pytest_cache/
*.db-wal
*.db-shm
downloads/*.exe
token_config.txt.old-bak
scripts/.pack_baseline.json
update.zip
# ===== 敏感文件:证书 / 私钥 / 凭据一律不进库 =====
*.pem
*.key
*.crt
*.ca-bundle
token_config.txt
*.db
artifacts/
walk_cache.db
# 前端构建(TS 重写)
node_modules/
static/dist/*.map