@lowdefy/server 4.0.0-rc.0 → 4.0.0-rc.2

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/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/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/lowdefy/build.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,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.
package/next.config.js CHANGED
@@ -1,7 +1,6 @@
1
1
  const withLess = require('next-with-less');
2
2
  const lowdefyConfig = require('./build/config.json');
3
3
 
4
- // TODO: Trace env and args from cli that is required on the server.
5
4
  module.exports = withLess({
6
5
  basePath: process.env.LOWDEFY_BASE_PATH || lowdefyConfig.basePath,
7
6
  reactStrictMode: true,
@@ -22,11 +21,7 @@ module.exports = withLess({
22
21
  },
23
22
  poweredByHeader: false,
24
23
  // productionBrowserSourceMaps: true
25
- experimental: {
26
- // TODO: Convert from experimental.outputStandalone to output: 'standalone' when upgrading to Next 13
27
- outputStandalone: process.env.LOWDEFY_BUILD_OUTPUT_STANDALONE === '1' || false,
28
- // concurrentFeatures: true,
29
- },
24
+ output: process.env.LOWDEFY_BUILD_OUTPUT_STANDALONE === '1' ? 'standalone' : undefined,
30
25
  outputFileTracing: true,
31
26
  eslint: {
32
27
  ignoreDuringBuilds: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/server",
3
- "version": "4.0.0-rc.0",
3
+ "version": "4.0.0-rc.2",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -29,12 +29,14 @@
29
29
  "lib/*",
30
30
  "lowdefy/*",
31
31
  "pages/*",
32
- "public/*",
32
+ "public_default/*",
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
  "build:lowdefy": "node lowdefy/build.mjs",
39
41
  "build:next": "next build",
40
42
  "dev": "next dev",
@@ -43,37 +45,37 @@
43
45
  "next": "next"
44
46
  },
45
47
  "dependencies": {
46
- "@lowdefy/actions-core": "4.0.0-rc.0",
47
- "@lowdefy/api": "4.0.0-rc.0",
48
- "@lowdefy/blocks-antd": "4.0.0-rc.0",
49
- "@lowdefy/blocks-basic": "4.0.0-rc.0",
50
- "@lowdefy/blocks-loaders": "4.0.0-rc.0",
51
- "@lowdefy/client": "4.0.0-rc.0",
52
- "@lowdefy/helpers": "4.0.0-rc.0",
53
- "@lowdefy/layout": "4.0.0-rc.0",
54
- "@lowdefy/node-utils": "4.0.0-rc.0",
55
- "@lowdefy/operators-js": "4.0.0-rc.0",
56
- "@lowdefy/plugin-next-auth": "4.0.0-rc.0",
48
+ "@lowdefy/actions-core": "4.0.0-rc.2",
49
+ "@lowdefy/api": "4.0.0-rc.2",
50
+ "@lowdefy/blocks-antd": "4.0.0-rc.2",
51
+ "@lowdefy/blocks-basic": "4.0.0-rc.2",
52
+ "@lowdefy/blocks-loaders": "4.0.0-rc.2",
53
+ "@lowdefy/client": "4.0.0-rc.2",
54
+ "@lowdefy/helpers": "4.0.0-rc.2",
55
+ "@lowdefy/layout": "4.0.0-rc.2",
56
+ "@lowdefy/node-utils": "4.0.0-rc.2",
57
+ "@lowdefy/operators-js": "4.0.0-rc.2",
58
+ "@lowdefy/plugin-next-auth": "4.0.0-rc.2",
57
59
  "next": "12.3.1",
58
- "next-auth": "4.10.3",
60
+ "next-auth": "4.18.8",
59
61
  "process": "0.11.10",
60
62
  "react": "18.2.0",
61
63
  "react-dom": "18.2.0",
62
- "react-icons": "4.3.1"
64
+ "react-icons": "4.7.1"
63
65
  },
64
66
  "devDependencies": {
65
- "@lowdefy/build": "4.0.0-rc.0",
67
+ "@lowdefy/build": "4.0.0-rc.2",
66
68
  "@next/eslint-plugin-next": "12.1.6",
67
- "less": "4.1.2",
68
- "less-loader": "11.0.0",
69
+ "less": "4.1.3",
70
+ "less-loader": "11.1.0",
69
71
  "next-with-less": "2.0.5",
70
- "webpack": "5.74.0",
71
- "yaml": "2.1.1",
72
- "yargs": "17.5.1"
72
+ "webpack": "5.75.0",
73
+ "yaml": "2.2.1",
74
+ "yargs": "17.6.2"
73
75
  },
74
76
  "packageManager": "pnpm@7.11.0",
75
77
  "publishConfig": {
76
78
  "access": "public"
77
79
  },
78
- "gitHead": "f6872d7ff6da421710096536fce7b2016ef8f35c"
80
+ "gitHead": "ac0dec732efb3b3cb06c82941d8f829c9fa65dff"
79
81
  }
@@ -0,0 +1,80 @@
1
+ {
2
+ "name": "@lowdefy/server",
3
+ "version": "4.0.0-rc.2",
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
+ "lowdefy/*",
31
+ "pages/*",
32
+ "public_default/*",
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
+ "build:lowdefy": "node lowdefy/build.mjs",
41
+ "build:next": "next build",
42
+ "dev": "next dev",
43
+ "start": "next start",
44
+ "lint": "next lint",
45
+ "next": "next"
46
+ },
47
+ "dependencies": {
48
+ "@lowdefy/actions-core": "4.0.0-rc.2",
49
+ "@lowdefy/api": "4.0.0-rc.2",
50
+ "@lowdefy/blocks-antd": "4.0.0-rc.2",
51
+ "@lowdefy/blocks-basic": "4.0.0-rc.2",
52
+ "@lowdefy/blocks-loaders": "4.0.0-rc.2",
53
+ "@lowdefy/client": "4.0.0-rc.2",
54
+ "@lowdefy/helpers": "4.0.0-rc.2",
55
+ "@lowdefy/layout": "4.0.0-rc.2",
56
+ "@lowdefy/node-utils": "4.0.0-rc.2",
57
+ "@lowdefy/operators-js": "4.0.0-rc.2",
58
+ "@lowdefy/plugin-next-auth": "4.0.0-rc.2",
59
+ "next": "12.3.1",
60
+ "next-auth": "4.18.8",
61
+ "process": "0.11.10",
62
+ "react": "18.2.0",
63
+ "react-dom": "18.2.0",
64
+ "react-icons": "4.7.1"
65
+ },
66
+ "devDependencies": {
67
+ "@lowdefy/build": "4.0.0-rc.2",
68
+ "@next/eslint-plugin-next": "12.1.6",
69
+ "less": "4.1.3",
70
+ "less-loader": "11.1.0",
71
+ "next-with-less": "2.0.5",
72
+ "webpack": "5.75.0",
73
+ "yaml": "2.2.1",
74
+ "yargs": "17.6.2"
75
+ },
76
+ "packageManager": "pnpm@7.11.0",
77
+ "publishConfig": {
78
+ "access": "public"
79
+ }
80
+ }
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/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.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes