miniprogram-ci 1.8.12 → 1.8.35

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 (53) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/README.md +0 -1
  3. package/dist/@types/ci/getDevSourceMap.d.ts +1 -1
  4. package/dist/@types/config.d.ts +1 -1
  5. package/dist/@types/core/compile/handler/mpjson.d.ts +5 -0
  6. package/dist/@types/core/worker_thread/childprocess_manager.d.ts +4 -0
  7. package/dist/@types/core/worker_thread/task/minifywxml.d.ts +26 -1
  8. package/dist/@types/summer/graph/appgraph.d.ts +3 -1
  9. package/dist/@types/summer/plugins/minifywxml.d.ts +5 -0
  10. package/dist/@types/types/miniprogram-json/app.d.ts +3 -0
  11. package/dist/@types/types/miniprogram-json/page.d.ts +6 -1
  12. package/dist/@types/utils/babel_plugin_worklet.d.ts +34 -0
  13. package/dist/@types/utils/locales/locales.d.ts +3 -0
  14. package/dist/@types/utils/locales/zh.d.ts +3 -0
  15. package/dist/@types/vendor/code-analyse/index.d.ts +58 -1
  16. package/dist/ci/getDevSourceMap.js +1 -1
  17. package/dist/config.js +1 -1
  18. package/dist/core/compile/game.js +1 -1
  19. package/dist/core/compile/handler/mpjson.js +1 -1
  20. package/dist/core/compile/index.js +1 -1
  21. package/dist/core/compile/mini_program.js +1 -1
  22. package/dist/core/js/enhance.js +1 -1
  23. package/dist/core/json/app/checkAppFields.js +1 -1
  24. package/dist/core/json/app/getAppJSON.js +1 -1
  25. package/dist/core/json/page/getPageJSON.js +1 -1
  26. package/dist/core/worker_thread/childprocess_manager.js +1 -1
  27. package/dist/core/worker_thread/index.js +1 -1
  28. package/dist/core/worker_thread/task/index.js +1 -1
  29. package/dist/core/worker_thread/task/minifywxml.js +1 -1
  30. package/dist/manifest.json +2 -2
  31. package/dist/summer/ci.js +1 -1
  32. package/dist/summer/devtool.js +1 -1
  33. package/dist/summer/graph/appconf.js +1 -1
  34. package/dist/summer/graph/appgraph.js +1 -1
  35. package/dist/summer/plugins/enhance.js +1 -1
  36. package/dist/summer/plugins/index.js +1 -1
  37. package/dist/summer/plugins/minifywxml.js +1 -0
  38. package/dist/utils/babel_plugin_worklet.js +3 -0
  39. package/dist/utils/common.js +1 -1
  40. package/dist/utils/locales/en.js +1 -1
  41. package/dist/utils/locales/zh.js +1 -1
  42. package/dist/vendor/code-analyse/index.js +1 -1
  43. package/dist/vendor/schema/dist/app.js +30 -1
  44. package/dist/vendor/schema/dist/ext.js +34 -3
  45. package/dist/vendor/schema/dist/game.js +1 -1
  46. package/dist/vendor/schema/dist/page.js +5 -3
  47. package/dist/vendor/schema/dist/plugin.js +1 -1
  48. package/dist/vendor/schema/dist/pluginpage.js +1 -1
  49. package/dist/vendor/schema/dist/projectconfig.js +5 -1
  50. package/dist/vendor/schema/dist/projectprivateconfig.js +12 -1
  51. package/dist/vendor/schema/dist/sitemap.js +1 -1
  52. package/dist/vendor/schema/dist/theme.js +1 -1
  53. package/package.json +7 -2
@@ -86,6 +86,12 @@ module.exports = {
86
86
  "type": "string"
87
87
  }
88
88
  },
89
+ "componentPlaceholder": {
90
+ "type": "object",
91
+ "additionalProperties": {
92
+ "type": "string"
93
+ }
94
+ },
89
95
  "tabBar": {
90
96
  "$ref": "#/definitions/ITabBar"
91
97
  },
@@ -291,6 +297,12 @@ module.exports = {
291
297
  }
292
298
  },
293
299
  "additionalProperties": false
300
+ },
301
+ "requiredPrivateInfos": {
302
+ "type": "array",
303
+ "items": {
304
+ "type": "string"
305
+ }
294
306
  }
295
307
  },
296
308
  "additionalProperties": false,
@@ -407,6 +419,15 @@ module.exports = {
407
419
  },
408
420
  "export": {
409
421
  "type": "string"
422
+ },
423
+ "genericsImplementation": {
424
+ "type": "object",
425
+ "additionalProperties": {
426
+ "type": "object",
427
+ "additionalProperties": {
428
+ "type": "string"
429
+ }
430
+ }
410
431
  }
411
432
  },
412
433
  "additionalProperties": false,
@@ -477,6 +498,14 @@ module.exports = {
477
498
  },
478
499
  "selectedIconPath": {
479
500
  "type": "string"
501
+ },
502
+ "renderer": {
503
+ "enum": [
504
+ "cover-view",
505
+ "skyline",
506
+ "webview"
507
+ ],
508
+ "type": "string"
480
509
  }
481
510
  },
482
511
  "additionalProperties": false,
@@ -540,5 +569,5 @@ module.exports = {
540
569
  }
541
570
  },
542
571
  "$schema": "http://json-schema.org/draft-07/schema#",
543
- "$version": 1647412829749
572
+ "$version": 1656931755200
544
573
  }
@@ -105,6 +105,12 @@ module.exports = {
105
105
  "type": "string"
106
106
  }
107
107
  },
108
+ "componentPlaceholder": {
109
+ "type": "object",
110
+ "additionalProperties": {
111
+ "type": "string"
112
+ }
113
+ },
108
114
  "tabBar": {
109
115
  "$ref": "#/definitions/ITabBar"
110
116
  },
@@ -241,6 +247,12 @@ module.exports = {
241
247
  "requiredComponents"
242
248
  ],
243
249
  "type": "string"
250
+ },
251
+ "requiredPrivateInfos": {
252
+ "type": "array",
253
+ "items": {
254
+ "type": "string"
255
+ }
244
256
  }
245
257
  },
246
258
  "additionalProperties": false,
@@ -393,7 +405,8 @@ module.exports = {
393
405
  "renderer": {
394
406
  "enum": [
395
407
  "skyline",
396
- "webview"
408
+ "webview",
409
+ "xr-frame"
397
410
  ],
398
411
  "type": "string"
399
412
  },
@@ -507,7 +520,8 @@ module.exports = {
507
520
  "renderer": {
508
521
  "enum": [
509
522
  "skyline",
510
- "webview"
523
+ "webview",
524
+ "xr-frame"
511
525
  ],
512
526
  "type": "string"
513
527
  },
@@ -663,6 +677,15 @@ module.exports = {
663
677
  },
664
678
  "export": {
665
679
  "type": "string"
680
+ },
681
+ "genericsImplementation": {
682
+ "type": "object",
683
+ "additionalProperties": {
684
+ "type": "object",
685
+ "additionalProperties": {
686
+ "type": "string"
687
+ }
688
+ }
666
689
  }
667
690
  },
668
691
  "additionalProperties": false,
@@ -733,6 +756,14 @@ module.exports = {
733
756
  },
734
757
  "selectedIconPath": {
735
758
  "type": "string"
759
+ },
760
+ "renderer": {
761
+ "enum": [
762
+ "cover-view",
763
+ "skyline",
764
+ "webview"
765
+ ],
766
+ "type": "string"
736
767
  }
737
768
  },
738
769
  "additionalProperties": false,
@@ -796,5 +827,5 @@ module.exports = {
796
827
  }
797
828
  },
798
829
  "$schema": "http://json-schema.org/draft-07/schema#",
799
- "$version": 1646911935390
830
+ "$version": 1656296825852
800
831
  }
@@ -187,5 +187,5 @@ module.exports = {
187
187
  }
188
188
  },
189
189
  "$schema": "http://json-schema.org/draft-07/schema#",
190
- "$version": 1646911935391
190
+ "$version": 1634549592232
191
191
  }
@@ -143,7 +143,8 @@ module.exports = {
143
143
  "renderer": {
144
144
  "enum": [
145
145
  "skyline",
146
- "webview"
146
+ "webview",
147
+ "xr-frame"
147
148
  ],
148
149
  "type": "string"
149
150
  },
@@ -257,7 +258,8 @@ module.exports = {
257
258
  "renderer": {
258
259
  "enum": [
259
260
  "skyline",
260
- "webview"
261
+ "webview",
262
+ "xr-frame"
261
263
  ],
262
264
  "type": "string"
263
265
  },
@@ -306,5 +308,5 @@ module.exports = {
306
308
  }
307
309
  },
308
310
  "$schema": "http://json-schema.org/draft-07/schema#",
309
- "$version": 1647412705627
311
+ "$version": 1656927852490
310
312
  }
@@ -37,5 +37,5 @@ module.exports = {
37
37
  },
38
38
  "additionalProperties": false,
39
39
  "$schema": "http://json-schema.org/draft-07/schema#",
40
- "$version": 1646911935391
40
+ "$version": 1656299567866
41
41
  }
@@ -10,5 +10,5 @@ module.exports = {
10
10
  },
11
11
  "additionalProperties": false,
12
12
  "$schema": "http://json-schema.org/draft-07/schema#",
13
- "$version": 1646911935391
13
+ "$version": 1631795974264
14
14
  }
@@ -332,6 +332,7 @@ module.exports = {
332
332
  "scene": {
333
333
  "type": [
334
334
  "null",
335
+ "string",
335
336
  "number"
336
337
  ]
337
338
  },
@@ -364,6 +365,7 @@ module.exports = {
364
365
  "scene": {
365
366
  "type": [
366
367
  "null",
368
+ "string",
367
369
  "number"
368
370
  ]
369
371
  },
@@ -401,6 +403,7 @@ module.exports = {
401
403
  "scene": {
402
404
  "type": [
403
405
  "null",
406
+ "string",
404
407
  "number"
405
408
  ]
406
409
  },
@@ -438,6 +441,7 @@ module.exports = {
438
441
  "scene": {
439
442
  "type": [
440
443
  "null",
444
+ "string",
441
445
  "number"
442
446
  ]
443
447
  },
@@ -466,5 +470,5 @@ module.exports = {
466
470
  }
467
471
  },
468
472
  "$schema": "http://json-schema.org/draft-07/schema#",
469
- "$version": 1647243253912
473
+ "$version": 1651127201809
470
474
  }
@@ -1,6 +1,13 @@
1
1
  module.exports = {
2
2
  "type": "object",
3
3
  "properties": {
4
+ "projectArchitecture": {
5
+ "enum": [
6
+ "miniProgram",
7
+ "mulitPlatform"
8
+ ],
9
+ "type": "string"
10
+ },
4
11
  "libVersion": {
5
12
  "type": "string"
6
13
  },
@@ -209,6 +216,7 @@ module.exports = {
209
216
  "scene": {
210
217
  "type": [
211
218
  "null",
219
+ "string",
212
220
  "number"
213
221
  ]
214
222
  },
@@ -241,6 +249,7 @@ module.exports = {
241
249
  "scene": {
242
250
  "type": [
243
251
  "null",
252
+ "string",
244
253
  "number"
245
254
  ]
246
255
  },
@@ -278,6 +287,7 @@ module.exports = {
278
287
  "scene": {
279
288
  "type": [
280
289
  "null",
290
+ "string",
281
291
  "number"
282
292
  ]
283
293
  },
@@ -315,6 +325,7 @@ module.exports = {
315
325
  "scene": {
316
326
  "type": [
317
327
  "null",
328
+ "string",
318
329
  "number"
319
330
  ]
320
331
  },
@@ -343,5 +354,5 @@ module.exports = {
343
354
  }
344
355
  },
345
356
  "$schema": "http://json-schema.org/draft-07/schema#",
346
- "$version": 1647243737370
357
+ "$version": 1654742747172
347
358
  }
@@ -49,5 +49,5 @@ module.exports = {
49
49
  "rules"
50
50
  ],
51
51
  "$schema": "http://json-schema.org/draft-07/schema#",
52
- "$version": 1646911935391
52
+ "$version": 1631795974265
53
53
  }
@@ -16,5 +16,5 @@ module.exports = {
16
16
  },
17
17
  "additionalProperties": false,
18
18
  "$schema": "http://json-schema.org/draft-07/schema#",
19
- "$version": 1646911935392
19
+ "$version": 1631795974265
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miniprogram-ci",
3
- "version": "1.8.12",
3
+ "version": "1.8.35",
4
4
  "description": "pre compilation module about the miniProgram / miniGame project extracted from WeChatDevtools.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/@types/index.d.ts",
@@ -76,6 +76,10 @@
76
76
  },
77
77
  "dependencies": {
78
78
  "@babel/core": "7.12.3",
79
+ "@babel/template": "7.16.7",
80
+ "@babel/generator": "7.17.10",
81
+ "@babel/traverse": "7.17.10",
82
+ "@babel/parser": "7.17.10",
79
83
  "@babel/helper-module-imports": "7.12.1",
80
84
  "@babel/helpers": "7.12.1",
81
85
  "@babel/plugin-proposal-class-properties": "7.12.1",
@@ -124,10 +128,11 @@
124
128
  "rimraf": "^3.0.2",
125
129
  "sass": "^1.44.0",
126
130
  "source-map": "0.6.1",
131
+ "string-hash-64": "1.0.3",
127
132
  "terser": "4.8.0",
128
133
  "tslib": "1.10.0",
129
134
  "uglify-js": "3.0.27",
130
135
  "wxml-minifier": "0.0.1",
131
136
  "yargs": "^15.0.2"
132
137
  }
133
- }
138
+ }