chore(deps): 统一使用 npm 并移除 Bun 锁文件

- 纳入 package-lock.json,移除对应 Git 忽略规则
- 删除 bun.lock,移除 ESLint 和国际化脚本的 bunx 依赖
- 声明 Node/npm 版本要求并更新开发文档
- 补充干净安装、128 项测试、生产构建及页面冒烟验收记录
- 记录既有静态检查、翻译及安全审计限制
This commit is contained in:
zhanjunhao
2026-10-21 12:05:46 +08:00
parent e2b96dc503
commit 6111bf1a7a
7 changed files with 17972 additions and 2941 deletions
+12 -7
View File
@@ -55,13 +55,13 @@
"test": "node --test",
"lint": "prettier . --check",
"lint:fix": "prettier . --write",
"eslint": "bunx eslint \"**/*.{js,jsx}\" --cache",
"eslint:fix": "bunx eslint \"**/*.{js,jsx}\" --fix --cache",
"eslint": "eslint \"**/*.{js,jsx}\" --cache",
"eslint:fix": "eslint \"**/*.{js,jsx}\" --fix --cache",
"preview": "vite preview",
"i18n:extract": "bunx i18next-cli extract",
"i18n:status": "bunx i18next-cli status",
"i18n:sync": "bunx i18next-cli sync",
"i18n:lint": "bunx i18next-cli lint"
"i18n:extract": "i18next-cli extract",
"i18n:status": "i18next-cli status",
"i18n:sync": "i18next-cli sync",
"i18n:lint": "i18next-cli lint"
},
"browserslist": {
"production": [
@@ -95,5 +95,10 @@
"singleQuote": true,
"jsxSingleQuote": true
},
"proxy": "http://localhost:3000"
"proxy": "http://localhost:3000",
"engines": {
"node": ">=22.13.0",
"npm": ">=10"
},
"packageManager": "npm@10.9.9"
}