新增功能: - 添加 npm run clean 命令用于清理构建产物 - 添加 npm run build:prod 命令用于生产环境构建 - 添加 npm run start:prod 命令用于生产环境启动 - 更新 .gitignore 忽略更多文件(logs、测试覆盖率等) 新增文档: - 创建 DEPLOYMENT.md 部署文档,包含完整的部署指南 - PM2 进程管理配置 - Docker 容器化部署 - 环境变量配置 - 日志管理和数据备份 - 常见问题排查 文档更新: - 在 README.md 中添加"构建生产包"章节 - 列出所有可用的 NPM 脚本命令 - 说明构建流程和部署方式 - 添加详细的部署文档引用 这些改进使项目更容易部署到生产环境。 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
31 lines
960 B
JSON
31 lines
960 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__plugin_playwright_playwright__browser_navigate",
|
|
"mcp__plugin_playwright_playwright__browser_close",
|
|
"Bash(npm install:*)",
|
|
"Bash(npm run typecheck)",
|
|
"Bash(npm run build:*)",
|
|
"Bash(npx playwright install:*)",
|
|
"Bash(npm run dev)",
|
|
"mcp__plugin_playwright_playwright__browser_evaluate",
|
|
"mcp__plugin_playwright_playwright__browser_run_code",
|
|
"Bash(npx tsx:*)",
|
|
"Bash(test:*)",
|
|
"Bash(tsx test:*)",
|
|
"mcp__plugin_serena_serena__list_dir",
|
|
"Bash(dir /B D:projectrongtongjin)",
|
|
"Bash(openspec list:*)",
|
|
"Bash(npx openspec:*)",
|
|
"Bash(openspec:*)",
|
|
"Bash(node dist/index.js:*)",
|
|
"Bash(timeout:*)",
|
|
"Bash(npx dotenv-cli -e .env -- npx tsx test-llm-trend.ts:*)",
|
|
"Bash(npx dotenv-cli:*)",
|
|
"mcp__plugin_serena_serena__read_file",
|
|
"Bash(npm run clean:*)",
|
|
"Bash(git add:*)"
|
|
]
|
|
}
|
|
}
|