@lowdefy/build 0.0.0-experimental-20231123124425 → 0.0.0-experimental-20240111121545
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/scripts/run.js
CHANGED
|
@@ -21,13 +21,13 @@ const argv = yargs(hideBin(process.argv)).argv;
|
|
|
21
21
|
async function run() {
|
|
22
22
|
await build({
|
|
23
23
|
directories: {
|
|
24
|
-
build: path.resolve(argv.buildDirectory
|
|
25
|
-
config: path.resolve(argv.configDirectory
|
|
26
|
-
server: path.resolve(argv.serverDirectory
|
|
24
|
+
build: path.resolve(argv.buildDirectory ?? process.env.LOWDEFY_DIRECTORY_BUILD ?? path.join(process.cwd(), 'build')),
|
|
25
|
+
config: path.resolve(argv.configDirectory ?? process.env.LOWDEFY_DIRECTORY_CONFIG ?? process.cwd()),
|
|
26
|
+
server: path.resolve(argv.serverDirectory ?? process.env.LOWDEFY_DIRECTORY_SERVER ?? process.cwd())
|
|
27
27
|
},
|
|
28
28
|
logger: console,
|
|
29
|
-
refResolver: argv.refResolver
|
|
30
|
-
stage: argv.stage
|
|
29
|
+
refResolver: argv.refResolver ?? process.env.LOWDEFY_BUILD_REF_RESOLVER,
|
|
30
|
+
stage: argv.stage ?? process.env.LOWDEFY_BUILD_STAGE ?? 'prod'
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
run();
|
package/dist/test/testContext.js
CHANGED
|
@@ -17,14 +17,14 @@ function createCheckDuplicateId({ message }) {
|
|
|
17
17
|
const template = nunjucksFunction(message);
|
|
18
18
|
const ids = new Set();
|
|
19
19
|
function checkDuplicateId({ id, blockId, eventId, menuId, pageId }) {
|
|
20
|
-
if (ids.has(id)) throw new Error(template({
|
|
20
|
+
if (ids.has(id.toLowerCase())) throw new Error(template({
|
|
21
21
|
id,
|
|
22
22
|
blockId,
|
|
23
23
|
eventId,
|
|
24
24
|
menuId,
|
|
25
25
|
pageId
|
|
26
26
|
}));
|
|
27
|
-
ids.add(id);
|
|
27
|
+
ids.add(id.toLowerCase());
|
|
28
28
|
}
|
|
29
29
|
return checkDuplicateId;
|
|
30
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/build",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-20240111121545",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"dist/*"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@lowdefy/ajv": "0.0.0-experimental-
|
|
48
|
-
"@lowdefy/blocks-basic": "0.0.0-experimental-
|
|
49
|
-
"@lowdefy/blocks-loaders": "0.0.0-experimental-
|
|
50
|
-
"@lowdefy/helpers": "0.0.0-experimental-
|
|
51
|
-
"@lowdefy/node-utils": "0.0.0-experimental-
|
|
52
|
-
"@lowdefy/nunjucks": "0.0.0-experimental-
|
|
53
|
-
"@lowdefy/operators": "0.0.0-experimental-
|
|
54
|
-
"@lowdefy/operators-js": "0.0.0-experimental-
|
|
47
|
+
"@lowdefy/ajv": "0.0.0-experimental-20240111121545",
|
|
48
|
+
"@lowdefy/blocks-basic": "0.0.0-experimental-20240111121545",
|
|
49
|
+
"@lowdefy/blocks-loaders": "0.0.0-experimental-20240111121545",
|
|
50
|
+
"@lowdefy/helpers": "0.0.0-experimental-20240111121545",
|
|
51
|
+
"@lowdefy/node-utils": "0.0.0-experimental-20240111121545",
|
|
52
|
+
"@lowdefy/nunjucks": "0.0.0-experimental-20240111121545",
|
|
53
|
+
"@lowdefy/operators": "0.0.0-experimental-20240111121545",
|
|
54
|
+
"@lowdefy/operators-js": "0.0.0-experimental-20240111121545",
|
|
55
55
|
"ajv": "8.12.0",
|
|
56
56
|
"json5": "2.2.3",
|
|
57
57
|
"yaml": "2.3.4",
|
|
@@ -59,35 +59,35 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@jest/globals": "28.1.3",
|
|
62
|
-
"@lowdefy/actions-core": "0.0.0-experimental-
|
|
63
|
-
"@lowdefy/actions-pdf-make": "0.0.0-experimental-
|
|
64
|
-
"@lowdefy/blocks-aggrid": "0.0.0-experimental-
|
|
65
|
-
"@lowdefy/blocks-algolia": "0.0.0-experimental-
|
|
66
|
-
"@lowdefy/blocks-antd": "0.0.0-experimental-
|
|
67
|
-
"@lowdefy/blocks-color-selectors": "0.0.0-experimental-
|
|
68
|
-
"@lowdefy/blocks-echarts": "0.0.0-experimental-
|
|
69
|
-
"@lowdefy/blocks-google-maps": "0.0.0-experimental-
|
|
70
|
-
"@lowdefy/blocks-markdown": "0.0.0-experimental-
|
|
71
|
-
"@lowdefy/blocks-qr": "0.0.0-experimental-
|
|
72
|
-
"@lowdefy/connection-axios-http": "0.0.0-experimental-
|
|
73
|
-
"@lowdefy/connection-elasticsearch": "0.0.0-experimental-
|
|
74
|
-
"@lowdefy/connection-google-sheets": "0.0.0-experimental-
|
|
75
|
-
"@lowdefy/connection-knex": "0.0.0-experimental-
|
|
76
|
-
"@lowdefy/connection-mongodb": "0.0.0-experimental-
|
|
77
|
-
"@lowdefy/connection-redis": "0.0.0-experimental-
|
|
78
|
-
"@lowdefy/connection-sendgrid": "0.0.0-experimental-
|
|
79
|
-
"@lowdefy/connection-stripe": "0.0.0-experimental-
|
|
80
|
-
"@lowdefy/operators-change-case": "0.0.0-experimental-
|
|
81
|
-
"@lowdefy/operators-diff": "0.0.0-experimental-
|
|
82
|
-
"@lowdefy/operators-moment": "0.0.0-experimental-
|
|
83
|
-
"@lowdefy/operators-mql": "0.0.0-experimental-
|
|
84
|
-
"@lowdefy/operators-nunjucks": "0.0.0-experimental-
|
|
85
|
-
"@lowdefy/operators-uuid": "0.0.0-experimental-
|
|
86
|
-
"@lowdefy/operators-yaml": "0.0.0-experimental-
|
|
87
|
-
"@lowdefy/plugin-auth0": "0.0.0-experimental-
|
|
88
|
-
"@lowdefy/plugin-aws": "0.0.0-experimental-
|
|
89
|
-
"@lowdefy/plugin-csv": "0.0.0-experimental-
|
|
90
|
-
"@lowdefy/plugin-next-auth": "0.0.0-experimental-
|
|
62
|
+
"@lowdefy/actions-core": "0.0.0-experimental-20240111121545",
|
|
63
|
+
"@lowdefy/actions-pdf-make": "0.0.0-experimental-20240111121545",
|
|
64
|
+
"@lowdefy/blocks-aggrid": "0.0.0-experimental-20240111121545",
|
|
65
|
+
"@lowdefy/blocks-algolia": "0.0.0-experimental-20240111121545",
|
|
66
|
+
"@lowdefy/blocks-antd": "0.0.0-experimental-20240111121545",
|
|
67
|
+
"@lowdefy/blocks-color-selectors": "0.0.0-experimental-20240111121545",
|
|
68
|
+
"@lowdefy/blocks-echarts": "0.0.0-experimental-20240111121545",
|
|
69
|
+
"@lowdefy/blocks-google-maps": "0.0.0-experimental-20240111121545",
|
|
70
|
+
"@lowdefy/blocks-markdown": "0.0.0-experimental-20240111121545",
|
|
71
|
+
"@lowdefy/blocks-qr": "0.0.0-experimental-20240111121545",
|
|
72
|
+
"@lowdefy/connection-axios-http": "0.0.0-experimental-20240111121545",
|
|
73
|
+
"@lowdefy/connection-elasticsearch": "0.0.0-experimental-20240111121545",
|
|
74
|
+
"@lowdefy/connection-google-sheets": "0.0.0-experimental-20240111121545",
|
|
75
|
+
"@lowdefy/connection-knex": "0.0.0-experimental-20240111121545",
|
|
76
|
+
"@lowdefy/connection-mongodb": "0.0.0-experimental-20240111121545",
|
|
77
|
+
"@lowdefy/connection-redis": "0.0.0-experimental-20240111121545",
|
|
78
|
+
"@lowdefy/connection-sendgrid": "0.0.0-experimental-20240111121545",
|
|
79
|
+
"@lowdefy/connection-stripe": "0.0.0-experimental-20240111121545",
|
|
80
|
+
"@lowdefy/operators-change-case": "0.0.0-experimental-20240111121545",
|
|
81
|
+
"@lowdefy/operators-diff": "0.0.0-experimental-20240111121545",
|
|
82
|
+
"@lowdefy/operators-moment": "0.0.0-experimental-20240111121545",
|
|
83
|
+
"@lowdefy/operators-mql": "0.0.0-experimental-20240111121545",
|
|
84
|
+
"@lowdefy/operators-nunjucks": "0.0.0-experimental-20240111121545",
|
|
85
|
+
"@lowdefy/operators-uuid": "0.0.0-experimental-20240111121545",
|
|
86
|
+
"@lowdefy/operators-yaml": "0.0.0-experimental-20240111121545",
|
|
87
|
+
"@lowdefy/plugin-auth0": "0.0.0-experimental-20240111121545",
|
|
88
|
+
"@lowdefy/plugin-aws": "0.0.0-experimental-20240111121545",
|
|
89
|
+
"@lowdefy/plugin-csv": "0.0.0-experimental-20240111121545",
|
|
90
|
+
"@lowdefy/plugin-next-auth": "0.0.0-experimental-20240111121545",
|
|
91
91
|
"@swc/cli": "0.1.63",
|
|
92
92
|
"@swc/core": "1.3.99",
|
|
93
93
|
"@swc/jest": "0.2.29",
|