@lowdefy/build 4.0.0-rc.9 → 4.0.0

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.
Files changed (95) hide show
  1. package/dist/build/addDefaultPages/404.js +2 -3
  2. package/dist/build/addDefaultPages/addDefaultPages.js +2 -2
  3. package/dist/build/addKeys.js +56 -14
  4. package/dist/build/{validateApp.js → buildApp.js} +10 -4
  5. package/dist/build/buildAuth/buildAuth.js +17 -2
  6. package/dist/build/buildAuth/buildAuthPlugins.js +5 -5
  7. package/dist/build/buildAuth/buildPageAuth.js +2 -2
  8. package/dist/build/buildAuth/getPageRoles.js +2 -2
  9. package/dist/build/buildAuth/getProtectedPages.js +2 -2
  10. package/dist/build/buildAuth/validateAuthConfig.js +2 -2
  11. package/dist/build/buildConnections.js +2 -2
  12. package/dist/build/buildImports/buildIconImports.js +6 -4
  13. package/dist/build/buildImports/buildImports.js +2 -2
  14. package/dist/build/buildImports/buildImportsDev.js +4 -4
  15. package/dist/build/buildImports/buildImportsProd.js +2 -2
  16. package/dist/build/buildImports/buildStyleImports.js +2 -2
  17. package/dist/build/buildImports/defaultIconsDev.js +1 -1
  18. package/dist/build/buildImports/defaultIconsProd.js +1 -1
  19. package/dist/build/buildMenu.js +4 -4
  20. package/dist/build/buildPages/buildBlock/buildBlock.js +1 -1
  21. package/dist/build/buildPages/buildBlock/buildEvents.js +2 -2
  22. package/dist/build/buildPages/buildBlock/buildRequests.js +2 -2
  23. package/dist/build/buildPages/buildBlock/buildSubBlocks.js +1 -1
  24. package/dist/build/buildPages/buildBlock/countBlockOperators.js +3 -3
  25. package/dist/build/buildPages/buildBlock/countBlockTypes.js +2 -2
  26. package/dist/build/buildPages/buildBlock/moveSkeletonBlocksToArea.js +1 -1
  27. package/dist/build/buildPages/buildBlock/moveSubBlocksToArea.js +1 -1
  28. package/dist/build/buildPages/buildBlock/setBlockId.js +2 -2
  29. package/dist/build/buildPages/buildBlock/validateBlock.js +2 -2
  30. package/dist/build/buildPages/buildPage.js +2 -7
  31. package/dist/build/buildPages/buildPages.js +2 -2
  32. package/dist/build/buildPages/buildTestPage.js +2 -2
  33. package/dist/build/buildRefs/buildRefs.js +2 -2
  34. package/dist/build/buildRefs/evaluateBuildOperators.js +3 -3
  35. package/dist/build/buildRefs/getConfigFile.js +2 -2
  36. package/dist/build/buildRefs/getKey.js +2 -2
  37. package/dist/build/buildRefs/getRefContent.js +2 -2
  38. package/dist/build/buildRefs/getRefPath.js +1 -1
  39. package/dist/build/buildRefs/getRefsFromFile.js +1 -1
  40. package/dist/build/buildRefs/getUserJavascriptFunction.js +2 -2
  41. package/dist/build/buildRefs/makeRefDefinition.js +1 -1
  42. package/dist/build/buildRefs/parseNunjucks.js +1 -1
  43. package/dist/build/buildRefs/parseRefContent.js +3 -3
  44. package/dist/build/buildRefs/populateRefs.js +2 -2
  45. package/dist/build/buildRefs/recursiveBuild.js +3 -3
  46. package/dist/build/buildRefs/runRefResolver.js +2 -2
  47. package/dist/build/buildRefs/runTransformer.js +2 -2
  48. package/dist/build/buildTypes.js +13 -5
  49. package/dist/build/cleanBuildDirectory.js +2 -2
  50. package/dist/build/copyPublicFolder.js +2 -2
  51. package/dist/build/testSchema.js +3 -3
  52. package/dist/build/updateServerPackageJson.js +2 -2
  53. package/dist/build/validateConfig.js +2 -2
  54. package/dist/build/writeApp.js +3 -5
  55. package/dist/build/writeAuth.js +3 -5
  56. package/dist/build/writeConfig.js +3 -5
  57. package/dist/build/writeConnections.js +3 -5
  58. package/dist/build/writeGlobal.js +3 -5
  59. package/dist/build/writeMaps.js +4 -8
  60. package/dist/build/writeMenus.js +3 -5
  61. package/dist/build/writePages.js +4 -6
  62. package/dist/build/writePluginImports/generateImportFile.js +2 -2
  63. package/dist/build/writePluginImports/writeActionImports.js +2 -2
  64. package/dist/build/writePluginImports/writeAuthImports.js +2 -2
  65. package/dist/build/writePluginImports/writeBlockImports.js +2 -2
  66. package/dist/build/writePluginImports/writeConnectionImports.js +2 -2
  67. package/dist/build/writePluginImports/writeIconImports.js +2 -2
  68. package/dist/build/writePluginImports/writeOperatorImports.js +2 -2
  69. package/dist/build/writePluginImports/writePluginImports.js +2 -2
  70. package/dist/build/writePluginImports/writeStyleImports.js +2 -2
  71. package/dist/build/writeRequests.js +4 -6
  72. package/dist/build/writeTypes.js +3 -5
  73. package/dist/createContext.js +3 -2
  74. package/dist/defaultTypesMap.js +673 -632
  75. package/dist/index.js +3 -3
  76. package/dist/lowdefySchema.js +18 -0
  77. package/dist/scripts/generateDefaultTypes.js +3 -2
  78. package/dist/scripts/run.js +6 -6
  79. package/dist/test/buildRefs/testBuildRefsAsyncFunction.js +1 -1
  80. package/dist/test/buildRefs/testBuildRefsErrorResolver.js +1 -1
  81. package/dist/test/buildRefs/testBuildRefsNullResolver.js +1 -1
  82. package/dist/test/buildRefs/testBuildRefsParsingResolver.js +1 -1
  83. package/dist/test/buildRefs/testBuildRefsResolver.js +1 -1
  84. package/dist/test/buildRefs/testBuildRefsTransform.js +1 -1
  85. package/dist/test/buildRefs/testBuildRefsTransformIdentity.js +1 -1
  86. package/dist/test/testContext.js +5 -2
  87. package/dist/utils/countOperators.js +2 -2
  88. package/dist/utils/createCheckDuplicateId.js +5 -5
  89. package/dist/utils/createCounter.js +1 -1
  90. package/dist/utils/createPluginTypesMap.js +3 -3
  91. package/dist/utils/formatErrorMessage.js +4 -4
  92. package/dist/utils/makeId.js +5 -2
  93. package/dist/utils/readConfigFile.js +2 -2
  94. package/dist/utils/writeBuildArtifact.js +2 -2
  95. package/package.json +52 -53
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable no-console */ /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
16
16
  import createPluginTypesMap from './utils/createPluginTypesMap.js';
17
17
  import addDefaultPages from './build/addDefaultPages/addDefaultPages.js';
18
18
  import addKeys from './build/addKeys.js';
19
+ import buildApp from './build/buildApp.js';
19
20
  import buildAuth from './build/buildAuth/buildAuth.js';
20
21
  import buildConnections from './build/buildConnections.js';
21
22
  import buildImports from './build/buildImports/buildImports.js';
@@ -26,7 +27,6 @@ import buildTypes from './build/buildTypes.js';
26
27
  import cleanBuildDirectory from './build/cleanBuildDirectory.js';
27
28
  import copyPublicFolder from './build/copyPublicFolder.js';
28
29
  import testSchema from './build/testSchema.js';
29
- import validateApp from './build/validateApp.js';
30
30
  import validateConfig from './build/validateConfig.js';
31
31
  import updateServerPackageJson from './build/updateServerPackageJson.js';
32
32
  import writeApp from './build/writeApp.js';
@@ -49,7 +49,7 @@ async function build(options) {
49
49
  components,
50
50
  context
51
51
  });
52
- validateApp({
52
+ buildApp({
53
53
  components,
54
54
  context
55
55
  });
@@ -177,6 +177,12 @@ export default {
177
177
  }
178
178
  }
179
179
  },
180
+ debug: {
181
+ type: 'boolean',
182
+ errorMessage: {
183
+ type: 'Auth debug should be a boolean.'
184
+ }
185
+ },
180
186
  events: {
181
187
  type: 'array',
182
188
  items: {
@@ -639,6 +645,18 @@ export default {
639
645
  type: 'MenuLink "url" should be a string.'
640
646
  }
641
647
  },
648
+ urlQuery: {
649
+ type: 'object',
650
+ errorMessage: {
651
+ type: 'MenuLink "urlQuery" should be an object.'
652
+ }
653
+ },
654
+ input: {
655
+ type: 'object',
656
+ errorMessage: {
657
+ type: 'MenuLink "input" should be an object.'
658
+ }
659
+ },
642
660
  properties: {
643
661
  type: 'object',
644
662
  errorMessage: {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
- Copyright 2020-2023 Lowdefy, Inc
3
+ Copyright 2020-2024 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.
@@ -20,6 +20,7 @@ const defaultPackages = [
20
20
  '@lowdefy/actions-core',
21
21
  '@lowdefy/actions-pdf-make',
22
22
  '@lowdefy/blocks-aggrid',
23
+ '@lowdefy/blocks-algolia',
23
24
  '@lowdefy/blocks-antd',
24
25
  '@lowdefy/blocks-basic',
25
26
  '@lowdefy/blocks-color-selectors',
@@ -73,7 +74,7 @@ async function generateDefaultTypesMap() {
73
74
  }
74
75
  };
75
76
  await Promise.all(defaultPackages.map(async (packageName)=>{
76
- const { default: types } = await import(`${packageName}/types`);
77
+ const { default: types } = await import(`${packageName}/types`);
77
78
  const version = packageFile.devDependencies[packageName] || packageFile.dependencies[packageName];
78
79
  createPluginTypesMap({
79
80
  packageTypes: types,
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
- Copyright 2020-2023 Lowdefy, Inc
3
+ Copyright 2020-2024 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.
@@ -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 || 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())
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 || process.env.LOWDEFY_BUILD_REF_RESOLVER,
30
- stage: argv.stage || process.env.LOWDEFY_BUILD_STAGE || 'prod'
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();
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */ import createCounter from '../utils/createCounter.js';
16
- function testContext({ writeBuildArtifact , configDirectory , readConfigFile , logger ={} } = {}) {
16
+ function testContext({ writeBuildArtifact, configDirectory, readConfigFile, logger = {} } = {}) {
17
17
  const defaultLogger = {
18
18
  info: ()=>{},
19
19
  log: ()=>{},
@@ -26,6 +26,9 @@ function testContext({ writeBuildArtifact , configDirectory , readConfigFile , l
26
26
  directories: {
27
27
  config: configDirectory || ''
28
28
  },
29
+ entitlements: [
30
+ 'AUTH'
31
+ ],
29
32
  typeCounters: {
30
33
  actions: createCounter(),
31
34
  auth: {
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */ import { type } from '@lowdefy/helpers';
16
- function countOperators(obj, { counter }) {
16
+ function countOperators(obj, { counter }) {
17
17
  function getOperatorsReviver(_, value) {
18
18
  if (type.isObject(value) && Object.keys(value).length === 1) {
19
19
  const key = Object.keys(value)[0];
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -13,18 +13,18 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */ import { nunjucksFunction } from '@lowdefy/nunjucks';
16
- function createCheckDuplicateId({ message }) {
16
+ function createCheckDuplicateId({ message }) {
17
17
  const template = nunjucksFunction(message);
18
18
  const ids = new Set();
19
- function checkDuplicateId({ id , blockId , eventId , menuId , pageId }) {
20
- if (ids.has(id)) throw new Error(template({
19
+ function checkDuplicateId({ id, blockId, eventId, menuId, pageId }) {
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
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */ import { type } from '@lowdefy/helpers';
16
- function createTypeDefinitions({ packageName , store , typeNames , typePrefix , version }) {
16
+ function createTypeDefinitions({ packageName, store, typeNames, typePrefix, version }) {
17
17
  if (type.isArray(typeNames)) {
18
18
  typeNames.forEach((typeName)=>{
19
19
  store[`${typePrefix}${typeName}`] = {
@@ -24,7 +24,7 @@ function createTypeDefinitions({ packageName , store , typeNames , typePrefix ,
24
24
  });
25
25
  }
26
26
  }
27
- function createPluginTypesMap({ packageName , packageTypes , typePrefix ='' , typesMap , version }) {
27
+ function createPluginTypesMap({ packageName, packageTypes, typePrefix = '', typesMap, version }) {
28
28
  createTypeDefinitions({
29
29
  typeNames: packageTypes.actions,
30
30
  store: typesMap.actions,
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */ import { get, type } from '@lowdefy/helpers';
16
- function formatArrayKey({ index , object }) {
16
+ function formatArrayKey({ index, object }) {
17
17
  if (type.isObject(object) && (!type.isNone(object.id) || !type.isNone(object.type))) {
18
18
  const objectId = type.isNone(object.id) ? '_ERROR_MISSING_ID_' : object.id;
19
19
  const objectType = type.isNone(object.type) ? '_ERROR_MISSING_TYPE_' : object.type;
@@ -21,7 +21,7 @@ function formatArrayKey({ index , object }) {
21
21
  }
22
22
  return `[${index}]`;
23
23
  }
24
- function recursiveFormatPath({ data , instancePath , formattedPath ='' , gap ='' , root =false }) {
24
+ function recursiveFormatPath({ data, instancePath, formattedPath = '', gap = '', root = false }) {
25
25
  if (instancePath.length === 0) return formattedPath;
26
26
  const key = instancePath.shift();
27
27
  const newData = get(data, key);
@@ -43,7 +43,7 @@ ${gap}- ${formatArrayKey({
43
43
  gap
44
44
  });
45
45
  }
46
- function formatErrorMessage({ error , components }) {
46
+ function formatErrorMessage({ error, components }) {
47
47
  const formattedPath = recursiveFormatPath({
48
48
  data: components,
49
49
  instancePath: error.instancePath.split('/').slice(1),
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -13,7 +13,10 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */ let id_counter = 0;
16
- function makeId() {
16
+ function makeId(reset) {
17
+ if (reset) {
18
+ id_counter = 0;
19
+ }
17
20
  id_counter++;
18
21
  return id_counter.toString(36);
19
22
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
15
15
  */ import path from 'path';
16
16
  import { cachedPromises } from '@lowdefy/helpers';
17
17
  import { readFile } from '@lowdefy/node-utils';
18
- function createReadConfigFile({ directories }) {
18
+ function createReadConfigFile({ directories }) {
19
19
  async function readConfigFile(filePath) {
20
20
  return readFile(path.resolve(directories.config, filePath));
21
21
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
14
14
  limitations under the License.
15
15
  */ import path from 'path';
16
16
  import { writeFile } from '@lowdefy/node-utils';
17
- function createWriteBuildArtifact({ directories }) {
17
+ function createWriteBuildArtifact({ directories }) {
18
18
  async function writeBuildArtifact(filePath, content) {
19
19
  await writeFile(path.join(directories.build, filePath), content);
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/build",
3
- "version": "4.0.0-rc.9",
3
+ "version": "4.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -43,64 +43,63 @@
43
43
  "files": [
44
44
  "dist/*"
45
45
  ],
46
- "scripts": {
47
- "build": "swc src --out-dir dist --config-file ../../.swcrc --delete-dir-on-start && node dist/scripts/generateDefaultTypes.js",
48
- "clean": "rm -rf dist",
49
- "prepublishOnly": "pnpm build",
50
- "start": "node dist/scripts/run.js",
51
- "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
52
- },
53
46
  "dependencies": {
54
- "@lowdefy/ajv": "4.0.0-rc.9",
55
- "@lowdefy/blocks-basic": "4.0.0-rc.9",
56
- "@lowdefy/blocks-loaders": "4.0.0-rc.9",
57
- "@lowdefy/helpers": "4.0.0-rc.9",
58
- "@lowdefy/node-utils": "4.0.0-rc.9",
59
- "@lowdefy/nunjucks": "4.0.0-rc.9",
60
- "@lowdefy/operators": "4.0.0-rc.9",
61
- "@lowdefy/operators-js": "4.0.0-rc.9",
47
+ "@lowdefy/ajv": "4.0.0",
48
+ "@lowdefy/blocks-basic": "4.0.0",
49
+ "@lowdefy/blocks-loaders": "4.0.0",
50
+ "@lowdefy/helpers": "4.0.0",
51
+ "@lowdefy/node-utils": "4.0.0",
52
+ "@lowdefy/nunjucks": "4.0.0",
53
+ "@lowdefy/operators": "4.0.0",
54
+ "@lowdefy/operators-js": "4.0.0",
62
55
  "ajv": "8.12.0",
63
56
  "json5": "2.2.3",
64
- "yaml": "2.2.2",
65
- "yargs": "17.6.2"
57
+ "yaml": "2.3.4",
58
+ "yargs": "17.7.2"
66
59
  },
67
60
  "devDependencies": {
68
- "@jest/globals": "28.1.0",
69
- "@lowdefy/actions-core": "4.0.0-rc.9",
70
- "@lowdefy/actions-pdf-make": "4.0.0-rc.9",
71
- "@lowdefy/blocks-aggrid": "4.0.0-rc.9",
72
- "@lowdefy/blocks-antd": "4.0.0-rc.9",
73
- "@lowdefy/blocks-color-selectors": "4.0.0-rc.9",
74
- "@lowdefy/blocks-echarts": "4.0.0-rc.9",
75
- "@lowdefy/blocks-google-maps": "4.0.0-rc.9",
76
- "@lowdefy/blocks-markdown": "4.0.0-rc.9",
77
- "@lowdefy/blocks-qr": "4.0.0-rc.9",
78
- "@lowdefy/connection-axios-http": "4.0.0-rc.9",
79
- "@lowdefy/connection-elasticsearch": "4.0.0-rc.9",
80
- "@lowdefy/connection-google-sheets": "4.0.0-rc.9",
81
- "@lowdefy/connection-knex": "4.0.0-rc.9",
82
- "@lowdefy/connection-mongodb": "4.0.0-rc.9",
83
- "@lowdefy/connection-redis": "4.0.0-rc.9",
84
- "@lowdefy/connection-sendgrid": "4.0.0-rc.9",
85
- "@lowdefy/connection-stripe": "4.0.0-rc.9",
86
- "@lowdefy/operators-change-case": "4.0.0-rc.9",
87
- "@lowdefy/operators-diff": "4.0.0-rc.9",
88
- "@lowdefy/operators-moment": "4.0.0-rc.9",
89
- "@lowdefy/operators-mql": "4.0.0-rc.9",
90
- "@lowdefy/operators-nunjucks": "4.0.0-rc.9",
91
- "@lowdefy/operators-uuid": "4.0.0-rc.9",
92
- "@lowdefy/operators-yaml": "4.0.0-rc.9",
93
- "@lowdefy/plugin-auth0": "4.0.0-rc.9",
94
- "@lowdefy/plugin-aws": "4.0.0-rc.9",
95
- "@lowdefy/plugin-csv": "4.0.0-rc.9",
96
- "@lowdefy/plugin-next-auth": "4.0.0-rc.9",
97
- "@swc/cli": "0.1.59",
98
- "@swc/core": "1.3.24",
99
- "@swc/jest": "0.2.24",
100
- "jest": "28.1.0"
61
+ "@jest/globals": "28.1.3",
62
+ "@lowdefy/actions-core": "4.0.0",
63
+ "@lowdefy/actions-pdf-make": "4.0.0",
64
+ "@lowdefy/blocks-aggrid": "4.0.0",
65
+ "@lowdefy/blocks-algolia": "4.0.0",
66
+ "@lowdefy/blocks-antd": "4.0.0",
67
+ "@lowdefy/blocks-color-selectors": "4.0.0",
68
+ "@lowdefy/blocks-echarts": "4.0.0",
69
+ "@lowdefy/blocks-google-maps": "4.0.0",
70
+ "@lowdefy/blocks-markdown": "4.0.0",
71
+ "@lowdefy/blocks-qr": "4.0.0",
72
+ "@lowdefy/connection-axios-http": "4.0.0",
73
+ "@lowdefy/connection-elasticsearch": "4.0.0",
74
+ "@lowdefy/connection-google-sheets": "4.0.0",
75
+ "@lowdefy/connection-knex": "4.0.0",
76
+ "@lowdefy/connection-mongodb": "4.0.0",
77
+ "@lowdefy/connection-redis": "4.0.0",
78
+ "@lowdefy/connection-sendgrid": "4.0.0",
79
+ "@lowdefy/connection-stripe": "4.0.0",
80
+ "@lowdefy/operators-change-case": "4.0.0",
81
+ "@lowdefy/operators-diff": "4.0.0",
82
+ "@lowdefy/operators-moment": "4.0.0",
83
+ "@lowdefy/operators-mql": "4.0.0",
84
+ "@lowdefy/operators-nunjucks": "4.0.0",
85
+ "@lowdefy/operators-uuid": "4.0.0",
86
+ "@lowdefy/operators-yaml": "4.0.0",
87
+ "@lowdefy/plugin-auth0": "4.0.0",
88
+ "@lowdefy/plugin-aws": "4.0.0",
89
+ "@lowdefy/plugin-csv": "4.0.0",
90
+ "@lowdefy/plugin-next-auth": "4.0.0",
91
+ "@swc/cli": "0.1.63",
92
+ "@swc/core": "1.3.99",
93
+ "@swc/jest": "0.2.29",
94
+ "jest": "28.1.3"
101
95
  },
102
96
  "publishConfig": {
103
97
  "access": "public"
104
98
  },
105
- "gitHead": "d20e6ac424643feca527a732dc2b0710713c8243"
106
- }
99
+ "scripts": {
100
+ "build": "swc src --out-dir dist --config-file ../../.swcrc --delete-dir-on-start && node dist/scripts/generateDefaultTypes.js",
101
+ "clean": "rm -rf dist",
102
+ "start": "node dist/scripts/run.js",
103
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
104
+ }
105
+ }