@lowdefy/build 4.0.0-alpha.1 → 4.0.0-alpha.7
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 +36 -41
- package/dist/build/addDefaultPages/addDefaultPages.js +6 -2
- package/dist/build/buildAuth/getPageRoles.js +1 -2
- package/dist/build/buildConnections.js +1 -2
- package/dist/build/buildIcons.js +91 -0
- package/dist/build/buildPages/buildBlock/buildEvents.js +4 -1
- package/dist/build/buildPages/buildBlock/buildRequests.js +1 -2
- package/dist/build/buildPages/buildBlock/countBlockOperators.js +2 -4
- package/dist/build/buildRefs/buildRefs.js +1 -2
- package/dist/build/buildRefs/getUserJavascriptFunction.js +6 -3
- package/dist/build/buildRefs/makeRefDefinition.js +1 -2
- package/dist/build/buildRefs/parseRefContent.js +2 -2
- package/dist/build/buildRefs/recursiveBuild.js +1 -2
- package/dist/build/buildRefs/runTransformer.js +5 -1
- package/dist/build/buildStyles.js +29 -0
- package/dist/build/buildTypes.js +36 -40
- package/dist/build/cleanBuildDirectory.js +1 -1
- package/dist/build/copyPublicFolder.js +23 -0
- package/dist/build/updateServerPackageJson.js +46 -0
- package/dist/build/validateApp.js +2 -4
- package/dist/build/validateConfig.js +12 -8
- package/dist/build/writeApp.js +1 -5
- package/dist/build/writeConfig.js +1 -5
- package/dist/build/writeConnections.js +1 -4
- package/dist/build/writeGlobal.js +2 -6
- package/dist/build/writeMenus.js +1 -4
- package/dist/build/writePages.js +2 -13
- package/dist/build/writePluginImports/generateImportFile.js +36 -0
- package/dist/build/writePluginImports/writeActionImports.js +22 -0
- package/dist/build/writePluginImports/writeBlockImports.js +5 -22
- package/dist/build/writePluginImports/writeConnectionImports.js +5 -22
- package/dist/build/writePluginImports/writeIconImports.js +31 -0
- package/dist/build/writePluginImports/writeOperatorImports.js +26 -0
- package/dist/build/writePluginImports/writeStyleImports.js +27 -0
- package/dist/build/writeRequests.js +2 -7
- package/dist/build/writeTypes.js +1 -4
- package/dist/defaultTypes.json +1418 -19
- package/dist/index.js +129 -100
- package/dist/lowdefySchema.js +29 -12
- package/dist/scripts/generateDefaultTypes.js +35 -26
- package/dist/scripts/run.js +12 -11
- package/dist/test/buildRefs/testBuildRefsAsyncFunction.js +2 -5
- 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 +11 -18
- package/dist/utils/formatErrorMessage.js +1 -1
- package/dist/utils/{files/readConfigFile.js → readConfigFile.js} +2 -2
- package/dist/utils/{files/writeBuildArtifact.js → writeBuildArtifact.js} +3 -6
- package/package.json +42 -16
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.7",
|
|
4
4
|
"licence": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
{
|
|
19
19
|
"name": "Gerrie van Wyk",
|
|
20
20
|
"url": "https://github.com/Gervwyk"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Sandile Memela",
|
|
24
|
+
"url": "https://github.com/sah-memela"
|
|
21
25
|
}
|
|
22
26
|
],
|
|
23
27
|
"repository": {
|
|
@@ -38,28 +42,50 @@
|
|
|
38
42
|
"prepare": "yarn build",
|
|
39
43
|
"start": "node dist/scripts/run.js",
|
|
40
44
|
"swc": "swc src --out-dir dist --config-file ../../.swcrc --delete-dir-on-start",
|
|
41
|
-
"test": "
|
|
45
|
+
"test": "yarn node --experimental-vm-modules $(yarn bin jest)"
|
|
42
46
|
},
|
|
43
47
|
"dependencies": {
|
|
44
|
-
"@lowdefy/ajv": "4.0.0-alpha.
|
|
45
|
-
"@lowdefy/helpers": "4.0.0-alpha.
|
|
46
|
-
"@lowdefy/node-utils": "4.0.0-alpha.
|
|
47
|
-
"@lowdefy/nunjucks": "4.0.0-alpha.
|
|
48
|
-
"ajv": "8.
|
|
49
|
-
"js-yaml": "4.1.0",
|
|
48
|
+
"@lowdefy/ajv": "4.0.0-alpha.7",
|
|
49
|
+
"@lowdefy/helpers": "4.0.0-alpha.7",
|
|
50
|
+
"@lowdefy/node-utils": "4.0.0-alpha.7",
|
|
51
|
+
"@lowdefy/nunjucks": "4.0.0-alpha.7",
|
|
52
|
+
"ajv": "8.9.0",
|
|
50
53
|
"json5": "2.2.0",
|
|
51
|
-
"uuid": "8.3.2"
|
|
54
|
+
"uuid": "8.3.2",
|
|
55
|
+
"yaml": "2.0.0-10",
|
|
56
|
+
"yargs": "17.3.1"
|
|
52
57
|
},
|
|
53
58
|
"devDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"@lowdefy/
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"
|
|
59
|
+
"@jest/globals": "27.5.1",
|
|
60
|
+
"@lowdefy/actions-core": "4.0.0-alpha.7",
|
|
61
|
+
"@lowdefy/blocks-antd": "4.0.0-alpha.7",
|
|
62
|
+
"@lowdefy/blocks-basic": "4.0.0-alpha.7",
|
|
63
|
+
"@lowdefy/blocks-color-selectors": "4.0.0-alpha.7",
|
|
64
|
+
"@lowdefy/blocks-echarts": "4.0.0-alpha.7",
|
|
65
|
+
"@lowdefy/blocks-loaders": "4.0.0-alpha.7",
|
|
66
|
+
"@lowdefy/blocks-markdown": "4.0.0-alpha.7",
|
|
67
|
+
"@lowdefy/connection-axios-http": "4.0.0-alpha.7",
|
|
68
|
+
"@lowdefy/connection-elasticsearch": "4.0.0-alpha.7",
|
|
69
|
+
"@lowdefy/connection-google-sheets": "4.0.0-alpha.7",
|
|
70
|
+
"@lowdefy/connection-knex": "4.0.0-alpha.7",
|
|
71
|
+
"@lowdefy/connection-mongodb": "4.0.0-alpha.7",
|
|
72
|
+
"@lowdefy/connection-redis": "4.0.0-alpha.7",
|
|
73
|
+
"@lowdefy/connection-sendgrid": "4.0.0-alpha.7",
|
|
74
|
+
"@lowdefy/connection-stripe": "4.0.0-alpha.7",
|
|
75
|
+
"@lowdefy/operators-change-case": "4.0.0-alpha.7",
|
|
76
|
+
"@lowdefy/operators-diff": "4.0.0-alpha.7",
|
|
77
|
+
"@lowdefy/operators-js": "4.0.0-alpha.7",
|
|
78
|
+
"@lowdefy/operators-mql": "4.0.0-alpha.7",
|
|
79
|
+
"@lowdefy/operators-nunjucks": "4.0.0-alpha.7",
|
|
80
|
+
"@lowdefy/operators-uuid": "4.0.0-alpha.7",
|
|
81
|
+
"@lowdefy/operators-yaml": "4.0.0-alpha.7",
|
|
82
|
+
"@swc/cli": "0.1.55",
|
|
83
|
+
"@swc/core": "1.2.135",
|
|
84
|
+
"@swc/jest": "0.2.17",
|
|
85
|
+
"jest": "27.5.1"
|
|
60
86
|
},
|
|
61
87
|
"publishConfig": {
|
|
62
88
|
"access": "public"
|
|
63
89
|
},
|
|
64
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "52ec14639d00de910cf9b8ab25bf933ca891cff5"
|
|
65
91
|
}
|