@gmcb/cli 0.5.5 → 0.6.1
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 +11 -0
- package/README.md +35 -0
- package/lib/actions/build.js +181 -45
- package/lib/actions/copy.js +2 -2
- package/lib/actions/create.js +2 -3
- package/lib/actions/publish.js +67 -38
- package/lib/actions/skill.js +2 -3
- package/lib/apis/http.d.ts +49 -0
- package/lib/apis/http.js +133 -0
- package/lib/apis/index.d.ts +116 -0
- package/lib/apis/index.js +234 -0
- package/lib/bin.js +3 -1
- package/lib/commands/option.d.ts +2 -0
- package/lib/commands/option.js +2 -1
- package/lib/commands/platform.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/scripts/app-apk.d.ts +1 -0
- package/lib/scripts/app-apk.js +15 -0
- package/lib/scripts/app-wgt.d.ts +1 -0
- package/lib/scripts/app-wgt.js +15 -0
- package/lib/scripts/asar-zip.d.ts +1 -0
- package/lib/scripts/asar-zip.js +17 -0
- package/lib/scripts/h5-exe.d.ts +1 -0
- package/lib/scripts/h5-exe.js +17 -0
- package/lib/scripts/h5-zip.d.ts +1 -0
- package/lib/scripts/h5-zip.js +15 -0
- package/lib/scripts/mp-weixin.d.ts +1 -0
- package/lib/scripts/mp-weixin.js +37 -0
- package/lib/scripts/publish.d.ts +9 -0
- package/lib/scripts/publish.js +112 -0
- package/lib/scripts/wgt-zip.d.ts +1 -0
- package/lib/scripts/wgt-zip.js +15 -0
- package/lib/{actions → utils}/config.d.ts +23 -6
- package/lib/{actions → utils}/config.js +19 -17
- package/lib/utils/const.d.ts +25 -1
- package/lib/utils/const.js +31 -2
- package/lib/utils/function.d.ts +2 -0
- package/lib/utils/function.js +20 -0
- package/lib/utils/index.d.ts +2 -0
- package/lib/utils/index.js +2 -0
- package/lib/utils/png2ico.d.ts +1 -0
- package/lib/utils/png2ico.js +48 -0
- package/package.json +8 -3
- package/schema.json +35 -3
package/schema.json
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"description": "远程路径"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
"required": ["brand", "type"
|
|
63
|
+
"required": ["brand", "type"]
|
|
64
64
|
},
|
|
65
65
|
"publish": {
|
|
66
66
|
"type": "object",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"description": "品牌全称"
|
|
72
72
|
},
|
|
73
73
|
"brandId": {
|
|
74
|
-
"type": ["string"
|
|
74
|
+
"type": ["string"],
|
|
75
75
|
"description": "品牌ID"
|
|
76
76
|
},
|
|
77
77
|
"channel": {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"description": "远程路径"
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
|
-
"required": ["
|
|
102
|
+
"required": ["publishType"]
|
|
103
103
|
},
|
|
104
104
|
"cos": {
|
|
105
105
|
"type": "object",
|
|
@@ -193,6 +193,14 @@
|
|
|
193
193
|
"certpassword": {
|
|
194
194
|
"type": "string",
|
|
195
195
|
"description": "打包证书密码"
|
|
196
|
+
},
|
|
197
|
+
"name": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"description": "导出文件名称,默认为app-release.apk"
|
|
200
|
+
},
|
|
201
|
+
"path": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"description": "导出路径,默认app/build/outputs/apk/release"
|
|
196
204
|
}
|
|
197
205
|
},
|
|
198
206
|
"required": ["androidpacktype", "certalias", "certfile", "certpassword"]
|
|
@@ -220,6 +228,14 @@
|
|
|
220
228
|
"certpassword": {
|
|
221
229
|
"type": "string",
|
|
222
230
|
"description": "使用自定义证书打包的证书密码"
|
|
231
|
+
},
|
|
232
|
+
"name": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"description": "导出文件名称,默认为app-release.ipa"
|
|
235
|
+
},
|
|
236
|
+
"path": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"description": "导出路径,默认app/release"
|
|
223
239
|
}
|
|
224
240
|
},
|
|
225
241
|
"required": ["supporteddevice", "profile", "certfile", "certpassword"]
|
|
@@ -310,6 +326,14 @@
|
|
|
310
326
|
"appid": {
|
|
311
327
|
"type": "string",
|
|
312
328
|
"description": "应用ID"
|
|
329
|
+
},
|
|
330
|
+
"name": {
|
|
331
|
+
"type": "string",
|
|
332
|
+
"description": "导出文件名称,默认为app-release.exe"
|
|
333
|
+
},
|
|
334
|
+
"path": {
|
|
335
|
+
"type": "string",
|
|
336
|
+
"description": "导出路径,默认dist"
|
|
313
337
|
}
|
|
314
338
|
}
|
|
315
339
|
},
|
|
@@ -320,6 +344,14 @@
|
|
|
320
344
|
"appid": {
|
|
321
345
|
"type": "string",
|
|
322
346
|
"description": "应用ID"
|
|
347
|
+
},
|
|
348
|
+
"name": {
|
|
349
|
+
"type": "string",
|
|
350
|
+
"description": "导出文件名称,默认为app-release.dmg"
|
|
351
|
+
},
|
|
352
|
+
"path": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"description": "导出路径,默认dist"
|
|
323
355
|
}
|
|
324
356
|
}
|
|
325
357
|
},
|