@gmcb/cli 0.3.3 → 0.3.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 CHANGED
@@ -3,7 +3,7 @@
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.3.3](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.3.2...@gmcb/cli@0.3.3) (2026-04-24)
6
+ ## [0.3.4](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.3.3...@gmcb/cli@0.3.4) (2026-04-30)
7
7
 
8
8
  **Note:** Version bump only for package @gmcb/cli
9
9
 
@@ -11,33 +11,42 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [0.3.2](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.3.1...@gmcb/cli@0.3.2) (2026-04-22)
15
-
16
- **Note:** Version bump only for package @gmcb/cli
17
-
18
-
19
-
20
-
21
-
22
- ## [0.3.1](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.3.0...@gmcb/cli@0.3.1) (2026-04-22)
23
-
24
- **Note:** Version bump only for package @gmcb/cli
25
-
26
-
27
-
28
-
29
-
30
- # [0.3.0](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.2.4...@gmcb/cli@0.3.0) (2026-04-22)
31
-
32
-
33
- ### Features
34
-
35
- * 优化使用体验 ([c82d28b](http://10.10.10.16/caoben/front-end/commits/c82d28ba920f857e5edc4865a7a88030b32230c1))
36
-
37
-
38
-
39
-
40
-
14
+
15
+ ## [0.3.3](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.3.2...@gmcb/cli@0.3.3) (2026-04-24)
16
+
17
+ **Note:** Version bump only for package @gmcb/cli
18
+
19
+
20
+
21
+
22
+
23
+ ## [0.3.2](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.3.1...@gmcb/cli@0.3.2) (2026-04-22)
24
+
25
+ **Note:** Version bump only for package @gmcb/cli
26
+
27
+
28
+
29
+
30
+
31
+ ## [0.3.1](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.3.0...@gmcb/cli@0.3.1) (2026-04-22)
32
+
33
+ **Note:** Version bump only for package @gmcb/cli
34
+
35
+
36
+
37
+
38
+
39
+ # [0.3.0](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.2.4...@gmcb/cli@0.3.0) (2026-04-22)
40
+
41
+
42
+ ### Features
43
+
44
+ * 优化使用体验 ([c82d28b](http://10.10.10.16/caoben/front-end/commits/c82d28ba920f857e5edc4865a7a88030b32230c1))
45
+
46
+
47
+
48
+
49
+
41
50
 
42
51
  ## [0.2.4](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.2.3...@gmcb/cli@0.2.4) (2025-11-13)
43
52
 
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 aniu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -152,7 +152,12 @@ async function getCommands(...args) {
152
152
  }
153
153
  }
154
154
  else if (opts.compiler === 'electron-vite') {
155
- commands = [...commands, bin, 'build', `&& cross-env CHANNEL=-${buildEnv}`];
155
+ commands = [
156
+ ...commands,
157
+ bin,
158
+ 'build',
159
+ `&& cross-env CHANNEL=${String(buildEnv).startsWith('pro') ? '' : `-${buildEnv}`}`,
160
+ ];
156
161
  if (opts.zip) {
157
162
  commands.push('electron-builder --dir');
158
163
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmcb/cli",
3
- "version": "0.3.3",
3
+ "version": "0.3.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": "faa7b8b65607f2f1110d19442399c044dc8954ae"
57
+ "gitHead": "1e1db0f89d042ce3aaa25aae762269c7afd68404"
58
58
  }