@cloudbase/lowcode-builder 1.8.37 → 1.8.39
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/lib/builder/mp/index.js
CHANGED
|
@@ -68,7 +68,7 @@ function patchBuildContext(ctx, calses, weapps) {
|
|
|
68
68
|
return { allAppUsedComps };
|
|
69
69
|
}
|
|
70
70
|
async function generateWxMp({ buildContext, weapps, calses, plugins, deployOptions, options, buildTypeList, ignoreInstall = false, }) {
|
|
71
|
-
var _a;
|
|
71
|
+
var _a, _b;
|
|
72
72
|
const operationLabel = em('Wexin MiniProgram Generated');
|
|
73
73
|
console.time(operationLabel);
|
|
74
74
|
console.log(`Generating ${em('Wexin MiniProgram')} to ${buildContext.projDir}`);
|
|
@@ -196,7 +196,9 @@ async function generateWxMp({ buildContext, weapps, calses, plugins, deployOptio
|
|
|
196
196
|
appID: appId,
|
|
197
197
|
resourceAppid: !!options.isCrossAccount ? options.resourceAppId : '',
|
|
198
198
|
isProd: (deployOptions === null || deployOptions === void 0 ? void 0 : deployOptions.mode) === types_1.DEPLOY_MODE.UPLOAD,
|
|
199
|
-
clientID: (_a = mainAppData.extra) === null || _a === void 0 ? void 0 : _a.
|
|
199
|
+
clientID: ((_a = mainAppData.extra) === null || _a === void 0 ? void 0 : _a.enableLoginStatusShare)
|
|
200
|
+
? mainAppData.envId
|
|
201
|
+
: (_b = mainAppData.extra) === null || _b === void 0 ? void 0 : _b.clientId,
|
|
200
202
|
},
|
|
201
203
|
'datasources/datasource-profiles.js.tpl': {
|
|
202
204
|
datasourceProfiles: (0, util_3.JsonToStringWithVariableName)([], { EOL: false }),
|
|
@@ -117,6 +117,10 @@ function generateMpConfig(ctx, weapps, options) {
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
|
+
if (!projConfig.setting) {
|
|
121
|
+
projConfig.setting = {};
|
|
122
|
+
}
|
|
123
|
+
projConfig.setting.bigPackageSizeSupport = true;
|
|
120
124
|
if (options.mpAppId) {
|
|
121
125
|
projConfig.appId = options.mpAppId;
|
|
122
126
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/lowcode-builder",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.39",
|
|
4
4
|
"description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
|
|
5
5
|
"author": "yhsunshining@gmail.com",
|
|
6
6
|
"homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"url": "https://github.com/TencentCloudBase/cloudbase-framework/issues"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@babel/core": "7.
|
|
43
|
-
"@babel/preset-env": "7.
|
|
44
|
-
"@cloudbase/cals": "^1.0.
|
|
45
|
-
"@cloudbase/lowcode-generator": "^1.8.
|
|
42
|
+
"@babel/core": "7.21.4",
|
|
43
|
+
"@babel/preset-env": "7.21.4",
|
|
44
|
+
"@cloudbase/cals": "^1.0.27",
|
|
45
|
+
"@cloudbase/lowcode-generator": "^1.8.14",
|
|
46
46
|
"axios": "^0.21.0",
|
|
47
47
|
"browserfs": "^1.4.3",
|
|
48
48
|
"browserify-zlib": "^0.2.0",
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
crossorigin
|
|
541
541
|
src="<%=
|
|
542
542
|
cdnEndpoints.cdngo
|
|
543
|
-
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.
|
|
543
|
+
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.688ae2e72c62a162dbdd.bundle.js"
|
|
544
544
|
></script>
|
|
545
545
|
</body>
|
|
546
546
|
</html>
|