build / build (push) Successful in 2m34s
- CI 只 clone NoticeFront,file:../../YschTheme/packages/vite-plugin 在容器里不存在 → npm ci 秒失败(run#13)。 - 改为仓内 plugins/vite-plugin-theme(拷构建产物,dist→lib 规避 .gitignore 的 dist 规则;剥离 devDeps 防嵌套安装)。 - package.json 消费改 file:./plugins/vite-plugin-theme,重生成 lock(已清 extraneous 孤儿)。 - 本地 npm run build 通过。待 Nexus npm 仓就绪后再迁回版本号消费(方案 B)。
54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"name": "notice",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"nodeversion": "20.19.4",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --mode dev",
|
|
"dev:mock": "vite --mode mock",
|
|
"build": "vite build --mode base",
|
|
"build:base": "vite build --mode base",
|
|
"build:ld": "vite build --mode ld",
|
|
"build:prod": "vite build --mode prod",
|
|
"preview": "vite preview",
|
|
"api:gen": "alova gen -f"
|
|
},
|
|
"dependencies": {
|
|
"@open-file-viewer/core": "^0.1.43",
|
|
"@open-file-viewer/vue": "^0.1.43",
|
|
"@types/lodash": "^4.14.196",
|
|
"@wangeditor/editor": "^5.1.23",
|
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
"alova": "^3.4.0",
|
|
"axios": "^0.24.0",
|
|
"lodash": "^4.17.21",
|
|
"mitt": "^3.0.1",
|
|
"mockjs": "^1.1.0",
|
|
"pdfjs-dist": "^4.10.38",
|
|
"pinia": "^2.1.4",
|
|
"sass": "^1.64.1",
|
|
"view-ui-plus": "^1.3.16",
|
|
"vite-plugin-mock": "2.9.6",
|
|
"vue": "^3.4.19",
|
|
"vue-router": "4",
|
|
"vuedraggable": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@alova/wormhole": "^1.5.0",
|
|
"@types/node": "^20.4.4",
|
|
"@unocss/preset-rem-to-px": "^66.6.0",
|
|
"@unocss/preset-uno": "^66.6.0",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"@yunhai/vite-plugin-theme": "file:./plugins/vite-plugin-theme",
|
|
"fast-glob": "^3.3.2",
|
|
"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"
|
|
}
|
|
}
|