@gmcb/cli 0.4.3 → 0.4.4
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 +8 -0
- package/lib/actions/build.js +2 -1
- package/lib/actions/config.d.ts +6 -0
- package/package.json +2 -2
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.4](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.4.3...@gmcb/cli@0.4.4) (2026-06-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.4.3](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.4.2...@gmcb/cli@0.4.3) (2026-06-10)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @gmcb/cli
|
package/lib/actions/build.js
CHANGED
|
@@ -201,7 +201,8 @@ async function createZip(compiler, platform) {
|
|
|
201
201
|
if ((0, fs_1.existsSync)(dest)) {
|
|
202
202
|
(0, fs_1.unlinkSync)(dest);
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
const zipRoot = compiler === 'uni' && platform === 'h5' ? (config.app?.windows?.packagename || '') : '';
|
|
205
|
+
zip.addLocalFolder(source, zipRoot);
|
|
205
206
|
zip.writeZip(dest);
|
|
206
207
|
spinner.stop();
|
|
207
208
|
spinner.succeed(`资源导出成功,路径为:${dest}`);
|
package/lib/actions/config.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gmcb/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
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": "
|
|
57
|
+
"gitHead": "66fdf2f125cf99d313dcb7ea92c008746ab31492"
|
|
58
58
|
}
|