@cloudbase/lowcode-builder 1.10.35 → 1.10.36
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/lowcode-builder",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.36",
|
|
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",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@babel/core": "7.21.4",
|
|
51
51
|
"@babel/preset-env": "7.21.4",
|
|
52
|
-
"@cloudbase/cals": "^1.2.
|
|
53
|
-
"@cloudbase/lowcode-generator": "^1.8.
|
|
52
|
+
"@cloudbase/cals": "^1.2.25",
|
|
53
|
+
"@cloudbase/lowcode-generator": "^1.8.43",
|
|
54
54
|
"axios": "^0.21.0",
|
|
55
55
|
"chalk": "^2.4.2",
|
|
56
56
|
"compare-versions": "^3.6.0",
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
crossorigin
|
|
558
558
|
src="<%=
|
|
559
559
|
cdnEndpoints.cdngo
|
|
560
|
-
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.
|
|
560
|
+
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.0ab216cf8f7a4031dead.bundle.js"
|
|
561
561
|
></script>
|
|
562
562
|
</body>
|
|
563
563
|
</html>
|
|
@@ -100,7 +100,7 @@ module.exports = function (options) {
|
|
|
100
100
|
}),
|
|
101
101
|
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
|
|
102
102
|
new webpack.NormalModuleReplacementPlugin(
|
|
103
|
-
/@\/components\/(?!ui)(.*)|^@\/(lib|hooks|configs|utils|pages)|^@\/components$/, // 使用否定前瞻匹配除ui外的所有路径
|
|
103
|
+
/@\/components\/(?!ui)(.*)|^@\/(lib|hooks|configs|utils|pages|layouts)|^@\/components$/, // 使用否定前瞻匹配除ui外的所有路径
|
|
104
104
|
function (resource) {
|
|
105
105
|
if (/lowcode\//.test(resource.context)) {
|
|
106
106
|
if (resource.request === '@/components') {
|
|
@@ -234,6 +234,7 @@ module.exports = function (options) {
|
|
|
234
234
|
// 函数
|
|
235
235
|
function (context, request, callback) {
|
|
236
236
|
const ScopeExternalsMap = {
|
|
237
|
+
'react-router-dom': 'window.ReactRouterDOM',
|
|
237
238
|
recharts: 'window.SHADN.RECHARTS',
|
|
238
239
|
'react-hook-form': 'window.SHADN.ReactHookForm',
|
|
239
240
|
'lucide-react': 'window.SHADN.LUCIDE',
|
|
@@ -246,7 +247,7 @@ module.exports = function (options) {
|
|
|
246
247
|
if (ScopeExternalsMap[request]) {
|
|
247
248
|
callback(null, ScopeExternalsMap[request]);
|
|
248
249
|
return;
|
|
249
|
-
} else if (request
|
|
250
|
+
} else if (request.startsWith('@/components/ui')) {
|
|
250
251
|
callback(null, 'window.SHADN.components');
|
|
251
252
|
return;
|
|
252
253
|
}
|