mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-06-05 22:19:35 +08:00
⚡️ perf(dev): 优化 Wails 开发启动与 CI 构建耗时
- 新增 Wails 快速开发启动脚本,跳过非必要构建与绑定生成 - 优化前端依赖安装状态判断,减少重复 npm install - 固定 CI Wails CLI 版本并增加 node_modules 缓存 - 更新开发文档中的快速启动说明
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "GoNavi",
|
||||
"outputfilename": "GoNavi",
|
||||
"frontend:install": "npm ci --prefer-offline --no-audit --fund=false --fetch-retries=5 --fetch-retry-mintimeout=20000 --fetch-retry-maxtimeout=120000",
|
||||
"frontend:install": "node scripts/wails-frontend-install.mjs",
|
||||
"frontend:build": "npm run build",
|
||||
"frontend:dev:watcher": "npm run dev",
|
||||
"frontend:dev:serverUrl": "http://localhost:5173",
|
||||
|
||||
Reference in New Issue
Block a user