修复包名改动的连带事故 + 补齐发布配置
改包名为 @sidaocai/dsh-markmag 时漏了 dist/client.js 的 factory id, 导致 DSH 判定重复注册、插件加载失败,进而把 profile 的 bundles 从 13 个重置成 2 个。 修复: - client bundle 的 id 与包名对齐 - 新增 scripts/repair-profile.mjs 从备份恢复 bundles - package.json 补 publishConfig(锁定私有 registry)/ prepack / prepublishOnly - 新增 scripts/preflight.mjs 发布前七项检查 - 文档记录改包名必须同步的四处(踩坑记录)
This commit is contained in:
1 parent
ff8017bbbb
commit
4f0915c5f0
5 files changed
+105
-4
No files matched your search
@@ -11,7 +11,7 @@
|
||||
* 产物由 scripts/build-client.mjs 从 panel.css + panel.template.js 合成。
|
||||
*/
|
||||
window.__ModuleLoader__.load({
|
||||
id: "dsh-markmag",
|
||||
id: "@sidaocai/dsh-markmag",
|
||||
factory: function (require) {
|
||||
const module = { exports: {} }
|
||||
const exports = module.exports
|
||||
@@ -431,4 +431,4 @@ window.__ModuleLoader__.load({
|
||||
module.exports = { inject: ["slots"], apply: apply }
|
||||
return module.exports
|
||||
},
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user