@gmcb/cli 0.10.5 → 0.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  <!-- release:insert -->
4
4
 
5
+ ## 0.10.6 [2026-12-01]
6
+ <!-- generated-by: specs -->
7
+ ### 修复
8
+ - `--pull` 现在把宿主 `package.json.appId` 写进被拉的资源工程 `package.json`,修复宿主把 appId 改成新值后 H5 仍落到旧 `out/renderer/*`、Electron 壳层按新 appId 找不到主应用导致安装包白屏的问题。
9
+
5
10
  ## 0.10.5 [2026-12-01]
6
11
  <!-- generated-by: specs -->
7
12
  ### 修复
@@ -438,6 +438,7 @@ async function pullRemoteResources(opts) {
438
438
  }
439
439
  const repoPkgPath = (0, path_1.join)(repoDir, 'package.json');
440
440
  const repoPkg = (0, fs_extra_1.readJsonSync)(repoPkgPath);
441
+ repoPkg.appId = appId;
441
442
  if (!repoPkg.scripts)
442
443
  repoPkg.scripts = {};
443
444
  if (opts.compiler === 'electron-vite') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmcb/cli",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "description": "工茂草本前端命令行工具",
5
5
  "author": "yinjiazeng@163.com",
6
6
  "license": "UNLICENSED",