@lowdefy/server 4.0.0-alpha.20 → 4.0.0-alpha.23
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/server",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.23",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"next": "next"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lowdefy/actions-core": "4.0.0-alpha.
|
|
46
|
-
"@lowdefy/api": "4.0.0-alpha.
|
|
47
|
-
"@lowdefy/blocks-antd": "4.0.0-alpha.
|
|
48
|
-
"@lowdefy/blocks-basic": "4.0.0-alpha.
|
|
49
|
-
"@lowdefy/blocks-loaders": "4.0.0-alpha.
|
|
50
|
-
"@lowdefy/client": "4.0.0-alpha.
|
|
51
|
-
"@lowdefy/helpers": "4.0.0-alpha.
|
|
52
|
-
"@lowdefy/layout": "4.0.0-alpha.
|
|
53
|
-
"@lowdefy/node-utils": "4.0.0-alpha.
|
|
54
|
-
"@lowdefy/operators-js": "4.0.0-alpha.
|
|
55
|
-
"@lowdefy/plugin-next-auth": "4.0.0-alpha.
|
|
45
|
+
"@lowdefy/actions-core": "4.0.0-alpha.23",
|
|
46
|
+
"@lowdefy/api": "4.0.0-alpha.23",
|
|
47
|
+
"@lowdefy/blocks-antd": "4.0.0-alpha.23",
|
|
48
|
+
"@lowdefy/blocks-basic": "4.0.0-alpha.23",
|
|
49
|
+
"@lowdefy/blocks-loaders": "4.0.0-alpha.23",
|
|
50
|
+
"@lowdefy/client": "4.0.0-alpha.23",
|
|
51
|
+
"@lowdefy/helpers": "4.0.0-alpha.23",
|
|
52
|
+
"@lowdefy/layout": "4.0.0-alpha.23",
|
|
53
|
+
"@lowdefy/node-utils": "4.0.0-alpha.23",
|
|
54
|
+
"@lowdefy/operators-js": "4.0.0-alpha.23",
|
|
55
|
+
"@lowdefy/plugin-next-auth": "4.0.0-alpha.23",
|
|
56
56
|
"next": "12.1.6",
|
|
57
57
|
"next-auth": "4.9.0",
|
|
58
58
|
"process": "0.11.10",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"react-icons": "4.3.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@lowdefy/build": "4.0.0-alpha.
|
|
64
|
+
"@lowdefy/build": "4.0.0-alpha.23",
|
|
65
65
|
"@next/eslint-plugin-next": "12.1.6",
|
|
66
66
|
"less": "4.1.2",
|
|
67
67
|
"less-loader": "11.0.0",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "1bb110fb4432267efb199df926bae6bb735209ca"
|
|
76
76
|
}
|
package/pages/_document.js
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import React from 'react';
|
|
18
18
|
import Document, { Html, Head, Main, NextScript } from 'next/document';
|
|
19
|
+
import appJson from '../build/app.json';
|
|
19
20
|
|
|
20
21
|
class LowdefyDocument extends Document {
|
|
21
22
|
render() {
|
|
@@ -25,10 +26,20 @@ class LowdefyDocument extends Document {
|
|
|
25
26
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
26
27
|
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
|
|
27
28
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
29
|
+
<script
|
|
30
|
+
dangerouslySetInnerHTML={{
|
|
31
|
+
__html: `/* start of Lowdefy append head */</script>${appJson.html.appendHead}<script>/* end of Lowdefy append head */`,
|
|
32
|
+
}}
|
|
33
|
+
/>
|
|
28
34
|
</Head>
|
|
29
35
|
<body>
|
|
30
36
|
<Main />
|
|
31
37
|
<NextScript />
|
|
38
|
+
<script
|
|
39
|
+
dangerouslySetInnerHTML={{
|
|
40
|
+
__html: `/* start of Lowdefy append body */</script>${appJson.html.appendBody}<script>/* end of Lowdefy append body */`,
|
|
41
|
+
}}
|
|
42
|
+
/>
|
|
32
43
|
</body>
|
|
33
44
|
</Html>
|
|
34
45
|
);
|
|
@@ -18,6 +18,7 @@ import NextAuth from 'next-auth';
|
|
|
18
18
|
import { getNextAuthConfig } from '@lowdefy/api';
|
|
19
19
|
|
|
20
20
|
import authJson from '../../../build/auth.json';
|
|
21
|
+
import adapters from '../../../build/plugins/auth/adapters.js';
|
|
21
22
|
import callbacks from '../../../build/plugins/auth/callbacks.js';
|
|
22
23
|
import events from '../../../build/plugins/auth/events.js';
|
|
23
24
|
import providers from '../../../build/plugins/auth/providers.js';
|
|
@@ -29,7 +30,7 @@ export default async function auth(req, res) {
|
|
|
29
30
|
res,
|
|
30
31
|
getNextAuthConfig(
|
|
31
32
|
{ logger: console },
|
|
32
|
-
{ authJson, plugins: { callbacks, events, providers } }
|
|
33
|
+
{ authJson, plugins: { adapters, callbacks, events, providers } }
|
|
33
34
|
)
|
|
34
35
|
);
|
|
35
36
|
}
|