@gmcb/cli 0.4.4 → 0.4.5

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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.4.5](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.4.4...@gmcb/cli@0.4.5) (2026-06-14)
7
+
8
+ **Note:** Version bump only for package @gmcb/cli
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.4.4](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.4.3...@gmcb/cli@0.4.4) (2026-06-14)
7
15
 
8
16
  **Note:** Version bump only for package @gmcb/cli
@@ -201,6 +201,12 @@ async function createZip(compiler, platform) {
201
201
  if ((0, fs_1.existsSync)(dest)) {
202
202
  (0, fs_1.unlinkSync)(dest);
203
203
  }
204
+ if (compiler === 'uni' && platform === 'h5') {
205
+ (0, fs_extra_1.writeJsonSync)((0, path_1.join)(source, 'manifest.json'), {
206
+ versionName: manifest['versionName'] || '',
207
+ versionCode: manifest['versionCode'] || '',
208
+ });
209
+ }
204
210
  const zipRoot = compiler === 'uni' && platform === 'h5' ? (config.app?.windows?.packagename || '') : '';
205
211
  zip.addLocalFolder(source, zipRoot);
206
212
  zip.writeZip(dest);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmcb/cli",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "工茂草本前端命令行工具",
5
5
  "author": "yinjiazeng@163.com",
6
6
  "license": "MIT",
@@ -54,5 +54,5 @@
54
54
  "@types/rimraf": "^4.0.5",
55
55
  "@types/user-home": "^2.0.2"
56
56
  },
57
- "gitHead": "66fdf2f125cf99d313dcb7ea92c008746ab31492"
57
+ "gitHead": "a0f819ed8e4aa921a13463b9e2cc987d2e8cbdd1"
58
58
  }