release: FL 2.0 前端候选(流程线停发/发起页指派预览/测试夹具)
build / build (push) Successful in 1m33s

配套 service 候选 500a9a2:
- flow.ts 增加 admin/def/offlineLine、enableLine(T03 线级停发/恢复)
- Defs.vue 接线级停发开关与状态展示;lineOffline.ts 收敛判定与文案
- AssignPreview.vue + assignEmbed.ts 发起时指派预览(T02 契约)
- def-editor 表单坐标绑定微调
- 新增 vitest 组件测试与 line-offline 契约测试(npm test 可跑)
This commit is contained in:
chenxing
2026-10-27 12:07:40 +08:00
parent cdea9c559b
commit f2841e2740
13 changed files with 2517 additions and 171 deletions
+9 -2
View File
@@ -12,7 +12,11 @@
"build:ld": "vite build --mode ld",
"build:prod": "vite build --mode prod",
"preview": "vite preview",
"api:gen": "alova gen -f"
"api:gen": "alova gen -f",
"typecheck": "vue-tsc --noEmit",
"test:line-offline": "esbuild tests/line-offline.test.ts --bundle --platform=node --format=esm --target=node20 --external:node:* --outfile=node_modules/.cache/line-offline.test.mjs && node node_modules/.cache/line-offline.test.mjs",
"test:component": "vitest run",
"test": "npm run test:line-offline && npm run test:component"
},
"dependencies": {
"@open-file-viewer/core": "^0.1.43",
@@ -40,13 +44,16 @@
"@unocss/preset-rem-to-px": "^66.6.0",
"@unocss/preset-uno": "^66.6.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/test-utils": "2.4.6",
"fast-glob": "^3.3.2",
"jsdom": "25.0.1",
"typescript": "^5.2.2",
"unocss": "^66.6.0",
"unplugin-auto-import": "0.18.3",
"vite": "^5.1.4",
"vite-plugin-html": "^3.2.2",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^1.8.27"
"vitest": "2.1.9",
"vue-tsc": "3.3.13"
}
}