@cloudbase/lowcode-builder 1.3.12-alpha.1 → 1.3.12-alpha.3

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.
@@ -6,12 +6,12 @@ export declare const materialsDirName = "materials";
6
6
  * src/template的代码,在IDE编辑器插件中构建builder
7
7
  * 存放在大账号:100015939275。访问地址:https://console.cloud.tencent.com/cos/bucket?bucket=comp-public-1303824488&region=ap-shanghai&path=%252Flcap-builder%252F
8
8
  */
9
- export declare const builderTemplateURL = "http://127.0.0.1:8000/template.zip";
9
+ export declare const builderTemplateURL = "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/lcap-builder/template_20230213.zip";
10
10
  /**
11
11
  * miniprogram的代码,IDE插件后续会提供端功能
12
12
  * 存放在大账号:100015939275。访问地址:https://console.cloud.tencent.com/cos/bucket?bucket=comp-public-1303824488&region=ap-shanghai&path=%252Flcap-builder%252F
13
13
  */
14
- export declare const miniprogramURL = "http://127.0.0.1:8000/miniprogram_npm.zip";
14
+ export declare const miniprogramURL = "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/lcap-builder/miniprogram_npm_20230213.zip";
15
15
  /**
16
16
  * miniprogram_npm存放目录。IDE插件builder用到
17
17
  */
@@ -45,12 +45,12 @@ exports.materialsDirName = 'materials'; // materials diretory of current project
45
45
  * src/template的代码,在IDE编辑器插件中构建builder
46
46
  * 存放在大账号:100015939275。访问地址:https://console.cloud.tencent.com/cos/bucket?bucket=comp-public-1303824488&region=ap-shanghai&path=%252Flcap-builder%252F
47
47
  */
48
- exports.builderTemplateURL = 'http://127.0.0.1:8000/template.zip';
48
+ exports.builderTemplateURL = 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/lcap-builder/template_20230213.zip';
49
49
  /**
50
50
  * miniprogram的代码,IDE插件后续会提供端功能
51
51
  * 存放在大账号:100015939275。访问地址:https://console.cloud.tencent.com/cos/bucket?bucket=comp-public-1303824488&region=ap-shanghai&path=%252Flcap-builder%252F
52
52
  */
53
- exports.miniprogramURL = 'http://127.0.0.1:8000/miniprogram_npm.zip';
53
+ exports.miniprogramURL = 'https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/lcap-builder/miniprogram_npm_20230213.zip';
54
54
  /**
55
55
  * miniprogram_npm存放目录。IDE插件builder用到
56
56
  */
@@ -12,6 +12,7 @@ const common_1 = require("../types/common");
12
12
  const index_1 = require("../mp/index");
13
13
  const types_1 = require("../../types");
14
14
  const mixMode_1 = require("../mp/mixMode");
15
+ const index_2 = require("../h5/index");
15
16
  const common_2 = require("../../utils/common");
16
17
  const postProcess_1 = require("../../utils/postProcess");
17
18
  const cals_1 = require("@cloudbase/cals");
@@ -111,24 +112,24 @@ async function buildWedaApp({ cals, subAppCalsList = [], dependencies = [], appK
111
112
  return outDir;
112
113
  }
113
114
  else {
114
- // const h5BuildDir = await buildH5App({
115
- // buildContext: { ...buildContext, isMixMode: false },
116
- // cals,
117
- // subAppCalsList,
118
- // extraData,
119
- // buildTypeList,
120
- // mode,
121
- // devTool,
122
- // runtime,
123
- // deployMode,
124
- // ignoreInstall,
125
- // cdnEndpoints,
126
- // });
127
- // await cb?.(null, {
128
- // outDir: h5BuildDir,
129
- // timeElapsed: Date.now() - startTime,
130
- // });
131
- // return h5BuildDir;
115
+ const h5BuildDir = await (0, index_2.buildH5App)({
116
+ buildContext: { ...buildContext, isMixMode: false },
117
+ cals,
118
+ subAppCalsList,
119
+ extraData,
120
+ buildTypeList,
121
+ mode,
122
+ devTool,
123
+ runtime,
124
+ deployMode,
125
+ ignoreInstall,
126
+ cdnEndpoints,
127
+ });
128
+ await (cb === null || cb === void 0 ? void 0 : cb(null, {
129
+ outDir: h5BuildDir,
130
+ timeElapsed: Date.now() - startTime,
131
+ }));
132
+ return h5BuildDir;
132
133
  }
133
134
  }
134
135
  catch (err) {