@cloudbase/lowcode-builder 1.10.11 → 1.10.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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.generateSystemPackageDependencies = exports.generateLibDependencies = exports.generatePackageDependencies = void 0;
|
|
4
4
|
const cals_1 = require("@cloudbase/cals");
|
|
5
|
-
const CLOUDBASE_VERSION = '2.
|
|
5
|
+
const CLOUDBASE_VERSION = '2.12.1';
|
|
6
6
|
const BASE_DEPS = {
|
|
7
7
|
'miniprogram-gesture': '^1.0.6',
|
|
8
8
|
mobx: '^5',
|
|
@@ -13,8 +13,8 @@ const BASE_DEPS = {
|
|
|
13
13
|
* 注意锁版本
|
|
14
14
|
*/
|
|
15
15
|
const CLOUDBASE_DEPS = {
|
|
16
|
-
'@cloudbase/weda-client': '1.1.
|
|
17
|
-
'@cloudbase/weda-cloud-sdk': '1.0.
|
|
16
|
+
'@cloudbase/weda-client': '1.1.29',
|
|
17
|
+
'@cloudbase/weda-cloud-sdk': '1.0.101',
|
|
18
18
|
};
|
|
19
19
|
const COMPONENT_DEPS = {
|
|
20
20
|
'@cloudbase/lowcode-render': '^1.1.10',
|
package/lib/builder/mp/index.js
CHANGED
|
@@ -667,7 +667,11 @@ async function generateFramework(ctx, { cals, weapp: appData }, outDir, options)
|
|
|
667
667
|
allCodeModules.push({
|
|
668
668
|
id: p.id,
|
|
669
669
|
pageNameVar: (0, lowcode_generator_1.normalizePageId)(p.id),
|
|
670
|
-
lowCodes: p.lowCodes || [],
|
|
670
|
+
lowCodes: Object.values((p.lowCodes || []).reduce((map, item) => {
|
|
671
|
+
const key = `${item.type}/${item.name}`;
|
|
672
|
+
map[key] = item;
|
|
673
|
+
return map;
|
|
674
|
+
}, {})),
|
|
671
675
|
});
|
|
672
676
|
});
|
|
673
677
|
fileData['app/handlers.js'] = {
|