miniprogram-ci 1.8.35 → 1.8.60
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 +5 -0
- package/README.md +1 -0
- package/dist/@types/ci/upload.d.ts +1 -0
- package/dist/@types/config.d.ts +2 -1
- package/dist/@types/core/json/app/checkAppFields.d.ts +1 -0
- package/dist/@types/core/protect/file_flatter.d.ts +1 -0
- package/dist/@types/core.d.ts +0 -2
- package/dist/@types/index.d.ts +1 -0
- package/dist/@types/summer/devtool.d.ts +0 -1
- package/dist/@types/summer/graph/appconf.d.ts +0 -1
- package/dist/@types/types/miniprogram-json/app.d.ts +10 -2
- package/dist/@types/types/miniprogram-json/game.d.ts +4 -1
- package/dist/@types/types/miniprogram-json/page.d.ts +1 -1
- package/dist/@types/utils/babel_plugin_worklet.d.ts +0 -4
- package/dist/@types/utils/locales/locales.d.ts +1 -0
- package/dist/@types/utils/locales/zh.d.ts +1 -0
- package/dist/@types/utils/tools.d.ts +2 -0
- package/dist/@types/vendor/cloud-api/src/apis/scf/scf.apis.d.ts +2 -0
- package/dist/@types/vendor/cloud-api/src/apis/tcb/tcb.apis.d.ts +19 -0
- package/dist/@types/vendor/cloud-api/src/transaction/contracts/scf.contracts.d.ts +2 -0
- package/dist/@types/vendor/cloud-api/src/transaction/contracts/tcb.contracts.d.ts +19 -0
- package/dist/@types/vendor/cloud-api/src/transaction/validations/common.validations.d.ts +16 -0
- package/dist/@types/vendor/cloud-api/src/transaction/validations/scf.validations.d.ts +2 -0
- package/dist/@types/vendor/cloud-api/src/transaction/validations/tcb.validations.d.ts +19 -0
- package/dist/@types/vendor/code-analyse/index.d.ts +20 -15
- package/dist/ci/upload.js +1 -1
- package/dist/cloud/uploadFunction.js +1 -1
- package/dist/config.js +1 -1
- package/dist/core/compile/handler/js.js +1 -1
- package/dist/core/compile/handler/mpjson.js +1 -1
- package/dist/core/json/app/checkAppFields.js +1 -1
- package/dist/core/json/app/getAppJSON.js +1 -1
- package/dist/core/json/app/getExtJSON.js +1 -1
- package/dist/core/json/game.js +1 -1
- package/dist/core/npm/packnpm.js +1 -1
- package/dist/core/protect/file_flatter.js +1 -1
- package/dist/core/protect/uglifyfilenames.js +1 -1
- package/dist/core.js +1 -1
- package/dist/index.js +1 -1
- package/dist/manifest.json +2 -2
- package/dist/summer/devtool.js +1 -1
- package/dist/summer/graph/appconf.js +1 -1
- package/dist/summer/graph/appgraph.js +1 -1
- package/dist/summer/graph/pluginconf.js +1 -1
- package/dist/utils/babel_plugin_worklet.js +1 -1
- package/dist/utils/locales/en.js +1 -1
- package/dist/utils/locales/zh.js +1 -1
- package/dist/utils/tools.js +1 -1
- package/dist/vendor/cloud-api/src/apis/flexdb/flexdb.apis.js +1 -1
- package/dist/vendor/cloud-api/src/apis/scf/scf.apis.js +1 -1
- package/dist/vendor/cloud-api/src/apis/tcb/tcb.apis.js +1 -1
- package/dist/vendor/cloud-api/src/transaction/contracts/factory.js +1 -1
- package/dist/vendor/cloud-api/src/transaction/contracts/scf.contracts.js +1 -1
- package/dist/vendor/cloud-api/src/transaction/contracts/tcb.contracts.js +1 -1
- package/dist/vendor/cloud-api/src/transaction/validations/common.validations.js +1 -1
- package/dist/vendor/cloud-api/src/transaction/validations/scf.validations.js +1 -1
- package/dist/vendor/cloud-api/src/transaction/validations/tcb.validations.js +1 -1
- package/dist/vendor/cloud-api/src/utils/common.js +1 -1
- package/dist/vendor/code-analyse/index.js +1 -1
- package/dist/vendor/schema/dist/app.js +47 -2
- package/dist/vendor/schema/dist/ext.js +32 -2
- package/dist/vendor/schema/dist/game.js +22 -2
- package/dist/vendor/schema/dist/page.js +1 -1
- package/dist/vendor/schema/dist/plugin.js +1 -1
- package/dist/vendor/schema/dist/pluginpage.js +1 -1
- package/dist/vendor/schema/dist/projectconfig.js +1 -1
- package/dist/vendor/schema/dist/projectprivateconfig.js +1 -1
- package/dist/vendor/schema/dist/sitemap.js +1 -1
- package/dist/vendor/schema/dist/theme.js +1 -1
- package/package.json +4 -4
|
@@ -36,12 +36,44 @@ module.exports = {
|
|
|
36
36
|
"required": [
|
|
37
37
|
"desc"
|
|
38
38
|
]
|
|
39
|
+
},
|
|
40
|
+
"scope.userFuzzyLocation": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"desc": {
|
|
44
|
+
"type": "string"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"required": [
|
|
49
|
+
"desc"
|
|
50
|
+
]
|
|
39
51
|
}
|
|
40
52
|
},
|
|
41
53
|
"additionalProperties": false
|
|
42
54
|
},
|
|
43
55
|
"workers": {
|
|
44
|
-
"
|
|
56
|
+
"anyOf": [
|
|
57
|
+
{
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"path": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"isSubpackage": {
|
|
64
|
+
"type": "boolean"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": [
|
|
69
|
+
"isSubpackage",
|
|
70
|
+
"path"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "string"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
45
77
|
},
|
|
46
78
|
"subPackages": {
|
|
47
79
|
"type": "array",
|
|
@@ -159,6 +191,9 @@ module.exports = {
|
|
|
159
191
|
"cloud": {
|
|
160
192
|
"type": "boolean"
|
|
161
193
|
},
|
|
194
|
+
"cloudVersion": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
162
197
|
"openDataContext": {
|
|
163
198
|
"type": "string"
|
|
164
199
|
},
|
|
@@ -301,6 +336,16 @@ module.exports = {
|
|
|
301
336
|
"requiredPrivateInfos": {
|
|
302
337
|
"type": "array",
|
|
303
338
|
"items": {
|
|
339
|
+
"enum": [
|
|
340
|
+
"chooseAddress",
|
|
341
|
+
"chooseLocation",
|
|
342
|
+
"choosePoi",
|
|
343
|
+
"getFuzzyLocation",
|
|
344
|
+
"getLocation",
|
|
345
|
+
"onLocationChange",
|
|
346
|
+
"startLocationUpdate",
|
|
347
|
+
"startLocationUpdateBackground"
|
|
348
|
+
],
|
|
304
349
|
"type": "string"
|
|
305
350
|
}
|
|
306
351
|
}
|
|
@@ -569,5 +614,5 @@ module.exports = {
|
|
|
569
614
|
}
|
|
570
615
|
},
|
|
571
616
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
572
|
-
"$version":
|
|
617
|
+
"$version": 1666151367390
|
|
573
618
|
}
|
|
@@ -60,7 +60,27 @@ module.exports = {
|
|
|
60
60
|
"additionalProperties": false
|
|
61
61
|
},
|
|
62
62
|
"workers": {
|
|
63
|
-
"
|
|
63
|
+
"anyOf": [
|
|
64
|
+
{
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"path": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"isSubpackage": {
|
|
71
|
+
"type": "boolean"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"additionalProperties": false,
|
|
75
|
+
"required": [
|
|
76
|
+
"isSubpackage",
|
|
77
|
+
"path"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "string"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
64
84
|
},
|
|
65
85
|
"subPackages": {
|
|
66
86
|
"type": "array",
|
|
@@ -251,6 +271,16 @@ module.exports = {
|
|
|
251
271
|
"requiredPrivateInfos": {
|
|
252
272
|
"type": "array",
|
|
253
273
|
"items": {
|
|
274
|
+
"enum": [
|
|
275
|
+
"chooseAddress",
|
|
276
|
+
"chooseLocation",
|
|
277
|
+
"choosePoi",
|
|
278
|
+
"getFuzzyLocation",
|
|
279
|
+
"getLocation",
|
|
280
|
+
"onLocationChange",
|
|
281
|
+
"startLocationUpdate",
|
|
282
|
+
"startLocationUpdateBackground"
|
|
283
|
+
],
|
|
254
284
|
"type": "string"
|
|
255
285
|
}
|
|
256
286
|
}
|
|
@@ -827,5 +857,5 @@ module.exports = {
|
|
|
827
857
|
}
|
|
828
858
|
},
|
|
829
859
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
830
|
-
"$version":
|
|
860
|
+
"$version": 1666151169461
|
|
831
861
|
}
|
|
@@ -35,7 +35,27 @@ module.exports = {
|
|
|
35
35
|
"type": "boolean"
|
|
36
36
|
},
|
|
37
37
|
"workers": {
|
|
38
|
-
"
|
|
38
|
+
"anyOf": [
|
|
39
|
+
{
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"path": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"isSubpackage": {
|
|
46
|
+
"type": "boolean"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"required": [
|
|
51
|
+
"isSubpackage",
|
|
52
|
+
"path"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "string"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
39
59
|
},
|
|
40
60
|
"disableSetUserStorageFromMiniProgram": {
|
|
41
61
|
"type": "boolean"
|
|
@@ -187,5 +207,5 @@ module.exports = {
|
|
|
187
207
|
}
|
|
188
208
|
},
|
|
189
209
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
190
|
-
"$version":
|
|
210
|
+
"$version": 1666151169461
|
|
191
211
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "miniprogram-ci",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.60",
|
|
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,12 +76,10 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@babel/core": "7.12.3",
|
|
79
|
-
"@babel/template": "7.16.7",
|
|
80
79
|
"@babel/generator": "7.17.10",
|
|
81
|
-
"@babel/traverse": "7.17.10",
|
|
82
|
-
"@babel/parser": "7.17.10",
|
|
83
80
|
"@babel/helper-module-imports": "7.12.1",
|
|
84
81
|
"@babel/helpers": "7.12.1",
|
|
82
|
+
"@babel/parser": "7.17.10",
|
|
85
83
|
"@babel/plugin-proposal-class-properties": "7.12.1",
|
|
86
84
|
"@babel/plugin-proposal-decorators": "7.12.1",
|
|
87
85
|
"@babel/plugin-proposal-do-expressions": "7.12.1",
|
|
@@ -96,6 +94,8 @@
|
|
|
96
94
|
"@babel/plugin-transform-typescript": "^7.16.1",
|
|
97
95
|
"@babel/preset-env": "7.12.1",
|
|
98
96
|
"@babel/runtime": "7.12.1",
|
|
97
|
+
"@babel/template": "7.16.7",
|
|
98
|
+
"@babel/traverse": "7.17.10",
|
|
99
99
|
"@vue/reactivity": "3.0.5",
|
|
100
100
|
"acorn": "^6.1.1",
|
|
101
101
|
"autoprefixer": "^10.4.0",
|