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
@@ -0,0 +1,347 @@
1
+ module.exports = {
2
+ "type": "object",
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": {},
52
+ "miniprogramRoot": {
53
+ "type": "string"
54
+ },
55
+ "pluginRoot": {
56
+ "type": "string"
57
+ },
58
+ "pluginAppid": {
59
+ "type": "string"
60
+ },
61
+ "jsserverRoot": {
62
+ "type": "string"
63
+ },
64
+ "projectname": {
65
+ "type": "string"
66
+ },
67
+ "appid": {
68
+ "type": "string"
69
+ },
70
+ "packOptions": {
71
+ "type": "object",
72
+ "properties": {
73
+ "ignore": {
74
+ "type": "array",
75
+ "items": {
76
+ "type": "object",
77
+ "properties": {
78
+ "type": {
79
+ "type": "string"
80
+ },
81
+ "value": {
82
+ "type": "string"
83
+ }
84
+ },
85
+ "required": [
86
+ "type",
87
+ "value"
88
+ ]
89
+ }
90
+ },
91
+ "include": {
92
+ "type": "array",
93
+ "items": {
94
+ "type": "object",
95
+ "properties": {
96
+ "type": {
97
+ "type": "string"
98
+ },
99
+ "value": {
100
+ "type": "string"
101
+ }
102
+ },
103
+ "required": [
104
+ "type",
105
+ "value"
106
+ ]
107
+ }
108
+ }
109
+ }
110
+ },
111
+ "watchOptions": {
112
+ "type": "object",
113
+ "properties": {
114
+ "ignore": {
115
+ "type": "array",
116
+ "items": {
117
+ "type": "string"
118
+ }
119
+ }
120
+ }
121
+ },
122
+ "setting": {
123
+ "type": "object",
124
+ "properties": {
125
+ "autoAudits": {
126
+ "type": "boolean"
127
+ },
128
+ "urlCheck": {
129
+ "type": "boolean"
130
+ },
131
+ "compileHotReLoad": {
132
+ "type": "boolean"
133
+ },
134
+ "preloadBackgroundData": {
135
+ "type": "boolean"
136
+ },
137
+ "lazyloadPlaceholderEnable": {
138
+ "type": "boolean"
139
+ },
140
+ "useStaticServer": {
141
+ "type": "boolean"
142
+ },
143
+ "coverView": {
144
+ "type": "boolean"
145
+ },
146
+ "ignoreDevUnusedFiles": {
147
+ "type": "boolean"
148
+ },
149
+ "checkInvalidKey": {
150
+ "type": "boolean"
151
+ },
152
+ "showShadowRootInWxmlPanel": {
153
+ "type": "boolean"
154
+ },
155
+ "useIsolateContext": {
156
+ "type": "boolean"
157
+ },
158
+ "useMultiFrameRuntime": {
159
+ "type": "boolean"
160
+ },
161
+ "useApiHook": {
162
+ "type": "boolean"
163
+ },
164
+ "useApiHostProcess": {
165
+ "type": "boolean"
166
+ },
167
+ "useLanDebug": {
168
+ "type": "boolean"
169
+ },
170
+ "enableEngineNative": {
171
+ "type": "boolean"
172
+ },
173
+ "showES6CompileOption": {
174
+ "type": "boolean"
175
+ }
176
+ }
177
+ },
178
+ "staticServerOptions": {
179
+ "type": "object",
180
+ "properties": {
181
+ "servePath": {
182
+ "type": "string"
183
+ }
184
+ }
185
+ },
186
+ "condition": {
187
+ "type": "object",
188
+ "properties": {
189
+ "game": {
190
+ "type": "object",
191
+ "properties": {
192
+ "current": {
193
+ "type": "number"
194
+ },
195
+ "list": {
196
+ "type": "array",
197
+ "items": {
198
+ "type": "object",
199
+ "properties": {
200
+ "name": {
201
+ "type": "string"
202
+ },
203
+ "pathName": {
204
+ "type": "string"
205
+ },
206
+ "query": {
207
+ "type": "string"
208
+ },
209
+ "scene": {
210
+ "type": [
211
+ "null",
212
+ "number"
213
+ ]
214
+ },
215
+ "shareInfo": {},
216
+ "referrerInfo": {},
217
+ "chatroomUsernameInfo": {},
218
+ "groupInfo": {}
219
+ }
220
+ }
221
+ }
222
+ }
223
+ },
224
+ "gamePlugin": {
225
+ "type": "object",
226
+ "properties": {
227
+ "current": {
228
+ "type": "number"
229
+ },
230
+ "list": {
231
+ "type": "array",
232
+ "items": {
233
+ "type": "object",
234
+ "properties": {
235
+ "name": {
236
+ "type": "string"
237
+ },
238
+ "query": {
239
+ "type": "string"
240
+ },
241
+ "scene": {
242
+ "type": [
243
+ "null",
244
+ "number"
245
+ ]
246
+ },
247
+ "shareInfo": {},
248
+ "referrerInfo": {},
249
+ "groupInfo": {}
250
+ }
251
+ }
252
+ }
253
+ }
254
+ },
255
+ "plugin": {
256
+ "type": "object",
257
+ "properties": {
258
+ "current": {
259
+ "type": "number"
260
+ },
261
+ "list": {
262
+ "type": "array",
263
+ "items": {
264
+ "type": "object",
265
+ "properties": {
266
+ "name": {
267
+ "type": "string"
268
+ },
269
+ "pathName": {
270
+ "type": "string"
271
+ },
272
+ "query": {
273
+ "type": "string"
274
+ },
275
+ "launchMode": {
276
+ "type": "string"
277
+ },
278
+ "scene": {
279
+ "type": [
280
+ "null",
281
+ "number"
282
+ ]
283
+ },
284
+ "shareInfo": {},
285
+ "referrerInfo": {},
286
+ "groupInfo": {}
287
+ }
288
+ }
289
+ }
290
+ }
291
+ },
292
+ "miniprogram": {
293
+ "type": "object",
294
+ "properties": {
295
+ "current": {
296
+ "type": "number"
297
+ },
298
+ "list": {
299
+ "type": "array",
300
+ "items": {
301
+ "type": "object",
302
+ "properties": {
303
+ "name": {
304
+ "type": "string"
305
+ },
306
+ "pathName": {
307
+ "type": "string"
308
+ },
309
+ "query": {
310
+ "type": "string"
311
+ },
312
+ "launchMode": {
313
+ "type": "string"
314
+ },
315
+ "scene": {
316
+ "type": [
317
+ "null",
318
+ "number"
319
+ ]
320
+ },
321
+ "partialCompile": {
322
+ "type": "object",
323
+ "properties": {
324
+ "enabled": {
325
+ "type": "boolean"
326
+ },
327
+ "pages": {
328
+ "type": "array",
329
+ "items": {}
330
+ }
331
+ }
332
+ },
333
+ "shareInfo": {},
334
+ "referrerInfo": {},
335
+ "chatroomUsernameInfo": {},
336
+ "groupInfo": {}
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "$schema": "http://json-schema.org/draft-07/schema#",
346
+ "$version": 1647243737370
347
+ }
@@ -49,5 +49,5 @@ module.exports = {
49
49
  "rules"
50
50
  ],
51
51
  "$schema": "http://json-schema.org/draft-07/schema#",
52
- "$version": 1631795974265
52
+ "$version": 1646911935391
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": 1631795974265
19
+ "$version": 1646911935392
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miniprogram-ci",
3
- "version": "1.8.0",
3
+ "version": "1.8.12",
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",
@@ -40,10 +40,10 @@
40
40
  "author": "canhuang",
41
41
  "license": "MIT",
42
42
  "devDependencies": {
43
- "@tencent/eslint-config-tencent": "^1.0.0-beta.5",
43
+ "@tencent/eslint-config-tencent": "^1.0.4",
44
+ "@types/babel__core": "^7.1.17",
44
45
  "@types/babel-code-frame": "^6.20.2",
45
46
  "@types/babel-core": "^6.25.6",
46
- "@types/babel__core": "^7.1.17",
47
47
  "@types/cssnano": "^4.0.1",
48
48
  "@types/estree": "0.0.47",
49
49
  "@types/fs-extra": "^8.0.0",