@lowdefy/build 4.0.0-rc.0 → 4.0.0-rc.1

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 (92) hide show
  1. package/dist/build/addDefaultPages/404.js +4 -4
  2. package/dist/build/addDefaultPages/addDefaultPages.js +1 -1
  3. package/dist/build/buildAuth/buildAuth.js +1 -1
  4. package/dist/build/buildAuth/buildAuthPlugins.js +1 -1
  5. package/dist/build/buildAuth/buildPageAuth.js +1 -1
  6. package/dist/build/buildAuth/getPageRoles.js +1 -1
  7. package/dist/build/buildAuth/getProtectedPages.js +1 -1
  8. package/dist/build/buildAuth/validateAuthConfig.js +1 -1
  9. package/dist/build/buildConnections.js +1 -1
  10. package/dist/build/buildImports/buildIconImports.js +11 -6
  11. package/dist/build/buildImports/buildImports.js +1 -1
  12. package/dist/build/buildImports/buildImportsDev.js +1 -1
  13. package/dist/build/buildImports/buildImportsProd.js +1 -1
  14. package/dist/build/buildImports/buildStyleImports.js +1 -1
  15. package/dist/build/buildImports/defaultIconsDev.js +2 -2
  16. package/dist/build/buildImports/defaultIconsProd.js +1 -1
  17. package/dist/build/buildMenu.js +2 -2
  18. package/dist/build/buildPages/buildBlock/buildBlock.js +1 -1
  19. package/dist/build/buildPages/buildBlock/buildEvents.js +1 -1
  20. package/dist/build/buildPages/buildBlock/buildRequests.js +1 -1
  21. package/dist/build/buildPages/buildBlock/buildSubBlocks.js +1 -1
  22. package/dist/build/buildPages/buildBlock/countBlockOperators.js +1 -1
  23. package/dist/build/buildPages/buildBlock/countBlockTypes.js +1 -1
  24. package/dist/build/buildPages/buildBlock/moveSkeletonBlocksToArea.js +9 -9
  25. package/dist/build/buildPages/buildBlock/moveSubBlocksToArea.js +1 -1
  26. package/dist/build/buildPages/buildBlock/setBlockId.js +1 -1
  27. package/dist/build/buildPages/buildBlock/validateBlock.js +1 -1
  28. package/dist/build/buildPages/buildPage.js +1 -1
  29. package/dist/build/buildPages/buildPages.js +1 -1
  30. package/dist/build/buildPages/buildTestPage.js +1 -1
  31. package/dist/build/buildRefs/buildRefs.js +1 -1
  32. package/dist/build/buildRefs/evaluateBuildOperators.js +1 -1
  33. package/dist/build/buildRefs/getConfigFile.js +1 -1
  34. package/dist/build/buildRefs/getKey.js +24 -0
  35. package/dist/build/buildRefs/getRefContent.js +1 -1
  36. package/dist/build/buildRefs/getRefPath.js +1 -1
  37. package/dist/build/buildRefs/getRefsFromFile.js +1 -1
  38. package/dist/build/buildRefs/getUserJavascriptFunction.js +1 -1
  39. package/dist/build/buildRefs/makeRefDefinition.js +1 -1
  40. package/dist/build/buildRefs/parseNunjucks.js +1 -1
  41. package/dist/build/buildRefs/parseRefContent.js +2 -7
  42. package/dist/build/buildRefs/populateRefs.js +1 -1
  43. package/dist/build/buildRefs/recursiveBuild.js +6 -2
  44. package/dist/build/buildRefs/runRefResolver.js +1 -1
  45. package/dist/build/buildRefs/runTransformer.js +1 -1
  46. package/dist/build/buildTypes.js +1 -1
  47. package/dist/build/cleanBuildDirectory.js +1 -1
  48. package/dist/build/copyPublicFolder.js +7 -4
  49. package/dist/build/testSchema.js +1 -1
  50. package/dist/build/updateServerPackageJson.js +1 -1
  51. package/dist/build/validateApp.js +1 -1
  52. package/dist/build/validateConfig.js +1 -1
  53. package/dist/build/writeApp.js +1 -1
  54. package/dist/build/writeAuth.js +1 -1
  55. package/dist/build/writeConfig.js +1 -1
  56. package/dist/build/writeConnections.js +1 -1
  57. package/dist/build/writeGlobal.js +1 -1
  58. package/dist/build/writeMenus.js +1 -1
  59. package/dist/build/writePages.js +1 -1
  60. package/dist/build/writePluginImports/generateImportFile.js +1 -1
  61. package/dist/build/writePluginImports/writeActionImports.js +1 -1
  62. package/dist/build/writePluginImports/writeAuthImports.js +1 -1
  63. package/dist/build/writePluginImports/writeBlockImports.js +1 -1
  64. package/dist/build/writePluginImports/writeConnectionImports.js +1 -1
  65. package/dist/build/writePluginImports/writeIconImports.js +1 -1
  66. package/dist/build/writePluginImports/writeOperatorImports.js +1 -1
  67. package/dist/build/writePluginImports/writePluginImports.js +1 -1
  68. package/dist/build/writePluginImports/writeStyleImports.js +1 -1
  69. package/dist/build/writeRequests.js +1 -1
  70. package/dist/build/writeTypes.js +1 -1
  71. package/dist/createContext.js +1 -1
  72. package/dist/defaultTypesMap.js +340 -325
  73. package/dist/index.js +1 -1
  74. package/dist/lowdefySchema.js +2 -2
  75. package/dist/scripts/generateDefaultTypes.js +2 -2
  76. package/dist/scripts/run.js +1 -1
  77. package/dist/test/buildRefs/testBuildRefsAsyncFunction.js +1 -1
  78. package/dist/test/buildRefs/testBuildRefsErrorResolver.js +1 -1
  79. package/dist/test/buildRefs/testBuildRefsNullResolver.js +1 -1
  80. package/dist/test/buildRefs/testBuildRefsParsingResolver.js +1 -1
  81. package/dist/test/buildRefs/testBuildRefsResolver.js +1 -1
  82. package/dist/test/buildRefs/testBuildRefsTransform.js +1 -1
  83. package/dist/test/buildRefs/testBuildRefsTransformIdentity.js +1 -1
  84. package/dist/test/testContext.js +1 -1
  85. package/dist/utils/countOperators.js +1 -1
  86. package/dist/utils/createCheckDuplicateId.js +1 -1
  87. package/dist/utils/createCounter.js +1 -1
  88. package/dist/utils/createPluginTypesMap.js +1 -1
  89. package/dist/utils/formatErrorMessage.js +1 -1
  90. package/dist/utils/readConfigFile.js +1 -1
  91. package/dist/utils/writeBuildArtifact.js +1 -1
  92. package/package.json +46 -46
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable no-console */ /*
2
- Copyright 2020-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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.
@@ -440,7 +440,7 @@ export default {
440
440
  }
441
441
  }
442
442
  }
443
- },
443
+ }
444
444
  ]
445
445
  }
446
446
  },
@@ -604,7 +604,7 @@ export default {
604
604
  },
605
605
  {
606
606
  $ref: '#/definitions/menuLink'
607
- },
607
+ }
608
608
  ]
609
609
  },
610
610
  menuLink: {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
- Copyright 2020-2022 Lowdefy, Inc
3
+ Copyright 2020-2023 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.
@@ -47,7 +47,7 @@ const defaultPackages = [
47
47
  '@lowdefy/plugin-auth0',
48
48
  '@lowdefy/plugin-aws',
49
49
  '@lowdefy/plugin-csv',
50
- '@lowdefy/plugin-next-auth',
50
+ '@lowdefy/plugin-next-auth'
51
51
  ];
52
52
  async function generateDefaultTypesMap() {
53
53
  const packageFile = JSON.parse(await readFile(path.resolve(process.cwd(), './package.json')));
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
- Copyright 2020-2022 Lowdefy, Inc
3
+ Copyright 2020-2023 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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/build",
3
- "version": "4.0.0-rc.0",
3
+ "version": "4.0.0-rc.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -51,57 +51,57 @@
51
51
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
52
52
  },
53
53
  "dependencies": {
54
- "@lowdefy/ajv": "4.0.0-rc.0",
55
- "@lowdefy/blocks-basic": "4.0.0-rc.0",
56
- "@lowdefy/blocks-loaders": "4.0.0-rc.0",
57
- "@lowdefy/helpers": "4.0.0-rc.0",
58
- "@lowdefy/node-utils": "4.0.0-rc.0",
59
- "@lowdefy/nunjucks": "4.0.0-rc.0",
60
- "@lowdefy/operators": "4.0.0-rc.0",
61
- "@lowdefy/operators-js": "4.0.0-rc.0",
62
- "ajv": "8.11.0",
63
- "json5": "2.2.1",
64
- "uuid": "8.3.2",
65
- "yaml": "2.1.1",
66
- "yargs": "17.5.1"
54
+ "@lowdefy/ajv": "4.0.0-rc.1",
55
+ "@lowdefy/blocks-basic": "4.0.0-rc.1",
56
+ "@lowdefy/blocks-loaders": "4.0.0-rc.1",
57
+ "@lowdefy/helpers": "4.0.0-rc.1",
58
+ "@lowdefy/node-utils": "4.0.0-rc.1",
59
+ "@lowdefy/nunjucks": "4.0.0-rc.1",
60
+ "@lowdefy/operators": "4.0.0-rc.1",
61
+ "@lowdefy/operators-js": "4.0.0-rc.1",
62
+ "ajv": "8.12.0",
63
+ "json5": "2.2.3",
64
+ "uuid": "9.0.0",
65
+ "yaml": "2.2.1",
66
+ "yargs": "17.6.2"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@jest/globals": "28.1.0",
70
- "@lowdefy/actions-core": "4.0.0-rc.0",
71
- "@lowdefy/actions-pdf-make": "4.0.0-rc.0",
72
- "@lowdefy/blocks-aggrid": "4.0.0-rc.0",
73
- "@lowdefy/blocks-antd": "4.0.0-rc.0",
74
- "@lowdefy/blocks-color-selectors": "4.0.0-rc.0",
75
- "@lowdefy/blocks-echarts": "4.0.0-rc.0",
76
- "@lowdefy/blocks-google-maps": "4.0.0-rc.0",
77
- "@lowdefy/blocks-markdown": "4.0.0-rc.0",
78
- "@lowdefy/blocks-qr": "4.0.0-rc.0",
79
- "@lowdefy/connection-axios-http": "4.0.0-rc.0",
80
- "@lowdefy/connection-elasticsearch": "4.0.0-rc.0",
81
- "@lowdefy/connection-google-sheets": "4.0.0-rc.0",
82
- "@lowdefy/connection-knex": "4.0.0-rc.0",
83
- "@lowdefy/connection-mongodb": "4.0.0-rc.0",
84
- "@lowdefy/connection-redis": "4.0.0-rc.0",
85
- "@lowdefy/connection-sendgrid": "4.0.0-rc.0",
86
- "@lowdefy/connection-stripe": "4.0.0-rc.0",
87
- "@lowdefy/operators-change-case": "4.0.0-rc.0",
88
- "@lowdefy/operators-diff": "4.0.0-rc.0",
89
- "@lowdefy/operators-moment": "4.0.0-rc.0",
90
- "@lowdefy/operators-mql": "4.0.0-rc.0",
91
- "@lowdefy/operators-nunjucks": "4.0.0-rc.0",
92
- "@lowdefy/operators-uuid": "4.0.0-rc.0",
93
- "@lowdefy/operators-yaml": "4.0.0-rc.0",
94
- "@lowdefy/plugin-auth0": "4.0.0-rc.0",
95
- "@lowdefy/plugin-aws": "4.0.0-rc.0",
96
- "@lowdefy/plugin-csv": "4.0.0-rc.0",
97
- "@lowdefy/plugin-next-auth": "4.0.0-rc.0",
98
- "@swc/cli": "0.1.57",
99
- "@swc/core": "1.2.194",
100
- "@swc/jest": "0.2.21",
70
+ "@lowdefy/actions-core": "4.0.0-rc.1",
71
+ "@lowdefy/actions-pdf-make": "4.0.0-rc.1",
72
+ "@lowdefy/blocks-aggrid": "4.0.0-rc.1",
73
+ "@lowdefy/blocks-antd": "4.0.0-rc.1",
74
+ "@lowdefy/blocks-color-selectors": "4.0.0-rc.1",
75
+ "@lowdefy/blocks-echarts": "4.0.0-rc.1",
76
+ "@lowdefy/blocks-google-maps": "4.0.0-rc.1",
77
+ "@lowdefy/blocks-markdown": "4.0.0-rc.1",
78
+ "@lowdefy/blocks-qr": "4.0.0-rc.1",
79
+ "@lowdefy/connection-axios-http": "4.0.0-rc.1",
80
+ "@lowdefy/connection-elasticsearch": "4.0.0-rc.1",
81
+ "@lowdefy/connection-google-sheets": "4.0.0-rc.1",
82
+ "@lowdefy/connection-knex": "4.0.0-rc.1",
83
+ "@lowdefy/connection-mongodb": "4.0.0-rc.1",
84
+ "@lowdefy/connection-redis": "4.0.0-rc.1",
85
+ "@lowdefy/connection-sendgrid": "4.0.0-rc.1",
86
+ "@lowdefy/connection-stripe": "4.0.0-rc.1",
87
+ "@lowdefy/operators-change-case": "4.0.0-rc.1",
88
+ "@lowdefy/operators-diff": "4.0.0-rc.1",
89
+ "@lowdefy/operators-moment": "4.0.0-rc.1",
90
+ "@lowdefy/operators-mql": "4.0.0-rc.1",
91
+ "@lowdefy/operators-nunjucks": "4.0.0-rc.1",
92
+ "@lowdefy/operators-uuid": "4.0.0-rc.1",
93
+ "@lowdefy/operators-yaml": "4.0.0-rc.1",
94
+ "@lowdefy/plugin-auth0": "4.0.0-rc.1",
95
+ "@lowdefy/plugin-aws": "4.0.0-rc.1",
96
+ "@lowdefy/plugin-csv": "4.0.0-rc.1",
97
+ "@lowdefy/plugin-next-auth": "4.0.0-rc.1",
98
+ "@swc/cli": "0.1.59",
99
+ "@swc/core": "1.3.24",
100
+ "@swc/jest": "0.2.24",
101
101
  "jest": "28.1.0"
102
102
  },
103
103
  "publishConfig": {
104
104
  "access": "public"
105
105
  },
106
- "gitHead": "f6872d7ff6da421710096536fce7b2016ef8f35c"
106
+ "gitHead": "ecc4f16c19eede929eda177db524cf13a8053379"
107
107
  }