@lowdefy/server-dev 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 (58) hide show
  1. package/lib/App.js +1 -1
  2. package/lib/Page.js +1 -1
  3. package/lib/Reload.js +1 -1
  4. package/lib/RestartingPage.js +1 -1
  5. package/lib/auth/Auth.js +1 -1
  6. package/lib/auth/AuthConfigured.js +1 -1
  7. package/lib/auth/AuthNotConfigured.js +1 -1
  8. package/lib/auth/getServerSession.js +1 -1
  9. package/lib/fileCache.js +1 -1
  10. package/lib/setPageId.js +1 -1
  11. package/lib/utils/request.js +1 -1
  12. package/lib/utils/useMutateCache.js +4 -13
  13. package/lib/utils/usePageConfig.js +1 -1
  14. package/lib/utils/useRootConfig.js +1 -1
  15. package/lib/utils/waitForRestartedServer.js +1 -1
  16. package/manager/getContext.mjs +1 -1
  17. package/manager/processes/initialBuild.mjs +1 -1
  18. package/manager/processes/installPlugins.mjs +1 -1
  19. package/manager/processes/lowdefyBuild.mjs +2 -2
  20. package/manager/processes/nextBuild.mjs +1 -1
  21. package/manager/processes/readDotEnv.mjs +1 -1
  22. package/manager/processes/reloadClients.mjs +1 -1
  23. package/manager/processes/restartServer.mjs +1 -1
  24. package/manager/processes/shutdownServer.mjs +1 -1
  25. package/manager/processes/startServer.mjs +1 -1
  26. package/manager/processes/startWatchers.mjs +1 -1
  27. package/manager/run.mjs +1 -1
  28. package/manager/utils/BatchChanges.mjs +1 -1
  29. package/manager/utils/createCustomPluginTypesMap.mjs +10 -3
  30. package/manager/utils/createLogger.mjs +1 -1
  31. package/manager/utils/getLowdefyVersion.mjs +1 -1
  32. package/manager/utils/getNextBin.mjs +1 -1
  33. package/manager/utils/setupWatcher.mjs +1 -1
  34. package/manager/watchers/envWatcher.mjs +1 -1
  35. package/manager/watchers/lowdefyBuildWatcher.mjs +1 -1
  36. package/manager/watchers/nextBuildWatcher.mjs +1 -1
  37. package/package.json +38 -36
  38. package/package.original.json +94 -0
  39. package/pages/404.js +1 -1
  40. package/pages/[pageId].js +1 -1
  41. package/pages/_app.js +1 -1
  42. package/pages/_document.js +1 -1
  43. package/pages/api/auth/[...nextauth].js +1 -1
  44. package/pages/api/page/[pageId].js +1 -1
  45. package/pages/api/ping.js +1 -1
  46. package/pages/api/reload.js +1 -1
  47. package/pages/api/request/[pageId]/[requestId].js +1 -1
  48. package/pages/api/root.js +1 -1
  49. package/pages/index.js +1 -1
  50. package/public/apple-touch-icon.png +0 -0
  51. package/public/favicon.ico +0 -0
  52. package/public/icon-512.png +0 -0
  53. package/public/icon.svg +0 -17
  54. package/public/logo-dark-theme.png +0 -0
  55. package/public/logo-light-theme.png +0 -0
  56. package/public/logo-square-dark-theme.png +0 -0
  57. package/public/logo-square-light-theme.png +0 -0
  58. package/public/manifest.webmanifest +0 -16
package/lib/App.js CHANGED
@@ -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/lib/Page.js CHANGED
@@ -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/lib/Reload.js CHANGED
@@ -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/lib/auth/Auth.js CHANGED
@@ -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/lib/fileCache.js CHANGED
@@ -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/lib/setPageId.js CHANGED
@@ -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.
@@ -17,18 +17,9 @@
17
17
  import { useSWRConfig } from 'swr';
18
18
 
19
19
  function useMutateCache(basePath) {
20
- const { cache, mutate } = useSWRConfig();
21
- return () => {
22
- const keys = [`${basePath}/api/root`];
23
-
24
- for (const key of cache.keys()) {
25
- if (key.startsWith(`${basePath}/api/page`)) {
26
- keys.push(key);
27
- }
28
- }
29
- const mutations = keys.map((key) => mutate(key));
30
- return Promise.all(mutations);
31
- };
20
+ const { mutate } = useSWRConfig();
21
+ return () =>
22
+ mutate((key) => key.startsWith(`${basePath}/api/page`) || key === `${basePath}/api/root`);
32
23
  }
33
24
 
34
25
  export default useMutateCache;
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 Lowdefy, Inc
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
5
5
  You may obtain a copy of the License at
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 Lowdefy, Inc
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
5
5
  You may obtain a copy of the License at
@@ -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,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.
@@ -19,7 +19,7 @@ import createCustomPluginTypesMap from '../utils/createCustomPluginTypesMap.mjs'
19
19
 
20
20
  function lowdefyBuild({ directories, logger, options }) {
21
21
  return async () => {
22
- const customTypesMap = await createCustomPluginTypesMap({ directories });
22
+ const customTypesMap = await createCustomPluginTypesMap({ directories, logger });
23
23
  await build({
24
24
  customTypesMap,
25
25
  directories,
@@ -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/manager/run.mjs CHANGED
@@ -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,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.
@@ -30,7 +30,7 @@ async function getPluginDefinitions({ directories }) {
30
30
  return get(lowdefy, 'plugins', { default: [] });
31
31
  }
32
32
 
33
- async function createCustomPluginTypesMap({ directories }) {
33
+ async function createCustomPluginTypesMap({ directories, logger }) {
34
34
  const customTypesMap = {
35
35
  actions: {},
36
36
  auth: {
@@ -56,7 +56,14 @@ async function createCustomPluginTypesMap({ directories }) {
56
56
  const pluginDefinitions = await getPluginDefinitions({ directories });
57
57
 
58
58
  for (const plugin of pluginDefinitions) {
59
- const { default: types } = await import(`${plugin.name}/types`);
59
+ let types;
60
+ try {
61
+ types = (await import(`${plugin.name}/types`)).default;
62
+ } catch (e) {
63
+ logger.error(`Failed to import plugin "${plugin.name}".`);
64
+ logger.info('If the plugin was added while the server was running, restart the server.');
65
+ throw new Error(`Failed to import plugin "${plugin.name}".`);
66
+ }
60
67
  createPluginTypesMap({
61
68
  packageTypes: types,
62
69
  typesMap: customTypesMap,
@@ -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/server-dev",
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",
@@ -31,63 +31,65 @@
31
31
  "pages/*",
32
32
  "public/*",
33
33
  "next.config.js",
34
+ "package.original.json",
34
35
  ".eslintrc.yaml",
35
36
  ".npmrc"
36
37
  ],
37
38
  "scripts": {
39
+ "build": "cp package.json package.original.json || copy package.json package.original.json",
38
40
  "start": "node manager/run.mjs",
39
41
  "lint": "next lint",
40
42
  "next": "next"
41
43
  },
42
44
  "dependencies": {
43
- "@lowdefy/actions-core": "4.0.0-rc.0",
44
- "@lowdefy/api": "4.0.0-rc.0",
45
- "@lowdefy/blocks-antd": "4.0.0-rc.0",
46
- "@lowdefy/blocks-basic": "4.0.0-rc.0",
47
- "@lowdefy/blocks-color-selectors": "4.0.0-rc.0",
48
- "@lowdefy/blocks-echarts": "4.0.0-rc.0",
49
- "@lowdefy/blocks-loaders": "4.0.0-rc.0",
50
- "@lowdefy/blocks-markdown": "4.0.0-rc.0",
51
- "@lowdefy/blocks-qr": "4.0.0-rc.0",
52
- "@lowdefy/build": "4.0.0-rc.0",
53
- "@lowdefy/client": "4.0.0-rc.0",
54
- "@lowdefy/connection-axios-http": "4.0.0-rc.0",
55
- "@lowdefy/engine": "4.0.0-rc.0",
56
- "@lowdefy/helpers": "4.0.0-rc.0",
57
- "@lowdefy/layout": "4.0.0-rc.0",
58
- "@lowdefy/node-utils": "4.0.0-rc.0",
59
- "@lowdefy/operators-change-case": "4.0.0-rc.0",
60
- "@lowdefy/operators-diff": "4.0.0-rc.0",
61
- "@lowdefy/operators-js": "4.0.0-rc.0",
62
- "@lowdefy/operators-mql": "4.0.0-rc.0",
63
- "@lowdefy/operators-nunjucks": "4.0.0-rc.0",
64
- "@lowdefy/operators-uuid": "4.0.0-rc.0",
65
- "@lowdefy/operators-yaml": "4.0.0-rc.0",
66
- "@lowdefy/plugin-next-auth": "4.0.0-rc.0",
45
+ "@lowdefy/actions-core": "4.0.0-rc.1",
46
+ "@lowdefy/api": "4.0.0-rc.1",
47
+ "@lowdefy/blocks-antd": "4.0.0-rc.1",
48
+ "@lowdefy/blocks-basic": "4.0.0-rc.1",
49
+ "@lowdefy/blocks-color-selectors": "4.0.0-rc.1",
50
+ "@lowdefy/blocks-echarts": "4.0.0-rc.1",
51
+ "@lowdefy/blocks-loaders": "4.0.0-rc.1",
52
+ "@lowdefy/blocks-markdown": "4.0.0-rc.1",
53
+ "@lowdefy/blocks-qr": "4.0.0-rc.1",
54
+ "@lowdefy/build": "4.0.0-rc.1",
55
+ "@lowdefy/client": "4.0.0-rc.1",
56
+ "@lowdefy/connection-axios-http": "4.0.0-rc.1",
57
+ "@lowdefy/engine": "4.0.0-rc.1",
58
+ "@lowdefy/helpers": "4.0.0-rc.1",
59
+ "@lowdefy/layout": "4.0.0-rc.1",
60
+ "@lowdefy/node-utils": "4.0.0-rc.1",
61
+ "@lowdefy/operators-change-case": "4.0.0-rc.1",
62
+ "@lowdefy/operators-diff": "4.0.0-rc.1",
63
+ "@lowdefy/operators-js": "4.0.0-rc.1",
64
+ "@lowdefy/operators-mql": "4.0.0-rc.1",
65
+ "@lowdefy/operators-nunjucks": "4.0.0-rc.1",
66
+ "@lowdefy/operators-uuid": "4.0.0-rc.1",
67
+ "@lowdefy/operators-yaml": "4.0.0-rc.1",
68
+ "@lowdefy/plugin-next-auth": "4.0.0-rc.1",
67
69
  "chokidar": "3.5.3",
68
- "dotenv": "16.0.1",
70
+ "dotenv": "16.0.3",
69
71
  "next": "12.3.1",
70
- "next-auth": "4.10.3",
72
+ "next-auth": "4.18.8",
71
73
  "opener": "1.5.2",
72
- "pino": "8.1.0",
74
+ "pino": "8.8.0",
73
75
  "process": "0.11.10",
74
76
  "react": "18.2.0",
75
77
  "react-dom": "18.2.0",
76
- "react-icons": "4.3.1",
77
- "swr": "1.3.0",
78
- "yaml": "2.1.1",
79
- "yargs": "17.5.1"
78
+ "react-icons": "4.7.1",
79
+ "swr": "2.0.0",
80
+ "yaml": "2.2.1",
81
+ "yargs": "17.6.2"
80
82
  },
81
83
  "devDependencies": {
82
84
  "@next/eslint-plugin-next": "12.1.6",
83
- "less": "4.1.2",
84
- "less-loader": "11.0.0",
85
+ "less": "4.1.3",
86
+ "less-loader": "11.1.0",
85
87
  "next-with-less": "2.0.5",
86
- "webpack": "5.74.0"
88
+ "webpack": "5.75.0"
87
89
  },
88
90
  "packageManager": "pnpm@7.11.0",
89
91
  "publishConfig": {
90
92
  "access": "public"
91
93
  },
92
- "gitHead": "f6872d7ff6da421710096536fce7b2016ef8f35c"
94
+ "gitHead": "ecc4f16c19eede929eda177db524cf13a8053379"
93
95
  }
@@ -0,0 +1,94 @@
1
+ {
2
+ "name": "@lowdefy/server-dev",
3
+ "version": "4.0.0-rc.1",
4
+ "license": "Apache-2.0",
5
+ "description": "",
6
+ "homepage": "https://lowdefy.com",
7
+ "keywords": [
8
+ "lowdefy",
9
+ "server"
10
+ ],
11
+ "bugs": {
12
+ "url": "https://github.com/lowdefy/lowdefy/issues"
13
+ },
14
+ "contributors": [
15
+ {
16
+ "name": "Sam Tolmay",
17
+ "url": "https://github.com/SamTolmay"
18
+ },
19
+ {
20
+ "name": "Gerrie van Wyk",
21
+ "url": "https://github.com/Gervwyk"
22
+ }
23
+ ],
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://github.com/lowdefy/lowdefy.git"
27
+ },
28
+ "files": [
29
+ "lib/*",
30
+ "manager/*",
31
+ "pages/*",
32
+ "public/*",
33
+ "next.config.js",
34
+ "package.original.json",
35
+ ".eslintrc.yaml",
36
+ ".npmrc"
37
+ ],
38
+ "scripts": {
39
+ "build": "cp package.json package.original.json || copy package.json package.original.json",
40
+ "start": "node manager/run.mjs",
41
+ "lint": "next lint",
42
+ "next": "next"
43
+ },
44
+ "dependencies": {
45
+ "@lowdefy/actions-core": "4.0.0-rc.1",
46
+ "@lowdefy/api": "4.0.0-rc.1",
47
+ "@lowdefy/blocks-antd": "4.0.0-rc.1",
48
+ "@lowdefy/blocks-basic": "4.0.0-rc.1",
49
+ "@lowdefy/blocks-color-selectors": "4.0.0-rc.1",
50
+ "@lowdefy/blocks-echarts": "4.0.0-rc.1",
51
+ "@lowdefy/blocks-loaders": "4.0.0-rc.1",
52
+ "@lowdefy/blocks-markdown": "4.0.0-rc.1",
53
+ "@lowdefy/blocks-qr": "4.0.0-rc.1",
54
+ "@lowdefy/build": "4.0.0-rc.1",
55
+ "@lowdefy/client": "4.0.0-rc.1",
56
+ "@lowdefy/connection-axios-http": "4.0.0-rc.1",
57
+ "@lowdefy/engine": "4.0.0-rc.1",
58
+ "@lowdefy/helpers": "4.0.0-rc.1",
59
+ "@lowdefy/layout": "4.0.0-rc.1",
60
+ "@lowdefy/node-utils": "4.0.0-rc.1",
61
+ "@lowdefy/operators-change-case": "4.0.0-rc.1",
62
+ "@lowdefy/operators-diff": "4.0.0-rc.1",
63
+ "@lowdefy/operators-js": "4.0.0-rc.1",
64
+ "@lowdefy/operators-mql": "4.0.0-rc.1",
65
+ "@lowdefy/operators-nunjucks": "4.0.0-rc.1",
66
+ "@lowdefy/operators-uuid": "4.0.0-rc.1",
67
+ "@lowdefy/operators-yaml": "4.0.0-rc.1",
68
+ "@lowdefy/plugin-next-auth": "4.0.0-rc.1",
69
+ "chokidar": "3.5.3",
70
+ "dotenv": "16.0.3",
71
+ "next": "12.3.1",
72
+ "next-auth": "4.18.8",
73
+ "opener": "1.5.2",
74
+ "pino": "8.8.0",
75
+ "process": "0.11.10",
76
+ "react": "18.2.0",
77
+ "react-dom": "18.2.0",
78
+ "react-icons": "4.7.1",
79
+ "swr": "2.0.0",
80
+ "yaml": "2.2.1",
81
+ "yargs": "17.6.2"
82
+ },
83
+ "devDependencies": {
84
+ "@next/eslint-plugin-next": "12.1.6",
85
+ "less": "4.1.3",
86
+ "less-loader": "11.1.0",
87
+ "next-with-less": "2.0.5",
88
+ "webpack": "5.75.0"
89
+ },
90
+ "packageManager": "pnpm@7.11.0",
91
+ "publishConfig": {
92
+ "access": "public"
93
+ }
94
+ }
package/pages/404.js CHANGED
@@ -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/pages/[pageId].js CHANGED
@@ -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/pages/_app.js CHANGED
@@ -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/pages/api/ping.js CHANGED
@@ -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/pages/api/root.js CHANGED
@@ -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/pages/index.js CHANGED
@@ -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.
Binary file
Binary file
Binary file
package/public/icon.svg DELETED
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg width="100%" height="100%" viewBox="0 0 94 94" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
4
- <g transform="matrix(1,0,0,1,-979.672,-59.6924)">
5
- <g transform="matrix(1,0,0,1.03297,-38.3284,-294.615)">
6
- <g transform="matrix(1,0,0,1,952,232)">
7
- <path d="M160,129.634C160,119.35 151.375,111 140.751,111L85.249,111C74.625,111 66,119.35 66,129.634L66,183.366C66,193.65 74.625,202 85.249,202L140.751,202C151.375,202 160,193.65 160,183.366L160,129.634Z"/>
8
- </g>
9
- <g transform="matrix(0.872141,0,0,1,1002.6,346)">
10
- <rect x="36" y="12" width="36" height="59" style="fill:white;"/>
11
- </g>
12
- <g transform="matrix(0.78125,0,0,0.862069,1010.84,356.663)">
13
- <rect x="77" y="41" width="32" height="29" style="fill:rgb(24,144,255);"/>
14
- </g>
15
- </g>
16
- </g>
17
- </svg>
Binary file
Binary file
Binary file
Binary file
@@ -1,16 +0,0 @@
1
- {
2
- "short_name": "Lowdefy App",
3
- "name": "Lowdefy App",
4
- "description": "Lowdefy App",
5
- "icons": [
6
- {
7
- "src": "/public/icon-512.png",
8
- "type": "image/png",
9
- "sizes": "512x512"
10
- }
11
- ],
12
- "start_url": "/",
13
- "background_color": "#FFFFFF",
14
- "display": "browser",
15
- "scope": "/"
16
- }