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)。
35 lines
1.0 KiB
JSON
35 lines
1.0 KiB
JSON
{
|
|
"name": "@yunhai/vite-plugin-theme",
|
|
"version": "0.1.0",
|
|
"description": "云海管理端远程主题接入插件:注入 yh-theme-init / 首帧兜底样式 / virtual:yh-theme-loader / dev /static proxy",
|
|
"_vendored": "临时 vendored 自 YschTheme/packages/vite-plugin 的构建产物(lib/,原 dist 改名以规避本仓 .gitignore 的 dist 规则)。已剥离 devDependencies/scripts(消费端无需重建)。Nexus 建好 npm 仓后改回按版本号消费并删除本目录。",
|
|
"type": "module",
|
|
"main": "./lib/index.cjs",
|
|
"module": "./lib/index.js",
|
|
"types": "./lib/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./lib/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./lib/index.d.cts",
|
|
"default": "./lib/index.cjs"
|
|
}
|
|
}
|
|
},
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"keywords": [
|
|
"vite-plugin",
|
|
"yunhai",
|
|
"theme"
|
|
],
|
|
"license": "UNLICENSED",
|
|
"peerDependencies": {
|
|
"vite": ">=4.0.0"
|
|
}
|
|
}
|