@cloudbase/lowcode-builder 1.8.4 → 1.8.5
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/config/index.d.ts +0 -0
- package/lib/builder/config/index.js +0 -0
- package/lib/builder/core/index.d.ts +0 -0
- package/lib/builder/core/index.js +3 -0
- package/lib/builder/core/plugin.d.ts +0 -0
- package/lib/builder/core/plugin.js +0 -0
- package/lib/builder/h5/compile.d.ts +0 -0
- package/lib/builder/h5/compile.js +0 -0
- package/lib/builder/h5/copy.d.ts +0 -0
- package/lib/builder/h5/copy.js +0 -0
- package/lib/builder/h5/generate.d.ts +0 -0
- package/lib/builder/h5/generate.js +0 -0
- package/lib/builder/h5/index.d.ts +0 -0
- package/lib/builder/h5/index.js +4 -4
- package/lib/builder/h5/material.d.ts +0 -0
- package/lib/builder/h5/material.js +0 -0
- package/lib/builder/h5/npm.d.ts +0 -0
- package/lib/builder/h5/npm.js +0 -0
- package/lib/builder/h5/webpack.d.ts +0 -0
- package/lib/builder/h5/webpack.js +0 -0
- package/lib/builder/mp/BuildContext.d.ts +0 -0
- package/lib/builder/mp/BuildContext.js +0 -0
- package/lib/builder/mp/index.d.ts +0 -0
- package/lib/builder/mp/index.js +0 -0
- package/lib/builder/mp/lowcode.d.ts +0 -0
- package/lib/builder/mp/lowcode.js +0 -0
- package/lib/builder/mp/materials.d.ts +0 -0
- package/lib/builder/mp/materials.js +0 -0
- package/lib/builder/mp/mixMode.d.ts +0 -0
- package/lib/builder/mp/mixMode.js +0 -0
- package/lib/builder/mp/mp_config.d.ts +0 -0
- package/lib/builder/mp/mp_config.js +0 -0
- package/lib/builder/mp/plugin.d.ts +0 -0
- package/lib/builder/mp/plugin.js +0 -0
- package/lib/builder/mp/util.d.ts +0 -0
- package/lib/builder/mp/util.js +0 -0
- package/lib/builder/mp/wxml.d.ts +0 -0
- package/lib/builder/mp/wxml.js +0 -0
- package/lib/builder/service/webpack.d.ts +0 -0
- package/lib/builder/service/webpack.js +0 -0
- package/lib/builder/types/common.d.ts +0 -0
- package/lib/builder/types/common.js +0 -0
- package/lib/builder/util/common.d.ts +0 -0
- package/lib/builder/util/common.js +0 -0
- package/lib/builder/util/console.d.ts +0 -0
- package/lib/builder/util/console.js +0 -0
- package/lib/builder/util/generateFiles.d.ts +0 -0
- package/lib/builder/util/generateFiles.js +0 -0
- package/lib/builder/util/index.d.ts +0 -0
- package/lib/builder/util/index.js +0 -0
- package/lib/builder/util/junk.d.ts +0 -0
- package/lib/builder/util/junk.js +0 -0
- package/lib/builder/util/mp.d.ts +0 -0
- package/lib/builder/util/mp.js +0 -0
- package/lib/builder/util/net.d.ts +0 -0
- package/lib/builder/util/net.js +0 -0
- package/lib/builder/util/process.d.ts +0 -0
- package/lib/builder/util/process.js +0 -0
- package/lib/index.d.ts +0 -0
- package/lib/index.js +0 -0
- package/lib/types.d.ts +0 -0
- package/lib/types.js +0 -0
- package/lib/utils/common.d.ts +0 -0
- package/lib/utils/common.js +0 -0
- package/lib/utils/postProcess.d.ts +0 -0
- package/lib/utils/postProcess.js +0 -0
- package/package.json +2 -2
- package/template/html/index.html.ejs +1 -1
- package/dist/builder.web.js +0 -71
- package/lib/.turbo/turbo-build.log +0 -0
- package/lib/.turbo/turbo-develop.log +0 -0
- package/lib/builder.web.js +0 -71
- package/lib/event-emitter.d.ts +0 -32
- package/lib/event-emitter.js +0 -88
- package/lib/flow.d.ts +0 -32
- package/lib/flow.js +0 -60
- package/lib/query.d.ts +0 -48
- package/lib/query.js +0 -171
- package/lib/test.d.ts +0 -11
- package/lib/test.js +0 -717
- package/template/.DS_Store +0 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -92,6 +92,9 @@ async function buildWedaApp({ cals, subAppCalsList = [], dependencies = [], appK
|
|
|
92
92
|
function processRepeaterDisplay(cals) {
|
|
93
93
|
cals.items = (cals.items || []).map((page) => {
|
|
94
94
|
return JSON.parse(JSON.stringify(page, (key, value) => {
|
|
95
|
+
if ((value === null || value === void 0 ? void 0 : value.component) && !(value === null || value === void 0 ? void 0 : value.module) && (value === null || value === void 0 ? void 0 : value.type) !== 'PAGE') {
|
|
96
|
+
value.module = cals_1.OFFICIAL_LIB_KEY;
|
|
97
|
+
}
|
|
95
98
|
if (value === null || value === void 0 ? void 0 : value.component) {
|
|
96
99
|
const component = value;
|
|
97
100
|
if ((value === null || value === void 0 ? void 0 : value.component) &&
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/builder/h5/copy.d.ts
CHANGED
|
File without changes
|
package/lib/builder/h5/copy.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/builder/h5/index.js
CHANGED
|
@@ -177,16 +177,16 @@ async function buildH5App({ buildContext, i18nConfig, extraData, cals, buildType
|
|
|
177
177
|
return `${url.origin}${path_1.default.posix.join(url.pathname, file)}`;
|
|
178
178
|
}
|
|
179
179
|
catch (e) {
|
|
180
|
-
return path_1.default.posix.join(publicPath, file);
|
|
180
|
+
return path_1.default.posix.join(publicPath || '', file);
|
|
181
181
|
}
|
|
182
182
|
})
|
|
183
183
|
.filter((item) => !!item);
|
|
184
184
|
// 普通 web 模式,且非hash模式,根据页面生成多份入口
|
|
185
185
|
if (!((_c = cals.extra) === null || _c === void 0 ? void 0 : _c.historyType) || cals.extra.historyType === types_1.HISTORY_TYPE.BROWSER) {
|
|
186
|
-
preHeatUrls.push(path_1.default.posix.join(basename));
|
|
186
|
+
preHeatUrls.push(path_1.default.posix.join(basename || ''));
|
|
187
187
|
await Promise.all((cals.items || []).map((page) => {
|
|
188
|
-
preHeatUrls.push(path_1.default.posix.join(basename, page.id));
|
|
189
|
-
preHeatUrls.push(path_1.default.posix.join(basename, page.id, '/'));
|
|
188
|
+
preHeatUrls.push(path_1.default.posix.join(basename || '', page.id));
|
|
189
|
+
preHeatUrls.push(path_1.default.posix.join(basename || '', page.id, '/'));
|
|
190
190
|
return fs_extra_1.default.copy(path_1.default.resolve(h5BuildDir, webpack_2.OUTPUT_DIR, 'index.html'), path_1.default.resolve(h5BuildDir, webpack_2.OUTPUT_DIR, page.id, 'index.html'));
|
|
191
191
|
}));
|
|
192
192
|
}
|
|
File without changes
|
|
File without changes
|
package/lib/builder/h5/npm.d.ts
CHANGED
|
File without changes
|
package/lib/builder/h5/npm.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/builder/mp/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/builder/mp/plugin.js
CHANGED
|
File without changes
|
package/lib/builder/mp/util.d.ts
CHANGED
|
File without changes
|
package/lib/builder/mp/util.js
CHANGED
|
File without changes
|
package/lib/builder/mp/wxml.d.ts
CHANGED
|
File without changes
|
package/lib/builder/mp/wxml.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/builder/util/junk.js
CHANGED
|
File without changes
|
package/lib/builder/util/mp.d.ts
CHANGED
|
File without changes
|
package/lib/builder/util/mp.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/builder/util/net.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/index.d.ts
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
package/lib/types.d.ts
CHANGED
|
File without changes
|
package/lib/types.js
CHANGED
|
File without changes
|
package/lib/utils/common.d.ts
CHANGED
|
File without changes
|
package/lib/utils/common.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/utils/postProcess.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/lowcode-builder",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.5",
|
|
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",
|
|
@@ -81,4 +81,4 @@
|
|
|
81
81
|
"webpack-dev-server": "^4.7.3",
|
|
82
82
|
"worker-loader": "^3.0.8"
|
|
83
83
|
}
|
|
84
|
-
}
|
|
84
|
+
}
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
crossorigin
|
|
550
550
|
src="<%=
|
|
551
551
|
cdnEndpoints.cdngo
|
|
552
|
-
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.
|
|
552
|
+
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.babe263dcf07a0b2f76e.bundle.js"
|
|
553
553
|
></script>
|
|
554
554
|
</body>
|
|
555
555
|
</html>
|