@gmcb/cli 0.5.3 → 0.5.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 +16 -0
- package/README.md +2 -1
- package/lib/actions/config.d.ts +1 -0
- package/lib/actions/publish.js +1 -1
- package/lib/bin.js +1 -0
- package/package.json +2 -2
- package/schema.json +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.5.5](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.5.4...@gmcb/cli@0.5.5) (2026-06-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.5.4](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.5.3...@gmcb/cli@0.5.4) (2026-06-30)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.5.3](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.5.2...@gmcb/cli@0.5.3) (2026-06-30)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @gmcb/cli
|
package/README.md
CHANGED
|
@@ -48,8 +48,9 @@ gmcb publish -p app --wgt -a
|
|
|
48
48
|
|
|
49
49
|
### 配置
|
|
50
50
|
|
|
51
|
-
`uni.build.json`
|
|
51
|
+
`uni.build.json` 中可配置以下字段:
|
|
52
52
|
|
|
53
|
+
- `install`:安装依赖的命令,默认为 `npm install`,可配置为 `pnpm install`、`yarn` 等
|
|
53
54
|
- `pub`:基础发布配置(brand、type、status、platform、path)
|
|
54
55
|
- `publish`:魔方发布配置(brandName、brandId、channel、updateType、versionDesc、publishType、platform、path),配置后走魔方发布流程
|
|
55
56
|
|
package/lib/actions/config.d.ts
CHANGED
package/lib/actions/publish.js
CHANGED
|
@@ -141,7 +141,7 @@ async function default_1(...args) {
|
|
|
141
141
|
install = false;
|
|
142
142
|
}
|
|
143
143
|
if (install) {
|
|
144
|
-
(0, utils_1.spawnSync)('npm install');
|
|
144
|
+
(0, utils_1.spawnSync)(config.install || 'npm install');
|
|
145
145
|
}
|
|
146
146
|
const cmds = await (0, build_1.default)(...args);
|
|
147
147
|
const commands = cmds.slice(0, 3);
|
package/lib/bin.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gmcb/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.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": "
|
|
57
|
+
"gitHead": "d1d89a811379dc7049a3920276a2b8845b6c3fd2"
|
|
58
58
|
}
|
package/schema.json
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
"type": ["boolean", "string"],
|
|
7
7
|
"description": "是否在分支下打包,true表示在当前分支下打包,字符串表示仅在该分支下打包"
|
|
8
8
|
},
|
|
9
|
+
"install": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "安装依赖的命令,默认为 npm install,可配置为 pnpm install、yarn 等"
|
|
12
|
+
},
|
|
9
13
|
"cli": {
|
|
10
14
|
"type": "object",
|
|
11
15
|
"description": "cli配置",
|