@lowdefy/build 4.0.0-alpha.8 → 4.0.0-alpha.9
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/dist/build/addDefaultPages/404.js +1 -1
- package/dist/build/addDefaultPages/addDefaultPages.js +1 -1
- package/dist/build/buildAuth/buildAuth.js +1 -1
- package/dist/build/buildAuth/getPageRoles.js +1 -1
- package/dist/build/buildAuth/getProtectedPages.js +1 -1
- package/dist/build/buildConnections.js +1 -1
- package/dist/build/buildIcons.js +1 -1
- package/dist/build/buildMenu.js +1 -1
- package/dist/build/buildPages/buildBlock/buildBlock.js +6 -2
- package/dist/build/buildPages/buildBlock/buildEvents.js +1 -1
- package/dist/build/buildPages/buildBlock/buildRequests.js +1 -1
- package/dist/build/buildPages/buildBlock/buildSubBlocks.js +1 -1
- package/dist/build/buildPages/buildBlock/countBlockOperators.js +2 -2
- package/dist/build/buildPages/buildBlock/countBlockTypes.js +18 -0
- package/dist/build/buildPages/buildBlock/moveSkeletonBlocksToArea.js +35 -0
- package/dist/build/buildPages/buildBlock/moveSubBlocksToArea.js +1 -1
- package/dist/build/buildPages/buildBlock/setBlockId.js +1 -1
- package/dist/build/buildPages/buildBlock/validateBlock.js +2 -3
- package/dist/build/buildPages/buildPage.js +1 -1
- package/dist/build/buildPages/buildPages.js +1 -1
- package/dist/build/buildRefs/buildRefs.js +1 -1
- package/dist/build/buildRefs/evaluateBuildOperators.js +1 -1
- package/dist/build/buildRefs/getConfigFile.js +1 -1
- package/dist/build/buildRefs/getRefContent.js +1 -1
- package/dist/build/buildRefs/getRefPath.js +1 -1
- package/dist/build/buildRefs/getRefsFromFile.js +1 -1
- package/dist/build/buildRefs/getUserJavascriptFunction.js +1 -1
- package/dist/build/buildRefs/makeRefDefinition.js +1 -1
- package/dist/build/buildRefs/parseNunjucks.js +1 -1
- package/dist/build/buildRefs/parseRefContent.js +1 -1
- package/dist/build/buildRefs/populateRefs.js +1 -1
- package/dist/build/buildRefs/recursiveBuild.js +1 -1
- package/dist/build/buildRefs/runRefResolver.js +1 -1
- package/dist/build/buildRefs/runTransformer.js +1 -1
- package/dist/build/buildStyles.js +1 -1
- package/dist/build/buildTypes.js +11 -2
- package/dist/build/cleanBuildDirectory.js +1 -1
- package/dist/build/copyPublicFolder.js +1 -1
- package/dist/build/testSchema.js +1 -1
- package/dist/build/updateServerPackageJson.js +1 -1
- package/dist/build/validateApp.js +1 -1
- package/dist/build/validateConfig.js +1 -1
- package/dist/build/writeApp.js +1 -1
- package/dist/build/writeConfig.js +1 -1
- package/dist/build/writeConnections.js +1 -1
- package/dist/build/writeGlobal.js +1 -1
- package/dist/build/writeMenus.js +1 -1
- package/dist/build/writePages.js +1 -1
- package/dist/build/writePluginImports/generateImportFile.js +1 -1
- package/dist/build/writePluginImports/writeActionImports.js +1 -1
- package/dist/build/writePluginImports/writeBlockImports.js +1 -1
- package/dist/build/writePluginImports/writeConnectionImports.js +1 -1
- package/dist/build/writePluginImports/writeIconImports.js +1 -1
- package/dist/build/writePluginImports/writeOperatorImports.js +1 -1
- package/dist/build/writePluginImports/writeStyleImports.js +2 -1
- package/dist/build/writeRequests.js +1 -1
- package/dist/build/writeTypes.js +1 -1
- package/dist/defaultTypesMap.json +328 -229
- package/dist/index.js +1 -1
- package/dist/lowdefySchema.js +3 -2
- package/dist/scripts/generateDefaultTypes.js +2 -2
- package/dist/scripts/run.js +1 -1
- package/dist/test/buildRefs/testBuildRefsAsyncFunction.js +1 -1
- package/dist/test/buildRefs/testBuildRefsErrorResolver.js +1 -1
- package/dist/test/buildRefs/testBuildRefsNullResolver.js +1 -1
- package/dist/test/buildRefs/testBuildRefsParsingResolver.js +1 -1
- package/dist/test/buildRefs/testBuildRefsResolver.js +1 -1
- package/dist/test/buildRefs/testBuildRefsTransform.js +1 -1
- package/dist/test/buildRefs/testBuildRefsTransformIdentity.js +1 -1
- package/dist/test/testContext.js +1 -1
- package/dist/utils/countOperators.js +1 -1
- package/dist/utils/createCheckDuplicateId.js +1 -1
- package/dist/utils/createCounter.js +1 -1
- package/dist/utils/createPluginTypesMap.js +1 -1
- package/dist/utils/formatErrorMessage.js +1 -1
- package/dist/utils/readConfigFile.js +1 -1
- package/dist/utils/writeBuildArtifact.js +1 -1
- package/package.json +29 -29
package/dist/index.js
CHANGED
package/dist/lowdefySchema.js
CHANGED
|
@@ -232,10 +232,10 @@ export default {
|
|
|
232
232
|
type: 'Block "layout" should be an object.'
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
|
-
|
|
235
|
+
skeleton: {
|
|
236
236
|
type: 'object',
|
|
237
237
|
errorMessage: {
|
|
238
|
-
type: 'Block "
|
|
238
|
+
type: 'Block "skeleton" should be an object.'
|
|
239
239
|
}
|
|
240
240
|
},
|
|
241
241
|
style: {
|
|
@@ -245,6 +245,7 @@ export default {
|
|
|
245
245
|
}
|
|
246
246
|
},
|
|
247
247
|
visible: {},
|
|
248
|
+
loading: {},
|
|
248
249
|
blocks: {
|
|
249
250
|
type: 'array',
|
|
250
251
|
items: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
|
-
Copyright 2020-
|
|
3
|
+
Copyright 2020-2022 Lowdefy, Inc
|
|
4
4
|
|
|
5
5
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
you may not use this file except in compliance with the License.
|
|
@@ -59,7 +59,7 @@ async function generateDefaultTypesMap() {
|
|
|
59
59
|
};
|
|
60
60
|
await Promise.all(defaultPackages.map(async (packageName)=>{
|
|
61
61
|
const { default: types } = await import(`${packageName}/types`);
|
|
62
|
-
const version = packageFile.devDependencies[packageName];
|
|
62
|
+
const version = packageFile.devDependencies[packageName] || packageFile.dependencies[packageName];
|
|
63
63
|
createPluginTypesMap({
|
|
64
64
|
packageTypes: types,
|
|
65
65
|
typesMap: defaultTypesMap,
|
package/dist/scripts/run.js
CHANGED
package/dist/test/testContext.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/build",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.9",
|
|
4
4
|
"licence": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -49,12 +49,14 @@
|
|
|
49
49
|
"test": "yarn node --experimental-vm-modules $(yarn bin jest)"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@lowdefy/ajv": "4.0.0-alpha.
|
|
53
|
-
"@lowdefy/
|
|
54
|
-
"@lowdefy/
|
|
55
|
-
"@lowdefy/
|
|
56
|
-
"@lowdefy/
|
|
57
|
-
"@lowdefy/
|
|
52
|
+
"@lowdefy/ajv": "4.0.0-alpha.9",
|
|
53
|
+
"@lowdefy/blocks-basic": "4.0.0-alpha.9",
|
|
54
|
+
"@lowdefy/blocks-loaders": "4.0.0-alpha.9",
|
|
55
|
+
"@lowdefy/helpers": "4.0.0-alpha.9",
|
|
56
|
+
"@lowdefy/node-utils": "4.0.0-alpha.9",
|
|
57
|
+
"@lowdefy/nunjucks": "4.0.0-alpha.9",
|
|
58
|
+
"@lowdefy/operators": "4.0.0-alpha.9",
|
|
59
|
+
"@lowdefy/operators-js": "4.0.0-alpha.9",
|
|
58
60
|
"ajv": "8.9.0",
|
|
59
61
|
"json5": "2.2.0",
|
|
60
62
|
"uuid": "8.3.2",
|
|
@@ -63,27 +65,25 @@
|
|
|
63
65
|
},
|
|
64
66
|
"devDependencies": {
|
|
65
67
|
"@jest/globals": "27.5.1",
|
|
66
|
-
"@lowdefy/actions-core": "4.0.0-alpha.
|
|
67
|
-
"@lowdefy/blocks-antd": "4.0.0-alpha.
|
|
68
|
-
"@lowdefy/blocks-
|
|
69
|
-
"@lowdefy/blocks-
|
|
70
|
-
"@lowdefy/blocks-
|
|
71
|
-
"@lowdefy/
|
|
72
|
-
"@lowdefy/
|
|
73
|
-
"@lowdefy/connection-
|
|
74
|
-
"@lowdefy/connection-
|
|
75
|
-
"@lowdefy/connection-
|
|
76
|
-
"@lowdefy/connection-
|
|
77
|
-
"@lowdefy/connection-
|
|
78
|
-
"@lowdefy/connection-
|
|
79
|
-
"@lowdefy/
|
|
80
|
-
"@lowdefy/
|
|
81
|
-
"@lowdefy/operators-
|
|
82
|
-
"@lowdefy/operators-
|
|
83
|
-
"@lowdefy/operators-
|
|
84
|
-
"@lowdefy/operators-
|
|
85
|
-
"@lowdefy/operators-uuid": "4.0.0-alpha.8",
|
|
86
|
-
"@lowdefy/operators-yaml": "4.0.0-alpha.8",
|
|
68
|
+
"@lowdefy/actions-core": "4.0.0-alpha.9",
|
|
69
|
+
"@lowdefy/blocks-antd": "4.0.0-alpha.9",
|
|
70
|
+
"@lowdefy/blocks-color-selectors": "4.0.0-alpha.9",
|
|
71
|
+
"@lowdefy/blocks-echarts": "4.0.0-alpha.9",
|
|
72
|
+
"@lowdefy/blocks-markdown": "4.0.0-alpha.9",
|
|
73
|
+
"@lowdefy/connection-axios-http": "4.0.0-alpha.9",
|
|
74
|
+
"@lowdefy/connection-elasticsearch": "4.0.0-alpha.9",
|
|
75
|
+
"@lowdefy/connection-google-sheets": "4.0.0-alpha.9",
|
|
76
|
+
"@lowdefy/connection-knex": "4.0.0-alpha.9",
|
|
77
|
+
"@lowdefy/connection-mongodb": "4.0.0-alpha.9",
|
|
78
|
+
"@lowdefy/connection-redis": "4.0.0-alpha.9",
|
|
79
|
+
"@lowdefy/connection-sendgrid": "4.0.0-alpha.9",
|
|
80
|
+
"@lowdefy/connection-stripe": "4.0.0-alpha.9",
|
|
81
|
+
"@lowdefy/operators-change-case": "4.0.0-alpha.9",
|
|
82
|
+
"@lowdefy/operators-diff": "4.0.0-alpha.9",
|
|
83
|
+
"@lowdefy/operators-mql": "4.0.0-alpha.9",
|
|
84
|
+
"@lowdefy/operators-nunjucks": "4.0.0-alpha.9",
|
|
85
|
+
"@lowdefy/operators-uuid": "4.0.0-alpha.9",
|
|
86
|
+
"@lowdefy/operators-yaml": "4.0.0-alpha.9",
|
|
87
87
|
"@swc/cli": "0.1.55",
|
|
88
88
|
"@swc/core": "1.2.135",
|
|
89
89
|
"@swc/jest": "0.2.17",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "98b544eca231bdcfca6c3a8601a891835d5ce571"
|
|
96
96
|
}
|