miniprogram-ci 1.8.0 → 1.8.12

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1 -1
  3. package/dist/@types/ci/cos-upload.d.ts +1 -3
  4. package/dist/@types/config.d.ts +1 -1
  5. package/dist/@types/core/json/app/checkAppFields.d.ts +1 -0
  6. package/dist/@types/summer/devtool.d.ts +5 -0
  7. package/dist/@types/summer/graph/basegraph.d.ts +2 -0
  8. package/dist/@types/summer/summer.d.ts +1 -0
  9. package/dist/@types/summer/types.d.ts +12 -3
  10. package/dist/@types/types/miniprogram-json/app.d.ts +3 -0
  11. package/dist/@types/utils/locales/locales.d.ts +2 -0
  12. package/dist/@types/utils/locales/zh.d.ts +2 -0
  13. package/dist/ci/cos-upload.js +1 -1
  14. package/dist/ci/upload.js +1 -1
  15. package/dist/config.js +1 -1
  16. package/dist/core/compile/game.js +1 -1
  17. package/dist/core/compile/mini_program.js +1 -1
  18. package/dist/core/js/minifyjs.js +1 -1
  19. package/dist/core/json/app/checkAppFields.js +1 -1
  20. package/dist/core/json/app/getAppJSON.js +1 -1
  21. package/dist/core/json/page/getPageJSON.js +1 -1
  22. package/dist/core/json/projectconfig.js +1 -1
  23. package/dist/core/worker_thread/task/compilejs.js +1 -1
  24. package/dist/manifest.json +3 -3
  25. package/dist/schema/dist/index.d.ts +1 -1
  26. package/dist/summer/ci.js +1 -1
  27. package/dist/summer/graph/appgraph.js +1 -1
  28. package/dist/summer/graph/basegraph.js +1 -1
  29. package/dist/summer/graph/plugingraph.js +1 -1
  30. package/dist/summer/plugins/base/es6module.js +1 -1
  31. package/dist/summer/plugins/enhance.js +1 -1
  32. package/dist/summer/plugins/terser.js +1 -1
  33. package/dist/summer/summer.js +1 -1
  34. package/dist/utils/locales/en.js +1 -1
  35. package/dist/utils/locales/zh.js +1 -1
  36. package/dist/utils/white_ext_list.js +1 -1
  37. package/dist/vendor/schema/dist/app.js +37 -1
  38. package/dist/vendor/schema/dist/ext.js +32 -1
  39. package/dist/vendor/schema/dist/game.js +1 -1
  40. package/dist/vendor/schema/dist/index.js +2 -1
  41. package/dist/vendor/schema/dist/page.js +24 -1
  42. package/dist/vendor/schema/dist/plugin.js +1 -1
  43. package/dist/vendor/schema/dist/pluginpage.js +1 -1
  44. package/dist/vendor/schema/dist/projectconfig.js +391 -12
  45. package/dist/vendor/schema/dist/projectprivateconfig.js +347 -0
  46. package/dist/vendor/schema/dist/sitemap.js +1 -1
  47. package/dist/vendor/schema/dist/theme.js +1 -1
  48. package/package.json +3 -3
@@ -1,18 +1,81 @@
1
1
  module.exports = {
2
2
  "type": "object",
3
3
  "properties": {
4
+ "libVersion": {
5
+ "type": "string"
6
+ },
7
+ "editorSetting": {
8
+ "type": "object",
9
+ "properties": {
10
+ "tabIndent": {
11
+ "enum": [
12
+ "auto",
13
+ "insertSpaces",
14
+ "tab"
15
+ ],
16
+ "type": "string"
17
+ },
18
+ "tabSize": {
19
+ "anyOf": [
20
+ {
21
+ "enum": [
22
+ "\t"
23
+ ],
24
+ "type": "string"
25
+ },
26
+ {
27
+ "type": "number"
28
+ }
29
+ ]
30
+ }
31
+ }
32
+ },
33
+ "cloudfunctionRoot": {
34
+ "type": "string"
35
+ },
36
+ "cloudfunctionTemplateRoot": {
37
+ "type": "string"
38
+ },
39
+ "cloudcontainerRoot": {
40
+ "type": "string"
41
+ },
42
+ "srcMiniprogramRoot": {
43
+ "type": "string"
44
+ },
45
+ "description": {
46
+ "type": "string"
47
+ },
48
+ "simulatorType": {
49
+ "type": "string"
50
+ },
51
+ "simulatorPluginLibVersion": {},
4
52
  "miniprogramRoot": {
5
53
  "type": "string"
6
54
  },
55
+ "qcloudRoot": {
56
+ "type": "string"
57
+ },
7
58
  "pluginRoot": {
8
59
  "type": "string"
9
60
  },
61
+ "cloudbaseRoot": {
62
+ "type": "string"
63
+ },
64
+ "compileType": {
65
+ "type": "string"
66
+ },
10
67
  "pluginAppid": {
11
68
  "type": "string"
12
69
  },
13
70
  "jsserverRoot": {
14
71
  "type": "string"
15
72
  },
73
+ "projectname": {
74
+ "type": "string"
75
+ },
76
+ "appid": {
77
+ "type": "string"
78
+ },
16
79
  "packOptions": {
17
80
  "type": "object",
18
81
  "properties": {
@@ -28,7 +91,6 @@ module.exports = {
28
91
  "type": "string"
29
92
  }
30
93
  },
31
- "additionalProperties": false,
32
94
  "required": [
33
95
  "type",
34
96
  "value"
@@ -47,15 +109,13 @@ module.exports = {
47
109
  "type": "string"
48
110
  }
49
111
  },
50
- "additionalProperties": false,
51
112
  "required": [
52
113
  "type",
53
114
  "value"
54
115
  ]
55
116
  }
56
117
  }
57
- },
58
- "additionalProperties": false
118
+ }
59
119
  },
60
120
  "watchOptions": {
61
121
  "type": "object",
@@ -66,26 +126,345 @@ module.exports = {
66
126
  "type": "string"
67
127
  }
68
128
  }
69
- },
70
- "additionalProperties": false
129
+ }
71
130
  },
72
131
  "setting": {
73
132
  "type": "object",
74
133
  "properties": {
134
+ "es6": {
135
+ "type": "boolean"
136
+ },
137
+ "enhance": {
138
+ "type": "boolean"
139
+ },
140
+ "postcss": {
141
+ "type": "boolean"
142
+ },
143
+ "minified": {
144
+ "type": "boolean"
145
+ },
146
+ "minifyWXSS": {
147
+ "type": "boolean"
148
+ },
149
+ "minifyWXML": {
150
+ "type": "boolean"
151
+ },
152
+ "uglifyFileName": {
153
+ "type": "boolean"
154
+ },
155
+ "ignoreUploadUnusedFiles": {
156
+ "type": "boolean"
157
+ },
158
+ "autoAudits": {
159
+ "type": "boolean"
160
+ },
161
+ "urlCheck": {
162
+ "type": "boolean"
163
+ },
164
+ "compileHotReLoad": {
165
+ "type": "boolean"
166
+ },
167
+ "preloadBackgroundData": {
168
+ "type": "boolean"
169
+ },
170
+ "lazyloadPlaceholderEnable": {
171
+ "type": "boolean"
172
+ },
173
+ "useStaticServer": {
174
+ "type": "boolean"
175
+ },
75
176
  "babelSetting": {
76
177
  "type": "object",
77
178
  "properties": {
78
179
  "outputPath": {
79
180
  "type": "string"
181
+ },
182
+ "ignore": {
183
+ "type": "array",
184
+ "items": {
185
+ "type": "string"
186
+ }
187
+ },
188
+ "disablePlugins": {
189
+ "type": "array",
190
+ "items": {}
80
191
  }
81
- },
82
- "additionalProperties": false
192
+ }
193
+ },
194
+ "useCompilerPlugins": {
195
+ "anyOf": [
196
+ {
197
+ "type": "array",
198
+ "items": {
199
+ "enum": [
200
+ "less",
201
+ "sass",
202
+ "typescript"
203
+ ],
204
+ "type": "string"
205
+ }
206
+ },
207
+ {
208
+ "enum": [
209
+ false
210
+ ],
211
+ "type": "boolean"
212
+ }
213
+ ]
214
+ },
215
+ "disableUseStrict": {
216
+ "type": "boolean"
217
+ },
218
+ "uploadWithSourceMap": {
219
+ "type": "boolean"
220
+ },
221
+ "localPlugins": {
222
+ "type": "boolean"
223
+ },
224
+ "packNpmManually": {
225
+ "type": "boolean"
226
+ },
227
+ "packNpmRelationList": {
228
+ "type": "array",
229
+ "items": {
230
+ "type": "object",
231
+ "properties": {
232
+ "packageJsonPath": {
233
+ "type": "string"
234
+ },
235
+ "miniprogramNpmDistDir": {
236
+ "type": "string"
237
+ }
238
+ }
239
+ }
240
+ },
241
+ "coverView": {
242
+ "type": "boolean"
243
+ },
244
+ "ignoreDevUnusedFiles": {
245
+ "type": "boolean"
246
+ },
247
+ "checkInvalidKey": {
248
+ "type": "boolean"
249
+ },
250
+ "showShadowRootInWxmlPanel": {
251
+ "type": "boolean"
252
+ },
253
+ "useIsolateContext": {
254
+ "type": "boolean"
255
+ },
256
+ "useMultiFrameRuntime": {
257
+ "type": "boolean"
258
+ },
259
+ "useApiHook": {
260
+ "type": "boolean"
261
+ },
262
+ "useApiHostProcess": {
263
+ "type": "boolean"
264
+ },
265
+ "useLanDebug": {
266
+ "type": "boolean"
267
+ },
268
+ "enableEngineNative": {
269
+ "type": "boolean"
270
+ },
271
+ "showES6CompileOption": {
272
+ "type": "boolean"
273
+ }
274
+ }
275
+ },
276
+ "staticServerOptions": {
277
+ "type": "object",
278
+ "properties": {
279
+ "servePath": {
280
+ "type": "string"
281
+ }
282
+ }
283
+ },
284
+ "scripts": {
285
+ "type": "object",
286
+ "properties": {
287
+ "beforeCompile": {
288
+ "type": "string"
289
+ },
290
+ "beforePreview": {
291
+ "type": "string"
292
+ },
293
+ "beforeUpload": {
294
+ "type": "string"
295
+ }
296
+ }
297
+ },
298
+ "debugOptions": {
299
+ "type": "object",
300
+ "properties": {
301
+ "hideInDevtools": {
302
+ "type": "array",
303
+ "items": {
304
+ "type": "string"
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "condition": {
310
+ "type": "object",
311
+ "properties": {
312
+ "game": {
313
+ "type": "object",
314
+ "properties": {
315
+ "current": {
316
+ "type": "number"
317
+ },
318
+ "list": {
319
+ "type": "array",
320
+ "items": {
321
+ "type": "object",
322
+ "properties": {
323
+ "name": {
324
+ "type": "string"
325
+ },
326
+ "pathName": {
327
+ "type": "string"
328
+ },
329
+ "query": {
330
+ "type": "string"
331
+ },
332
+ "scene": {
333
+ "type": [
334
+ "null",
335
+ "number"
336
+ ]
337
+ },
338
+ "shareInfo": {},
339
+ "referrerInfo": {},
340
+ "chatroomUsernameInfo": {},
341
+ "groupInfo": {}
342
+ }
343
+ }
344
+ }
345
+ }
346
+ },
347
+ "gamePlugin": {
348
+ "type": "object",
349
+ "properties": {
350
+ "current": {
351
+ "type": "number"
352
+ },
353
+ "list": {
354
+ "type": "array",
355
+ "items": {
356
+ "type": "object",
357
+ "properties": {
358
+ "name": {
359
+ "type": "string"
360
+ },
361
+ "query": {
362
+ "type": "string"
363
+ },
364
+ "scene": {
365
+ "type": [
366
+ "null",
367
+ "number"
368
+ ]
369
+ },
370
+ "shareInfo": {},
371
+ "referrerInfo": {},
372
+ "groupInfo": {}
373
+ }
374
+ }
375
+ }
376
+ }
377
+ },
378
+ "plugin": {
379
+ "type": "object",
380
+ "properties": {
381
+ "current": {
382
+ "type": "number"
383
+ },
384
+ "list": {
385
+ "type": "array",
386
+ "items": {
387
+ "type": "object",
388
+ "properties": {
389
+ "name": {
390
+ "type": "string"
391
+ },
392
+ "pathName": {
393
+ "type": "string"
394
+ },
395
+ "query": {
396
+ "type": "string"
397
+ },
398
+ "launchMode": {
399
+ "type": "string"
400
+ },
401
+ "scene": {
402
+ "type": [
403
+ "null",
404
+ "number"
405
+ ]
406
+ },
407
+ "shareInfo": {},
408
+ "referrerInfo": {},
409
+ "groupInfo": {}
410
+ }
411
+ }
412
+ }
413
+ }
414
+ },
415
+ "miniprogram": {
416
+ "type": "object",
417
+ "properties": {
418
+ "current": {
419
+ "type": "number"
420
+ },
421
+ "list": {
422
+ "type": "array",
423
+ "items": {
424
+ "type": "object",
425
+ "properties": {
426
+ "name": {
427
+ "type": "string"
428
+ },
429
+ "pathName": {
430
+ "type": "string"
431
+ },
432
+ "query": {
433
+ "type": "string"
434
+ },
435
+ "launchMode": {
436
+ "type": "string"
437
+ },
438
+ "scene": {
439
+ "type": [
440
+ "null",
441
+ "number"
442
+ ]
443
+ },
444
+ "partialCompile": {
445
+ "type": "object",
446
+ "properties": {
447
+ "enabled": {
448
+ "type": "boolean"
449
+ },
450
+ "pages": {
451
+ "type": "array",
452
+ "items": {}
453
+ }
454
+ }
455
+ },
456
+ "shareInfo": {},
457
+ "referrerInfo": {},
458
+ "chatroomUsernameInfo": {},
459
+ "groupInfo": {}
460
+ }
461
+ }
462
+ }
463
+ }
83
464
  }
84
- },
85
- "additionalProperties": false
465
+ }
86
466
  }
87
467
  },
88
- "additionalProperties": false,
89
468
  "$schema": "http://json-schema.org/draft-07/schema#",
90
- "$version": 1640574774061
469
+ "$version": 1647243253912
91
470
  }