@gmcb/cli 0.3.0 → 0.3.2
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/lib/actions/publish.js +5 -5
- package/package.json +2 -2
- package/schema.json +337 -304
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.3.2](http://10.10.10.16/caoben/front-end/compare/@gmcb/cli@0.3.1...@gmcb/cli@0.3.2) (2026-04-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [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)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @gmcb/cli
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [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)
|
|
7
23
|
|
|
8
24
|
|
package/lib/actions/publish.js
CHANGED
|
@@ -36,26 +36,26 @@ async function default_1(...args) {
|
|
|
36
36
|
choices: opts.wgt
|
|
37
37
|
? [
|
|
38
38
|
{
|
|
39
|
-
name: '
|
|
39
|
+
name: 'android',
|
|
40
40
|
value: 1,
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
name: '
|
|
43
|
+
name: 'ios',
|
|
44
44
|
value: 2,
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
name: '
|
|
47
|
+
name: 'harmony',
|
|
48
48
|
value: 3,
|
|
49
49
|
},
|
|
50
50
|
]
|
|
51
51
|
: opts.zip
|
|
52
52
|
? [
|
|
53
53
|
{
|
|
54
|
-
name: '
|
|
54
|
+
name: 'windows',
|
|
55
55
|
value: 4,
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
name: '
|
|
58
|
+
name: 'macos',
|
|
59
59
|
value: 5,
|
|
60
60
|
},
|
|
61
61
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gmcb/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
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": "3ed64b698d26124f2c95d7f5506d3c96ed74a4b2"
|
|
58
58
|
}
|
package/schema.json
CHANGED
|
@@ -1,304 +1,337 @@
|
|
|
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
|
-
"web": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"description": "管理平台配置",
|
|
22
|
-
"properties": {
|
|
23
|
-
"username": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"description": "登录用户名"
|
|
26
|
-
},
|
|
27
|
-
"password": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"description": "登录密码"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"required": ["username", "password"]
|
|
33
|
-
},
|
|
34
|
-
"pub": {
|
|
35
|
-
"type": "object",
|
|
36
|
-
"description": "发布配置",
|
|
37
|
-
"properties": {
|
|
38
|
-
"brand": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"description": "品牌名称"
|
|
41
|
-
},
|
|
42
|
-
"type": {
|
|
43
|
-
"type": "number",
|
|
44
|
-
"description": "应用类型,1:医生端、2:门店端、3:患者端"
|
|
45
|
-
},
|
|
46
|
-
"status": {
|
|
47
|
-
"type": "number",
|
|
48
|
-
"description": "更新状态,4:强制更新、3:提示更新、2:不提示更新"
|
|
49
|
-
},
|
|
50
|
-
"platform": {
|
|
51
|
-
"type": "number",
|
|
52
|
-
"description": "平台类型,1:android、2:ios、3:harmonyos、4:windows、5:macos"
|
|
53
|
-
},
|
|
54
|
-
"path": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"description": "远程路径"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"required": ["brand", "type", "path"]
|
|
60
|
-
},
|
|
61
|
-
"cos": {
|
|
62
|
-
"type": "object",
|
|
63
|
-
"description": "腾讯云对象存储配置",
|
|
64
|
-
"properties": {
|
|
65
|
-
"secretid": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"description": "秘钥id"
|
|
68
|
-
},
|
|
69
|
-
"secretkey": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"description": "秘钥key"
|
|
72
|
-
},
|
|
73
|
-
"bucket": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"description": "存储桶名称"
|
|
76
|
-
},
|
|
77
|
-
"region": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"description": "所属地域,例如ap-nanjing"
|
|
80
|
-
},
|
|
81
|
-
"path": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"description": "上传远程目录,默认/"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"required": ["bucket", "region"]
|
|
87
|
-
},
|
|
88
|
-
"app": {
|
|
89
|
-
"type": "object",
|
|
90
|
-
"description": "app配置",
|
|
91
|
-
"properties": {
|
|
92
|
-
"iscustom": {
|
|
93
|
-
"type": "boolean",
|
|
94
|
-
"description": "是否使用自定义基座"
|
|
95
|
-
},
|
|
96
|
-
"safemode": {
|
|
97
|
-
"type": "boolean",
|
|
98
|
-
"description": "是否为安心打包"
|
|
99
|
-
},
|
|
100
|
-
"isconfusion": {
|
|
101
|
-
"type": "boolean",
|
|
102
|
-
"description": "是否对配置的js/nvue文件进行原生混淆"
|
|
103
|
-
},
|
|
104
|
-
"splashads": {
|
|
105
|
-
"type": "boolean",
|
|
106
|
-
"description": "是否开启开屏广告"
|
|
107
|
-
},
|
|
108
|
-
"rpads": {
|
|
109
|
-
"type": "boolean",
|
|
110
|
-
"description": "是否开启悬浮红包广告"
|
|
111
|
-
},
|
|
112
|
-
"pushads": {
|
|
113
|
-
"type": "boolean",
|
|
114
|
-
"description": "是否开启推送广告"
|
|
115
|
-
},
|
|
116
|
-
"exchange": {
|
|
117
|
-
"type": "boolean",
|
|
118
|
-
"description": "是否加入换量联盟"
|
|
119
|
-
},
|
|
120
|
-
"
|
|
121
|
-
"type": "object",
|
|
122
|
-
"description": "
|
|
123
|
-
"properties": {
|
|
124
|
-
"packagename": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"description": "包名"
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
193
|
-
"type": "string",
|
|
194
|
-
"description": "
|
|
195
|
-
},
|
|
196
|
-
"
|
|
197
|
-
"type": "string",
|
|
198
|
-
"description": "
|
|
199
|
-
},
|
|
200
|
-
"
|
|
201
|
-
"type": "string",
|
|
202
|
-
"description": "
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
"
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
"
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
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
|
+
"web": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"description": "管理平台配置",
|
|
22
|
+
"properties": {
|
|
23
|
+
"username": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "登录用户名"
|
|
26
|
+
},
|
|
27
|
+
"password": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "登录密码"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["username", "password"]
|
|
33
|
+
},
|
|
34
|
+
"pub": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"description": "发布配置",
|
|
37
|
+
"properties": {
|
|
38
|
+
"brand": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "品牌名称"
|
|
41
|
+
},
|
|
42
|
+
"type": {
|
|
43
|
+
"type": "number",
|
|
44
|
+
"description": "应用类型,1:医生端、2:门店端、3:患者端"
|
|
45
|
+
},
|
|
46
|
+
"status": {
|
|
47
|
+
"type": "number",
|
|
48
|
+
"description": "更新状态,4:强制更新、3:提示更新、2:不提示更新"
|
|
49
|
+
},
|
|
50
|
+
"platform": {
|
|
51
|
+
"type": "number",
|
|
52
|
+
"description": "平台类型,1:android、2:ios、3:harmonyos、4:windows、5:macos"
|
|
53
|
+
},
|
|
54
|
+
"path": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "远程路径"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": ["brand", "type", "path"]
|
|
60
|
+
},
|
|
61
|
+
"cos": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"description": "腾讯云对象存储配置",
|
|
64
|
+
"properties": {
|
|
65
|
+
"secretid": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "秘钥id"
|
|
68
|
+
},
|
|
69
|
+
"secretkey": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "秘钥key"
|
|
72
|
+
},
|
|
73
|
+
"bucket": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "存储桶名称"
|
|
76
|
+
},
|
|
77
|
+
"region": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "所属地域,例如ap-nanjing"
|
|
80
|
+
},
|
|
81
|
+
"path": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "上传远程目录,默认/"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": ["bucket", "region"]
|
|
87
|
+
},
|
|
88
|
+
"app": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"description": "app配置",
|
|
91
|
+
"properties": {
|
|
92
|
+
"iscustom": {
|
|
93
|
+
"type": "boolean",
|
|
94
|
+
"description": "是否使用自定义基座"
|
|
95
|
+
},
|
|
96
|
+
"safemode": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"description": "是否为安心打包"
|
|
99
|
+
},
|
|
100
|
+
"isconfusion": {
|
|
101
|
+
"type": "boolean",
|
|
102
|
+
"description": "是否对配置的js/nvue文件进行原生混淆"
|
|
103
|
+
},
|
|
104
|
+
"splashads": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"description": "是否开启开屏广告"
|
|
107
|
+
},
|
|
108
|
+
"rpads": {
|
|
109
|
+
"type": "boolean",
|
|
110
|
+
"description": "是否开启悬浮红包广告"
|
|
111
|
+
},
|
|
112
|
+
"pushads": {
|
|
113
|
+
"type": "boolean",
|
|
114
|
+
"description": "是否开启推送广告"
|
|
115
|
+
},
|
|
116
|
+
"exchange": {
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"description": "是否加入换量联盟"
|
|
119
|
+
},
|
|
120
|
+
"harmony": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"description": "harmony配置",
|
|
123
|
+
"properties": {
|
|
124
|
+
"packagename": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"description": "包名"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"required": ["packagename"]
|
|
130
|
+
},
|
|
131
|
+
"windows": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"description": "windows配置",
|
|
134
|
+
"properties": {
|
|
135
|
+
"packagename": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "包名"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"required": ["packagename"]
|
|
141
|
+
},
|
|
142
|
+
"macos": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"description": "macos配置",
|
|
145
|
+
"properties": {
|
|
146
|
+
"packagename": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"description": "包名"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"required": ["packagename"]
|
|
152
|
+
},
|
|
153
|
+
"android": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"description": "android配置",
|
|
156
|
+
"properties": {
|
|
157
|
+
"packagename": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "包名"
|
|
160
|
+
},
|
|
161
|
+
"androidpacktype": {
|
|
162
|
+
"type": "integer",
|
|
163
|
+
"description": "打包类型,0 使用自有证书 1 使用公共证书 2 使用DCloud老版证书"
|
|
164
|
+
},
|
|
165
|
+
"certalias": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "打包证书别名"
|
|
168
|
+
},
|
|
169
|
+
"certfile": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"description": "打包证书文件路径"
|
|
172
|
+
},
|
|
173
|
+
"certpassword": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"description": "打包证书密码"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": ["packagename", "androidpacktype", "certalias", "certfile", "certpassword"]
|
|
179
|
+
},
|
|
180
|
+
"ios": {
|
|
181
|
+
"type": "object",
|
|
182
|
+
"description": "ios配置",
|
|
183
|
+
"properties": {
|
|
184
|
+
"bundle": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"description": "包名"
|
|
187
|
+
},
|
|
188
|
+
"supporteddevice": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"description": "打包支持的设备类型,值有\"iPhone\",\"iPad\" 如果要打多个逗号隔开打包平台"
|
|
191
|
+
},
|
|
192
|
+
"profile": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"description": "使用自定义证书打包的profile文件路径"
|
|
195
|
+
},
|
|
196
|
+
"certfile": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"description": "使用自定义证书打包的p12文件路径"
|
|
199
|
+
},
|
|
200
|
+
"certpassword": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"description": "使用自定义证书打包的证书密码"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"required": ["bundle", "supporteddevice", "profile", "certfile", "certpassword"]
|
|
206
|
+
},
|
|
207
|
+
"wgt": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"description": "移动应用热更新资源配置",
|
|
210
|
+
"properties": {
|
|
211
|
+
"name": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"description": "导出文件名称,例如app.wgt,默认为[appid].wgt"
|
|
214
|
+
},
|
|
215
|
+
"path": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"description": "导出路径,默认unpackage/release"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"zip": {
|
|
222
|
+
"type": "object",
|
|
223
|
+
"description": "桌面应用热更新资源配置",
|
|
224
|
+
"properties": {
|
|
225
|
+
"name": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "导出文件名称,例如app.zip,默认为[name].zip"
|
|
228
|
+
},
|
|
229
|
+
"path": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"description": "导出路径,默认unpackage/release"
|
|
232
|
+
},
|
|
233
|
+
"source": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"description": "资源路径,默认dist/win-unpacked/resources"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"custom": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"description": "自定义基座配置",
|
|
242
|
+
"properties": {
|
|
243
|
+
"android": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"description": "android配置",
|
|
246
|
+
"properties": {
|
|
247
|
+
"packagename": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "包名"
|
|
250
|
+
},
|
|
251
|
+
"androidpacktype": {
|
|
252
|
+
"type": "integer",
|
|
253
|
+
"description": "打包类型,0 使用自有证书 1 使用公共证书 2 使用DCloud老版证书"
|
|
254
|
+
},
|
|
255
|
+
"certalias": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "打包证书别名"
|
|
258
|
+
},
|
|
259
|
+
"certfile": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"description": "打包证书文件路径"
|
|
262
|
+
},
|
|
263
|
+
"certpassword": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"description": "打包证书密码"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"ios": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"description": "ios配置",
|
|
272
|
+
"properties": {
|
|
273
|
+
"bundle": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"description": "包名"
|
|
276
|
+
},
|
|
277
|
+
"supporteddevice": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"description": "打包支持的设备类型,值有\"iPhone\",\"iPad\" 如果要打多个逗号隔开打包平台"
|
|
280
|
+
},
|
|
281
|
+
"profile": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"description": "使用自定义证书打包的profile文件路径"
|
|
284
|
+
},
|
|
285
|
+
"certfile": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"description": "使用自定义证书打包的p12文件路径"
|
|
288
|
+
},
|
|
289
|
+
"certpassword": {
|
|
290
|
+
"type": "string",
|
|
291
|
+
"description": "使用自定义证书打包的证书密码"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": ["profile", "certfile"]
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"mp": {
|
|
301
|
+
"type": "object",
|
|
302
|
+
"description": "小程序配置",
|
|
303
|
+
"properties": {
|
|
304
|
+
"weixin": {
|
|
305
|
+
"type": "object",
|
|
306
|
+
"description": "微信小程序配置",
|
|
307
|
+
"properties": {
|
|
308
|
+
"type": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"description": "上传类型"
|
|
311
|
+
},
|
|
312
|
+
"privatekey": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"description": "代码上传密钥文件"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"required": ["privatekey"]
|
|
318
|
+
},
|
|
319
|
+
"alipay": {
|
|
320
|
+
"type": "object",
|
|
321
|
+
"description": "支付宝小程序配置",
|
|
322
|
+
"properties": {
|
|
323
|
+
"type": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"description": "上传类型"
|
|
326
|
+
},
|
|
327
|
+
"privatekey": {
|
|
328
|
+
"type": "string",
|
|
329
|
+
"description": "代码上传密钥文件"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": ["privatekey"]
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|