@gmcb/cli 0.1.8 → 0.1.9
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 +189 -180
- package/LICENSE +21 -0
- package/README.md +13 -13
- package/lib/bin.js +2 -0
- package/lib/commands/option.d.ts +2 -0
- package/lib/commands/option.js +3 -1
- package/package.json +3 -2
- package/schema.json +254 -254
package/CHANGELOG.md
CHANGED
|
@@ -3,184 +3,193 @@
|
|
|
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.1.
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @gmcb/cli
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## [0.1.
|
|
24
|
-
|
|
25
|
-
**Note:** Version bump only for package @gmcb/cli
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
## [0.0.
|
|
143
|
-
|
|
144
|
-
**Note:** Version bump only for package @gmcb/cli
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
## [0.0.
|
|
168
|
-
|
|
169
|
-
**Note:** Version bump only for package @gmcb/cli
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
## [0.0.
|
|
185
|
-
|
|
6
|
+
## [0.1.9](https://git.keeprisk.cn/gmcb/front-end/compare/@gmcb/cli@0.1.8...@gmcb/cli@0.1.9) (2025-08-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [0.1.8](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.7...@gmcb/cli@0.1.8) (2025-04-09)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## [0.1.7](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.6...@gmcb/cli@0.1.7) (2025-04-08)
|
|
24
|
+
|
|
25
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## [0.1.6](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.5...@gmcb/cli@0.1.6) (2025-02-25)
|
|
33
|
+
|
|
34
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## [0.1.5](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.4...@gmcb/cli@0.1.5) (2025-02-24)
|
|
41
|
+
|
|
42
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## [0.1.4](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.3...@gmcb/cli@0.1.4) (2025-02-23)
|
|
49
|
+
|
|
50
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [0.1.3](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.2...@gmcb/cli@0.1.3) (2025-02-23)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* 构建其他项目环境不正确 ([bf3329a](http://10.10.200.92:8090/gmcb/front-end/commits/bf3329afb1d61cd5cc1d6ffbec8e6a8f2ed77e60))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## [0.1.2](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.1...@gmcb/cli@0.1.2) (2025-02-23)
|
|
68
|
+
|
|
69
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## [0.1.1](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.0...@gmcb/cli@0.1.1) (2025-02-23)
|
|
76
|
+
|
|
77
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
# [0.1.0](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.12...@gmcb/cli@0.1.0) (2025-02-23)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Features
|
|
87
|
+
|
|
88
|
+
* 新增复制命令 ([ab5e74d](http://10.10.200.92:8090/gmcb/front-end/commits/ab5e74d6236d4b57c1642c3e1abc9da23cb63129))
|
|
89
|
+
* 新增构建桌面应用 ([c1e13cc](http://10.10.200.92:8090/gmcb/front-end/commits/c1e13cc0aa0770be95599f1ab7ad0fa860487cec))
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## [0.0.12](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.11...@gmcb/cli@0.0.12) (2025-02-18)
|
|
96
|
+
|
|
97
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
## [0.0.11](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.10...@gmcb/cli@0.0.11) (2025-02-18)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Bug Fixes
|
|
107
|
+
|
|
108
|
+
* 正在构建时切换分支导致发布环境错误 ([f024ddb](http://10.10.200.92:8090/gmcb/front-end/commits/f024ddba996fbc48163e4ff5d49c9490058a5361))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
## [0.0.10](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.9...@gmcb/cli@0.0.10) (2025-02-08)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
* hbuilderx未启动时无提示 ([5eb1ccc](http://10.10.200.92:8090/gmcb/front-end/commits/5eb1ccc2e6854dae4cf32aa5de81676e0a568f33))
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## [0.0.9](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.8...@gmcb/cli@0.0.9) (2025-02-05)
|
|
127
|
+
|
|
128
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
## [0.0.8](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.7...@gmcb/cli@0.0.8) (2025-02-05)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
## [0.0.7](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.6...@gmcb/cli@0.0.7) (2025-02-04)
|
|
143
|
+
|
|
144
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
## [0.0.6](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.5...@gmcb/cli@0.0.6) (2025-02-04)
|
|
152
|
+
|
|
153
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
## [0.0.5](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.4...@gmcb/cli@0.0.5) (2025-02-04)
|
|
160
|
+
|
|
161
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## [0.0.4](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.3...@gmcb/cli@0.0.4) (2025-02-04)
|
|
168
|
+
|
|
169
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
## [0.0.3](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.2...@gmcb/cli@0.0.3) (2025-02-02)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
## [0.0.2](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.0.1...@gmcb/cli@0.0.2) (2025-02-02)
|
|
185
|
+
|
|
186
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
## [0.0.1](http://10.10.200.92:8090/gmcb/front-end/compare/@gmcb/cli@0.1.0-alpha.0...@gmcb/cli@0.0.1) (2025-02-02)
|
|
194
|
+
|
|
186
195
|
**Note:** Version bump only for package @gmcb/cli
|
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.
|
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# @gmcb/cli
|
|
2
|
-
|
|
3
|
-
工茂草本前端命令行工具
|
|
4
|
-
|
|
5
|
-
## 安装
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
npm i @gmcb/cli -g
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## 使用
|
|
12
|
-
```
|
|
13
|
-
gmcb build
|
|
1
|
+
# @gmcb/cli
|
|
2
|
+
|
|
3
|
+
工茂草本前端命令行工具
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npm i @gmcb/cli -g
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 使用
|
|
12
|
+
```
|
|
13
|
+
gmcb build
|
|
14
14
|
```
|
package/lib/bin.js
CHANGED
|
@@ -78,6 +78,8 @@ program
|
|
|
78
78
|
.option(...commands_1.hbuilderxCli)
|
|
79
79
|
.option(...commands_1.weixinCli)
|
|
80
80
|
.option(...commands_1.alipayCli)
|
|
81
|
+
.option(...commands_1.cosSecretid)
|
|
82
|
+
.option(...commands_1.cosSecretkey)
|
|
81
83
|
.option(...commands_1.branch)
|
|
82
84
|
.action(config_1.default);
|
|
83
85
|
program.parse();
|
package/lib/commands/option.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export declare const res: readonly ["--res", "是否构建移动应用本地资
|
|
|
23
23
|
export declare const hbuilderxCli: readonly ["--cli.hbuilderx <cli-path>", "HbuilderX Cli路径"];
|
|
24
24
|
export declare const weixinCli: readonly ["--cli.weixin <cli-path>", "微信开发者工具 Cli路径"];
|
|
25
25
|
export declare const alipayCli: readonly ["--cli.alipay <cli-path>", "支付宝开发者工具 Cli路径"];
|
|
26
|
+
export declare const cosSecretid: readonly ["--cos.secretid <secretid>", "设置腾讯云上传秘钥ID"];
|
|
27
|
+
export declare const cosSecretkey: readonly ["--cos.secretkey <secretkey>", "设置腾讯云上传秘钥KEY"];
|
|
26
28
|
export interface Options {
|
|
27
29
|
template?: string;
|
|
28
30
|
branch?: string | boolean;
|
package/lib/commands/option.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.alipayCli = exports.weixinCli = exports.hbuilderxCli = exports.res = exports.wgt = exports.custom = exports.zip = exports.linux = exports.mac = exports.win = exports.link = exports.path = exports.name = exports.clean = exports.ignore = exports.dest = exports.source = exports.branch = exports.env = exports.compiler = exports.project = exports.platform = exports.template = exports.version = void 0;
|
|
3
|
+
exports.cosSecretkey = exports.cosSecretid = exports.alipayCli = exports.weixinCli = exports.hbuilderxCli = exports.res = exports.wgt = exports.custom = exports.zip = exports.linux = exports.mac = exports.win = exports.link = exports.path = exports.name = exports.clean = exports.ignore = exports.dest = exports.source = exports.branch = exports.env = exports.compiler = exports.project = exports.platform = exports.template = exports.version = void 0;
|
|
4
4
|
exports.version = ['-v, --version', '输出版本号'];
|
|
5
5
|
exports.template = ['-t, --template <template-name>', '模版仓库名称'];
|
|
6
6
|
exports.platform = ['-p, --platform <platform-name>', '编译平台,默认h5', 'h5'];
|
|
@@ -25,3 +25,5 @@ exports.res = ['--res', '是否构建移动应用本地资源'];
|
|
|
25
25
|
exports.hbuilderxCli = ['--cli.hbuilderx <cli-path>', 'HbuilderX Cli路径'];
|
|
26
26
|
exports.weixinCli = ['--cli.weixin <cli-path>', '微信开发者工具 Cli路径'];
|
|
27
27
|
exports.alipayCli = ['--cli.alipay <cli-path>', '支付宝开发者工具 Cli路径'];
|
|
28
|
+
exports.cosSecretid = ['--cos.secretid <secretid>', '设置腾讯云上传秘钥ID'];
|
|
29
|
+
exports.cosSecretkey = ['--cos.secretkey <secretkey>', '设置腾讯云上传秘钥KEY'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gmcb/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "工茂草本前端命令行工具",
|
|
5
5
|
"author": "yinjiazeng@163.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,5 +53,6 @@
|
|
|
53
53
|
"@types/inquirer": "^9.0.7",
|
|
54
54
|
"@types/rimraf": "^4.0.5",
|
|
55
55
|
"@types/user-home": "^2.0.2"
|
|
56
|
-
}
|
|
56
|
+
},
|
|
57
|
+
"gitHead": "10e61329487620257ae8003101305e0028eeb428"
|
|
57
58
|
}
|
package/schema.json
CHANGED
|
@@ -1,254 +1,254 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"branch": {
|
|
6
|
-
"type": ["boolean", "string"],
|
|
7
|
-
"description": "是否在分支下打包,true表示在当前分支下打包,字符串表示仅在该分支下打包"
|
|
8
|
-
},
|
|
9
|
-
"cli": {
|
|
10
|
-
"type": "object",
|
|
11
|
-
"description": "cli配置",
|
|
12
|
-
"properties": {
|
|
13
|
-
"hbuilderx": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "hbuilderx cli路径"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"cos": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"description": "腾讯云对象存储配置",
|
|
22
|
-
"properties": {
|
|
23
|
-
"secretid": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"description": "秘钥id"
|
|
26
|
-
},
|
|
27
|
-
"secretkey": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"description": "秘钥key"
|
|
30
|
-
},
|
|
31
|
-
"bucket": {
|
|
32
|
-
"type": "string",
|
|
33
|
-
"description": "存储桶名称"
|
|
34
|
-
},
|
|
35
|
-
"region": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"description": "所属地域,例如ap-nanjing"
|
|
38
|
-
},
|
|
39
|
-
"path": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"description": "上传远程目录,默认/"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"required": ["bucket", "region"]
|
|
45
|
-
},
|
|
46
|
-
"app": {
|
|
47
|
-
"type": "object",
|
|
48
|
-
"description": "app配置",
|
|
49
|
-
"properties": {
|
|
50
|
-
"iscustom": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"description": "是否使用自定义基座"
|
|
53
|
-
},
|
|
54
|
-
"safemode": {
|
|
55
|
-
"type": "boolean",
|
|
56
|
-
"description": "是否为安心打包"
|
|
57
|
-
},
|
|
58
|
-
"isconfusion": {
|
|
59
|
-
"type": "boolean",
|
|
60
|
-
"description": "是否对配置的js/nvue文件进行原生混淆"
|
|
61
|
-
},
|
|
62
|
-
"splashads": {
|
|
63
|
-
"type": "boolean",
|
|
64
|
-
"description": "是否开启开屏广告"
|
|
65
|
-
},
|
|
66
|
-
"rpads": {
|
|
67
|
-
"type": "boolean",
|
|
68
|
-
"description": "是否开启悬浮红包广告"
|
|
69
|
-
},
|
|
70
|
-
"pushads": {
|
|
71
|
-
"type": "boolean",
|
|
72
|
-
"description": "是否开启推送广告"
|
|
73
|
-
},
|
|
74
|
-
"exchange": {
|
|
75
|
-
"type": "boolean",
|
|
76
|
-
"description": "是否加入换量联盟"
|
|
77
|
-
},
|
|
78
|
-
"android": {
|
|
79
|
-
"type": "object",
|
|
80
|
-
"description": "android配置",
|
|
81
|
-
"properties": {
|
|
82
|
-
"packagename": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"description": "包名"
|
|
85
|
-
},
|
|
86
|
-
"androidpacktype": {
|
|
87
|
-
"type": "integer",
|
|
88
|
-
"description": "打包类型,0 使用自有证书 1 使用公共证书 2 使用DCloud老版证书"
|
|
89
|
-
},
|
|
90
|
-
"certalias": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"description": "打包证书别名"
|
|
93
|
-
},
|
|
94
|
-
"certfile": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"description": "打包证书文件路径"
|
|
97
|
-
},
|
|
98
|
-
"certpassword": {
|
|
99
|
-
"type": "string",
|
|
100
|
-
"description": "打包证书密码"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"required": ["packagename", "androidpacktype", "certalias", "certfile", "certpassword"]
|
|
104
|
-
},
|
|
105
|
-
"ios": {
|
|
106
|
-
"type": "object",
|
|
107
|
-
"description": "ios配置",
|
|
108
|
-
"properties": {
|
|
109
|
-
"bundle": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"description": "包名"
|
|
112
|
-
},
|
|
113
|
-
"supporteddevice": {
|
|
114
|
-
"type": "string",
|
|
115
|
-
"description": "打包支持的设备类型,值有\"iPhone\",\"iPad\" 如果要打多个逗号隔开打包平台"
|
|
116
|
-
},
|
|
117
|
-
"profile": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"description": "使用自定义证书打包的profile文件路径"
|
|
120
|
-
},
|
|
121
|
-
"certfile": {
|
|
122
|
-
"type": "string",
|
|
123
|
-
"description": "使用自定义证书打包的p12文件路径"
|
|
124
|
-
},
|
|
125
|
-
"certpassword": {
|
|
126
|
-
"type": "string",
|
|
127
|
-
"description": "使用自定义证书打包的证书密码"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"required": ["bundle", "supporteddevice", "profile", "certfile", "certpassword"]
|
|
131
|
-
},
|
|
132
|
-
"wgt": {
|
|
133
|
-
"type": "object",
|
|
134
|
-
"description": "移动应用热更新资源配置",
|
|
135
|
-
"properties": {
|
|
136
|
-
"name": {
|
|
137
|
-
"type": "string",
|
|
138
|
-
"description": "导出文件名称,例如app.wgt,默认为[appid].wgt"
|
|
139
|
-
},
|
|
140
|
-
"path": {
|
|
141
|
-
"type": "string",
|
|
142
|
-
"description": "导出路径,默认unpackage/release"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"zip": {
|
|
147
|
-
"type": "object",
|
|
148
|
-
"description": "桌面应用热更新资源配置",
|
|
149
|
-
"properties": {
|
|
150
|
-
"name": {
|
|
151
|
-
"type": "string",
|
|
152
|
-
"description": "导出文件名称,例如app.zip,默认为[name].zip"
|
|
153
|
-
},
|
|
154
|
-
"path": {
|
|
155
|
-
"type": "string",
|
|
156
|
-
"description": "导出路径,默认unpackage/release"
|
|
157
|
-
},
|
|
158
|
-
"source": {
|
|
159
|
-
"type": "string",
|
|
160
|
-
"description": "资源路径,默认dist/win-unpacked/resources"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"custom": {
|
|
165
|
-
"type": "object",
|
|
166
|
-
"description": "自定义基座配置",
|
|
167
|
-
"properties": {
|
|
168
|
-
"android": {
|
|
169
|
-
"type": "object",
|
|
170
|
-
"description": "android配置",
|
|
171
|
-
"properties": {
|
|
172
|
-
"packagename": {
|
|
173
|
-
"type": "string",
|
|
174
|
-
"description": "包名"
|
|
175
|
-
},
|
|
176
|
-
"androidpacktype": {
|
|
177
|
-
"type": "integer",
|
|
178
|
-
"description": "打包类型,0 使用自有证书 1 使用公共证书 2 使用DCloud老版证书"
|
|
179
|
-
},
|
|
180
|
-
"certalias": {
|
|
181
|
-
"type": "string",
|
|
182
|
-
"description": "打包证书别名"
|
|
183
|
-
},
|
|
184
|
-
"certfile": {
|
|
185
|
-
"type": "string",
|
|
186
|
-
"description": "打包证书文件路径"
|
|
187
|
-
},
|
|
188
|
-
"certpassword": {
|
|
189
|
-
"type": "string",
|
|
190
|
-
"description": "打包证书密码"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
"ios": {
|
|
195
|
-
"type": "object",
|
|
196
|
-
"description": "ios配置",
|
|
197
|
-
"properties": {
|
|
198
|
-
"bundle": {
|
|
199
|
-
"type": "string",
|
|
200
|
-
"description": "包名"
|
|
201
|
-
},
|
|
202
|
-
"supporteddevice": {
|
|
203
|
-
"type": "string",
|
|
204
|
-
"description": "打包支持的设备类型,值有\"iPhone\",\"iPad\" 如果要打多个逗号隔开打包平台"
|
|
205
|
-
},
|
|
206
|
-
"profile": {
|
|
207
|
-
"type": "string",
|
|
208
|
-
"description": "使用自定义证书打包的profile文件路径"
|
|
209
|
-
},
|
|
210
|
-
"certfile": {
|
|
211
|
-
"type": "string",
|
|
212
|
-
"description": "使用自定义证书打包的p12文件路径"
|
|
213
|
-
},
|
|
214
|
-
"certpassword": {
|
|
215
|
-
"type": "string",
|
|
216
|
-
"description": "使用自定义证书打包的证书密码"
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"required": ["profile", "certfile"]
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"mp": {
|
|
226
|
-
"type": "object",
|
|
227
|
-
"description": "小程序配置",
|
|
228
|
-
"properties": {
|
|
229
|
-
"weixin": {
|
|
230
|
-
"type": "object",
|
|
231
|
-
"description": "微信小程序配置",
|
|
232
|
-
"properties": {
|
|
233
|
-
"privatekey": {
|
|
234
|
-
"type": "string",
|
|
235
|
-
"description": "代码上传密钥文件"
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
"required": ["privatekey"]
|
|
239
|
-
},
|
|
240
|
-
"alipay": {
|
|
241
|
-
"type": "object",
|
|
242
|
-
"description": "支付宝小程序配置",
|
|
243
|
-
"properties": {
|
|
244
|
-
"privatekey": {
|
|
245
|
-
"type": "string",
|
|
246
|
-
"description": "代码上传密钥文件"
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
"required": ["privatekey"]
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"branch": {
|
|
6
|
+
"type": ["boolean", "string"],
|
|
7
|
+
"description": "是否在分支下打包,true表示在当前分支下打包,字符串表示仅在该分支下打包"
|
|
8
|
+
},
|
|
9
|
+
"cli": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"description": "cli配置",
|
|
12
|
+
"properties": {
|
|
13
|
+
"hbuilderx": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "hbuilderx cli路径"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"cos": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"description": "腾讯云对象存储配置",
|
|
22
|
+
"properties": {
|
|
23
|
+
"secretid": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "秘钥id"
|
|
26
|
+
},
|
|
27
|
+
"secretkey": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "秘钥key"
|
|
30
|
+
},
|
|
31
|
+
"bucket": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "存储桶名称"
|
|
34
|
+
},
|
|
35
|
+
"region": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "所属地域,例如ap-nanjing"
|
|
38
|
+
},
|
|
39
|
+
"path": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "上传远程目录,默认/"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": ["bucket", "region"]
|
|
45
|
+
},
|
|
46
|
+
"app": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"description": "app配置",
|
|
49
|
+
"properties": {
|
|
50
|
+
"iscustom": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "是否使用自定义基座"
|
|
53
|
+
},
|
|
54
|
+
"safemode": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"description": "是否为安心打包"
|
|
57
|
+
},
|
|
58
|
+
"isconfusion": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"description": "是否对配置的js/nvue文件进行原生混淆"
|
|
61
|
+
},
|
|
62
|
+
"splashads": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"description": "是否开启开屏广告"
|
|
65
|
+
},
|
|
66
|
+
"rpads": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"description": "是否开启悬浮红包广告"
|
|
69
|
+
},
|
|
70
|
+
"pushads": {
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"description": "是否开启推送广告"
|
|
73
|
+
},
|
|
74
|
+
"exchange": {
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"description": "是否加入换量联盟"
|
|
77
|
+
},
|
|
78
|
+
"android": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"description": "android配置",
|
|
81
|
+
"properties": {
|
|
82
|
+
"packagename": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "包名"
|
|
85
|
+
},
|
|
86
|
+
"androidpacktype": {
|
|
87
|
+
"type": "integer",
|
|
88
|
+
"description": "打包类型,0 使用自有证书 1 使用公共证书 2 使用DCloud老版证书"
|
|
89
|
+
},
|
|
90
|
+
"certalias": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "打包证书别名"
|
|
93
|
+
},
|
|
94
|
+
"certfile": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"description": "打包证书文件路径"
|
|
97
|
+
},
|
|
98
|
+
"certpassword": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "打包证书密码"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"required": ["packagename", "androidpacktype", "certalias", "certfile", "certpassword"]
|
|
104
|
+
},
|
|
105
|
+
"ios": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"description": "ios配置",
|
|
108
|
+
"properties": {
|
|
109
|
+
"bundle": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "包名"
|
|
112
|
+
},
|
|
113
|
+
"supporteddevice": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"description": "打包支持的设备类型,值有\"iPhone\",\"iPad\" 如果要打多个逗号隔开打包平台"
|
|
116
|
+
},
|
|
117
|
+
"profile": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"description": "使用自定义证书打包的profile文件路径"
|
|
120
|
+
},
|
|
121
|
+
"certfile": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"description": "使用自定义证书打包的p12文件路径"
|
|
124
|
+
},
|
|
125
|
+
"certpassword": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "使用自定义证书打包的证书密码"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"required": ["bundle", "supporteddevice", "profile", "certfile", "certpassword"]
|
|
131
|
+
},
|
|
132
|
+
"wgt": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"description": "移动应用热更新资源配置",
|
|
135
|
+
"properties": {
|
|
136
|
+
"name": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "导出文件名称,例如app.wgt,默认为[appid].wgt"
|
|
139
|
+
},
|
|
140
|
+
"path": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "导出路径,默认unpackage/release"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"zip": {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"description": "桌面应用热更新资源配置",
|
|
149
|
+
"properties": {
|
|
150
|
+
"name": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"description": "导出文件名称,例如app.zip,默认为[name].zip"
|
|
153
|
+
},
|
|
154
|
+
"path": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"description": "导出路径,默认unpackage/release"
|
|
157
|
+
},
|
|
158
|
+
"source": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"description": "资源路径,默认dist/win-unpacked/resources"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"custom": {
|
|
165
|
+
"type": "object",
|
|
166
|
+
"description": "自定义基座配置",
|
|
167
|
+
"properties": {
|
|
168
|
+
"android": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"description": "android配置",
|
|
171
|
+
"properties": {
|
|
172
|
+
"packagename": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"description": "包名"
|
|
175
|
+
},
|
|
176
|
+
"androidpacktype": {
|
|
177
|
+
"type": "integer",
|
|
178
|
+
"description": "打包类型,0 使用自有证书 1 使用公共证书 2 使用DCloud老版证书"
|
|
179
|
+
},
|
|
180
|
+
"certalias": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"description": "打包证书别名"
|
|
183
|
+
},
|
|
184
|
+
"certfile": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"description": "打包证书文件路径"
|
|
187
|
+
},
|
|
188
|
+
"certpassword": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"description": "打包证书密码"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"ios": {
|
|
195
|
+
"type": "object",
|
|
196
|
+
"description": "ios配置",
|
|
197
|
+
"properties": {
|
|
198
|
+
"bundle": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"description": "包名"
|
|
201
|
+
},
|
|
202
|
+
"supporteddevice": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"description": "打包支持的设备类型,值有\"iPhone\",\"iPad\" 如果要打多个逗号隔开打包平台"
|
|
205
|
+
},
|
|
206
|
+
"profile": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"description": "使用自定义证书打包的profile文件路径"
|
|
209
|
+
},
|
|
210
|
+
"certfile": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"description": "使用自定义证书打包的p12文件路径"
|
|
213
|
+
},
|
|
214
|
+
"certpassword": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"description": "使用自定义证书打包的证书密码"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"required": ["profile", "certfile"]
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"mp": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"description": "小程序配置",
|
|
228
|
+
"properties": {
|
|
229
|
+
"weixin": {
|
|
230
|
+
"type": "object",
|
|
231
|
+
"description": "微信小程序配置",
|
|
232
|
+
"properties": {
|
|
233
|
+
"privatekey": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"description": "代码上传密钥文件"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"required": ["privatekey"]
|
|
239
|
+
},
|
|
240
|
+
"alipay": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"description": "支付宝小程序配置",
|
|
243
|
+
"properties": {
|
|
244
|
+
"privatekey": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"description": "代码上传密钥文件"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"required": ["privatekey"]
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|