@lowdefy/server-e2e 0.0.0-experimental-20260720072521 → 0.0.0-experimental-20260720135014

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 (44) hide show
  1. package/.eslintrc.yaml +1 -0
  2. package/lib/build/app.js +1 -8
  3. package/lib/build/appMeta.js +1 -8
  4. package/lib/build/auth.js +1 -8
  5. package/lib/build/config.js +1 -8
  6. package/lib/build/logger.js +1 -8
  7. package/lib/build/theme.js +1 -8
  8. package/lib/client/Page.js +57 -0
  9. package/{src/lib/getPathSegments.js → lib/client/auth/Auth.js} +22 -7
  10. package/lib/server/apiWrapper.js +80 -0
  11. package/lib/server/auth/{getUser.js → getServerSession.js} +7 -10
  12. package/lib/server/log/logRequest.js +3 -1
  13. package/lib/server/serverSidePropsWrapper.js +64 -0
  14. package/lowdefy/createCustomPluginTypesMap.mjs +2 -3
  15. package/lowdefy/createCustomPluginTypesMap.test.mjs +0 -2
  16. package/next.config.js +20 -0
  17. package/package.json +41 -50
  18. package/package.original.json +49 -53
  19. package/pages/404.js +49 -0
  20. package/pages/[[...pageId]].js +85 -0
  21. package/{client/App.jsx → pages/_app.js} +30 -45
  22. package/pages/_document.js +106 -0
  23. package/{src/routes/sessionMock.js → pages/api/auth/session.js} +5 -7
  24. package/{src/routes/clientError.js → pages/api/client-error.js} +18 -14
  25. package/{src/routes/endpoints.js → pages/api/endpoints/[...endpointId].js} +7 -8
  26. package/{src/routes/request.js → pages/api/request/[...path].js} +10 -10
  27. package/{src/routes → pages/api}/usage.js +8 -11
  28. package/client/Page.jsx +0 -93
  29. package/client/main.jsx +0 -39
  30. package/lib/build/i18n.js +0 -26
  31. package/lib/client/auth/Auth.jsx +0 -69
  32. package/postcss.config.cjs +0 -1
  33. package/src/app.js +0 -80
  34. package/src/html/getAssets.js +0 -45
  35. package/src/html/renderPage.js +0 -78
  36. package/src/html/template.js +0 -94
  37. package/src/index.js +0 -40
  38. package/src/lib/safeScriptJson.js +0 -38
  39. package/src/middleware/apiContext.js +0 -87
  40. package/src/middleware/errorHandler.js +0 -45
  41. package/src/routes/apiPage.js +0 -35
  42. package/src/routes/user.js +0 -27
  43. package/src/routes/websocket.js +0 -46
  44. package/vite.config.js +0 -45
package/.eslintrc.yaml ADDED
@@ -0,0 +1 @@
1
+ extends: 'plugin:@next/next/core-web-vitals'
package/lib/build/app.js CHANGED
@@ -13,14 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */
16
-
17
- // Build artifacts are read from disk because the Hono server runs as
18
- // unbundled Node.js ESM — JSON imports would need import attributes, and
19
- // client code imports the build JSON directly through Vite instead.
20
- import fs from 'node:fs';
21
- import path from 'node:path';
22
16
  import { serializer } from '@lowdefy/helpers';
23
-
24
- const raw = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'build/app.json'), 'utf8'));
17
+ import raw from '../../build/app.json';
25
18
 
26
19
  export default serializer.deserialize(raw);
@@ -13,14 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */
16
-
17
- // Build artifacts are read from disk because the Hono server runs as
18
- // unbundled Node.js ESM — JSON imports would need import attributes, and
19
- // client code imports the build JSON directly through Vite instead.
20
- import fs from 'node:fs';
21
- import path from 'node:path';
22
16
  import { serializer } from '@lowdefy/helpers';
23
-
24
- const raw = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'build/appMeta.json'), 'utf8'));
17
+ import raw from '../../build/appMeta.json';
25
18
 
26
19
  export default serializer.deserialize(raw);
package/lib/build/auth.js CHANGED
@@ -13,14 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */
16
-
17
- // Build artifacts are read from disk because the Hono server runs as
18
- // unbundled Node.js ESM — JSON imports would need import attributes, and
19
- // client code imports the build JSON directly through Vite instead.
20
- import fs from 'node:fs';
21
- import path from 'node:path';
22
16
  import { serializer } from '@lowdefy/helpers';
23
-
24
- const raw = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'build/auth.json'), 'utf8'));
17
+ import raw from '../../build/auth.json';
25
18
 
26
19
  export default serializer.deserialize(raw);
@@ -13,14 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */
16
-
17
- // Build artifacts are read from disk because the Hono server runs as
18
- // unbundled Node.js ESM — JSON imports would need import attributes, and
19
- // client code imports the build JSON directly through Vite instead.
20
- import fs from 'node:fs';
21
- import path from 'node:path';
22
16
  import { serializer } from '@lowdefy/helpers';
23
-
24
- const raw = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'build/config.json'), 'utf8'));
17
+ import raw from '../../build/config.json';
25
18
 
26
19
  export default serializer.deserialize(raw);
@@ -13,14 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */
16
-
17
- // Build artifacts are read from disk because the Hono server runs as
18
- // unbundled Node.js ESM — JSON imports would need import attributes, and
19
- // client code imports the build JSON directly through Vite instead.
20
- import fs from 'node:fs';
21
- import path from 'node:path';
22
16
  import { serializer } from '@lowdefy/helpers';
23
-
24
- const raw = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'build/logger.json'), 'utf8'));
17
+ import raw from '../../build/logger.json';
25
18
 
26
19
  export default serializer.deserialize(raw);
@@ -13,14 +13,7 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */
16
-
17
- // Build artifacts are read from disk because the Hono server runs as
18
- // unbundled Node.js ESM — JSON imports would need import attributes, and
19
- // client code imports the build JSON directly through Vite instead.
20
- import fs from 'node:fs';
21
- import path from 'node:path';
22
16
  import { serializer } from '@lowdefy/helpers';
23
-
24
- const raw = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'build/theme.json'), 'utf8'));
17
+ import raw from '../../build/theme.json';
25
18
 
26
19
  export default serializer.deserialize(raw);
@@ -0,0 +1,57 @@
1
+ /*
2
+ Copyright 2020-2026 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */
16
+
17
+ import React from 'react';
18
+
19
+ import { useRouter } from 'next/router';
20
+ import Client from '@lowdefy/client';
21
+ import Head from 'next/head';
22
+ import Link from 'next/link';
23
+
24
+ import actions from '../../build/plugins/actions.js';
25
+ import blockMetas from '../../build/plugins/blockMetas.json';
26
+ import blocks from '../../build/plugins/blocks.js';
27
+ import icons from '../../build/plugins/icons.js';
28
+ import operators from '../../build/plugins/operators/client.js';
29
+ import jsMap from '../../build/plugins/operators/clientJsMap.js';
30
+
31
+ const Page = ({ auth, lowdefy, pageConfig, rootConfig }) => {
32
+ const router = useRouter();
33
+ return (
34
+ <Client
35
+ auth={auth}
36
+ Components={{ Head, Link }}
37
+ config={{
38
+ pageConfig,
39
+ rootConfig,
40
+ }}
41
+ jsMap={jsMap}
42
+ lowdefy={lowdefy}
43
+ router={router}
44
+ types={{
45
+ actions,
46
+ blockMetas,
47
+ blocks,
48
+ icons,
49
+ operators,
50
+ }}
51
+ stage="e2e"
52
+ window={window}
53
+ />
54
+ );
55
+ };
56
+
57
+ export default Page;
@@ -14,12 +14,27 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- // Splits the rest of a catch-all route into decoded segments, independent of
18
- // any configured basePath. Mirrors the Next.js [...param] query arrays —
19
- // nested ids (slashes in pageId or endpointId) are real.
20
- function getPathSegments(c, prefix) {
21
- const rest = c.req.path.split(prefix)[1] ?? '';
22
- return rest.split('/').filter(Boolean).map(decodeURIComponent);
17
+ import authConfig from '../../build/auth.js';
18
+
19
+ function e2eNotSupported() {
20
+ throw new Error('Sign-in and sign-out are not supported in e2e testing.');
21
+ }
22
+
23
+ function Auth({ children, session }) {
24
+ const auth = {
25
+ authConfig,
26
+ session,
27
+ getSession: async () => {
28
+ const res = await fetch('/api/auth/session');
29
+ if (res.ok) {
30
+ return res.json();
31
+ }
32
+ return null;
33
+ },
34
+ signIn: e2eNotSupported,
35
+ signOut: e2eNotSupported,
36
+ };
37
+ return children(auth);
23
38
  }
24
39
 
25
- export default getPathSegments;
40
+ export default Auth;
@@ -0,0 +1,80 @@
1
+ /*
2
+ Copyright 2020-2026 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */
16
+
17
+ import path from 'path';
18
+ import { createApiContext } from '@lowdefy/api';
19
+ import { serializer } from '@lowdefy/helpers';
20
+ import { v4 as uuid } from 'uuid';
21
+
22
+ import appMeta from '../build/appMeta.js';
23
+ import config from '../build/config.js';
24
+ import connections from '../../build/plugins/connections.js';
25
+ import createLogger from './log/createLogger.js';
26
+ import fileCache from './fileCache.js';
27
+ import getE2eSecrets from './getE2eSecrets.js';
28
+ import getServerSession from './auth/getServerSession.js';
29
+ import createHandleError from './log/createHandleError.js';
30
+ import logRequest from './log/logRequest.js';
31
+ import operators from '../../build/plugins/operators/server.js';
32
+ import jsMap from '../../build/plugins/operators/serverJsMap.js';
33
+
34
+ const secrets = getE2eSecrets();
35
+
36
+ function apiWrapper(handler) {
37
+ return async function wrappedHandler(req, res) {
38
+ const context = {
39
+ // Important to give absolute path so Next can trace build files
40
+ rid: uuid(),
41
+ appMeta,
42
+ buildDirectory: path.join(process.cwd(), 'build'),
43
+ configDirectory: process.env.LOWDEFY_DIRECTORY_CONFIG || process.cwd(),
44
+ config,
45
+ connections,
46
+ fileCache,
47
+ headers: req?.headers,
48
+ jsMap,
49
+ handleError: async (err) => {
50
+ console.error(err);
51
+ },
52
+ logger: console,
53
+ operators,
54
+ req,
55
+ res,
56
+ secrets,
57
+ };
58
+ try {
59
+ context.logger = createLogger({ rid: context.rid });
60
+ context.handleError = createHandleError({ context });
61
+ context.session = getServerSession(context);
62
+ createApiContext(context);
63
+ logRequest({ context });
64
+ // Await here so that if handler throws it is caught.
65
+ const response = await handler({ context, req, res });
66
+ return response;
67
+ } catch (error) {
68
+ await context.handleError(error);
69
+ const serialized = serializer.serialize(error);
70
+ if (serialized?.['~e']) {
71
+ delete serialized['~e'].received;
72
+ delete serialized['~e'].stack;
73
+ delete serialized['~e'].configKey;
74
+ }
75
+ res.status(500).json(serialized);
76
+ }
77
+ };
78
+ }
79
+
80
+ export default apiWrapper;
@@ -14,23 +14,20 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- // E2E test-user injection: the caller is read from the lowdefy_e2e_user
18
- // cookie (base64-encoded JSON user object) instead of a real auth engine.
19
- // The cookie user is pre-resolved - it substitutes for resolveAuthentication
20
- // and its roles are authoritative.
21
- function getUser(c) {
22
- const cookieHeader = c.req.header('cookie') ?? '';
17
+ function getServerSession({ req }) {
18
+ const cookieHeader = req?.headers?.cookie ?? '';
23
19
  const match = cookieHeader.match(/lowdefy_e2e_user=([^;]+)/);
24
20
  if (!match) {
25
- return null;
21
+ return undefined;
26
22
  }
27
23
 
28
24
  try {
29
25
  const decoded = Buffer.from(decodeURIComponent(match[1]), 'base64').toString();
30
- return JSON.parse(decoded);
26
+ const user = JSON.parse(decoded);
27
+ return { user };
31
28
  } catch {
32
- return null;
29
+ return undefined;
33
30
  }
34
31
  }
35
32
 
36
- export default getUser;
33
+ export default getServerSession;
@@ -15,11 +15,13 @@
15
15
  */
16
16
 
17
17
  function logRequest({ context }) {
18
- const user = context.user ?? {};
18
+ const { user = {} } = context.session ?? {};
19
19
  context.logger.debug({
20
20
  user: {
21
21
  id: user.id,
22
22
  roles: user.roles,
23
+ sub: user.sub,
24
+ session_id: user.session_id,
23
25
  },
24
26
  url: context.req.url,
25
27
  method: context.req.method,
@@ -0,0 +1,64 @@
1
+ /*
2
+ Copyright 2020-2026 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */
16
+
17
+ import path from 'path';
18
+ import { createApiContext } from '@lowdefy/api';
19
+ import { v4 as uuid } from 'uuid';
20
+
21
+ import appMeta from '../build/appMeta.js';
22
+ import config from '../build/config.js';
23
+ import createLogger from './log/createLogger.js';
24
+ import fileCache from './fileCache.js';
25
+ import getServerSession from './auth/getServerSession.js';
26
+ import createHandleError from './log/createHandleError.js';
27
+ import logRequest from './log/logRequest.js';
28
+
29
+ function serverSidePropsWrapper(handler) {
30
+ return async function wrappedHandler(nextContext) {
31
+ const context = {
32
+ // Important to give absolute path so Next can trace build files
33
+ rid: uuid(),
34
+ appMeta,
35
+ buildDirectory: path.join(process.cwd(), 'build'),
36
+ configDirectory: process.env.LOWDEFY_DIRECTORY_CONFIG || process.cwd(),
37
+ config,
38
+ fileCache,
39
+ handleError: async (err) => {
40
+ console.error(err);
41
+ },
42
+ headers: nextContext?.req?.headers,
43
+ logger: console,
44
+ nextContext,
45
+ req: nextContext?.req,
46
+ res: nextContext?.res,
47
+ };
48
+ try {
49
+ context.logger = createLogger({ rid: context.rid });
50
+ context.handleError = createHandleError({ context });
51
+ context.session = getServerSession(context);
52
+ createApiContext(context);
53
+ logRequest({ context });
54
+ // Await here so that if handler throws it is caught.
55
+ const response = await handler({ context, nextContext });
56
+ return response;
57
+ } catch (error) {
58
+ await context.handleError(error);
59
+ throw error;
60
+ }
61
+ };
62
+ }
63
+
64
+ export default serverSidePropsWrapper;
@@ -42,11 +42,11 @@ async function createCustomPluginTypesMap({ directories }) {
42
42
  agents: {},
43
43
  auth: {
44
44
  adapters: {},
45
+ callbacks: {},
46
+ events: {},
45
47
  providers: {},
46
- strategies: {},
47
48
  },
48
49
  blockMetas: {},
49
- connectionMetas: {},
50
50
  blocks: {},
51
51
  connections: {},
52
52
  icons: {},
@@ -55,7 +55,6 @@ async function createCustomPluginTypesMap({ directories }) {
55
55
  server: {},
56
56
  },
57
57
  requests: {},
58
- websockets: {},
59
58
  };
60
59
 
61
60
  const pluginDefinitions = await getPluginDefinitions({ directories });
@@ -50,8 +50,6 @@ jest.unstable_mockModule('@lowdefy/node-utils', () => ({
50
50
  spawnProcess: jest.fn(),
51
51
  readFile: jest.fn(async () => pluginYaml),
52
52
  writeFile: jest.fn(),
53
- writeFileIfChanged: jest.fn(),
54
- installIfPackageJsonChanged: jest.fn(),
55
53
  }));
56
54
 
57
55
  jest.unstable_mockModule('node:module', () => ({
package/next.config.js ADDED
@@ -0,0 +1,20 @@
1
+ const lowdefyConfig = require('./build/config.json');
2
+ const blockPackages = require('./build/blockPackages.json');
3
+ const serverExternalPackages = require('./build/serverExternalPackages.json');
4
+
5
+ const nextConfig = {
6
+ basePath: lowdefyConfig.basePath,
7
+ reactStrictMode: true,
8
+ transpilePackages: [
9
+ '@lowdefy/client',
10
+ '@ant-design/x',
11
+ '@ant-design/x-markdown',
12
+ ...blockPackages,
13
+ ],
14
+ serverExternalPackages,
15
+ turbopack: {},
16
+ poweredByHeader: false,
17
+ output: process.env.LOWDEFY_BUILD_OUTPUT_STANDALONE === '1' ? 'standalone' : undefined,
18
+ };
19
+
20
+ module.exports = nextConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/server-e2e",
3
- "version": "0.0.0-experimental-20260720072521",
3
+ "version": "0.0.0-experimental-20260720135014",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Lowdefy e2e testing server with cookie-based user injection",
6
6
  "homepage": "https://lowdefy.com",
@@ -30,80 +30,71 @@
30
30
  "files": [
31
31
  "lib/*",
32
32
  "lowdefy/*",
33
+ "pages/*",
33
34
  "public_default/*",
35
+ "next.config.js",
34
36
  "package.original.json",
35
37
  ".eslintrc.yaml",
36
- ".npmrc",
37
- "src/*",
38
- "client/*",
39
- "vite.config.js",
40
- "postcss.config.cjs"
38
+ ".npmrc"
41
39
  ],
42
40
  "dependencies": {
43
41
  "@ant-design/cssinjs": "2.1.2",
44
- "@ant-design/x": "2.7.0",
45
- "@hono/node-server": "2.0.4",
46
- "@lowdefy/actions-core": "0.0.0-experimental-20260720072521",
47
- "@lowdefy/api": "0.0.0-experimental-20260720072521",
48
- "@lowdefy/block-utils": "0.0.0-experimental-20260720072521",
49
- "@lowdefy/blocks-aggrid": "0.0.0-experimental-20260720072521",
50
- "@lowdefy/blocks-antd": "0.0.0-experimental-20260720072521",
51
- "@lowdefy/blocks-antd-x": "0.0.0-experimental-20260720072521",
52
- "@lowdefy/blocks-basic": "0.0.0-experimental-20260720072521",
53
- "@lowdefy/blocks-captcha": "0.0.0-experimental-20260720072521",
54
- "@lowdefy/blocks-echarts": "0.0.0-experimental-20260720072521",
55
- "@lowdefy/blocks-loaders": "0.0.0-experimental-20260720072521",
56
- "@lowdefy/blocks-markdown": "0.0.0-experimental-20260720072521",
57
- "@lowdefy/blocks-tiptap": "0.0.0-experimental-20260720072521",
58
- "@lowdefy/client": "0.0.0-experimental-20260720072521",
59
- "@lowdefy/connection-axios-http": "0.0.0-experimental-20260720072521",
60
- "@lowdefy/connection-mongodb": "0.0.0-experimental-20260720072521",
61
- "@lowdefy/errors": "0.0.0-experimental-20260720072521",
62
- "@lowdefy/helpers": "0.0.0-experimental-20260720072521",
63
- "@lowdefy/layout": "0.0.0-experimental-20260720072521",
64
- "@lowdefy/logger": "0.0.0-experimental-20260720072521",
65
- "@lowdefy/node-utils": "0.0.0-experimental-20260720072521",
66
- "@lowdefy/operators-js": "0.0.0-experimental-20260720072521",
67
- "@lowdefy/operators-nunjucks": "0.0.0-experimental-20260720072521",
68
- "@lowdefy/operators-uuid": "0.0.0-experimental-20260720072521",
69
- "@lowdefy/websockets-core": "0.0.0-experimental-20260720072521",
70
- "@tailwindcss/postcss": "4.3.1",
71
- "@vitejs/plugin-react": "6.0.2",
42
+ "@lowdefy/actions-core": "0.0.0-experimental-20260720135014",
43
+ "@lowdefy/api": "0.0.0-experimental-20260720135014",
44
+ "@lowdefy/block-utils": "0.0.0-experimental-20260720135014",
45
+ "@lowdefy/blocks-antd": "0.0.0-experimental-20260720135014",
46
+ "@lowdefy/blocks-antd-x": "0.0.0-experimental-20260720135014",
47
+ "@lowdefy/blocks-basic": "0.0.0-experimental-20260720135014",
48
+ "@lowdefy/blocks-loaders": "0.0.0-experimental-20260720135014",
49
+ "@lowdefy/blocks-markdown": "0.0.0-experimental-20260720135014",
50
+ "@lowdefy/blocks-tiptap": "0.0.0-experimental-20260720135014",
51
+ "@lowdefy/client": "0.0.0-experimental-20260720135014",
52
+ "@lowdefy/connection-axios-http": "0.0.0-experimental-20260720135014",
53
+ "@lowdefy/connection-mongodb": "0.0.0-experimental-20260720135014",
54
+ "@lowdefy/errors": "0.0.0-experimental-20260720135014",
55
+ "@lowdefy/helpers": "0.0.0-experimental-20260720135014",
56
+ "@lowdefy/layout": "0.0.0-experimental-20260720135014",
57
+ "@lowdefy/logger": "0.0.0-experimental-20260720135014",
58
+ "@lowdefy/node-utils": "0.0.0-experimental-20260720135014",
59
+ "@lowdefy/operators-js": "0.0.0-experimental-20260720135014",
60
+ "@lowdefy/operators-nunjucks": "0.0.0-experimental-20260720135014",
61
+ "@lowdefy/operators-uuid": "0.0.0-experimental-20260720135014",
62
+ "@tailwindcss/postcss": "4.2.1",
72
63
  "antd": "6.3.1",
73
- "dayjs": "1.11.20",
74
- "hono": "4.12.25",
75
- "pino": "10.3.1",
64
+ "dayjs": "1.11.19",
65
+ "next": "16.1.6",
66
+ "pino": "8.16.2",
76
67
  "react": "18.2.0",
77
68
  "react-dom": "18.2.0",
78
69
  "react-icons": "5.6.0",
79
- "tailwindcss": "4.3.1",
80
- "uuid": "14.0.0",
81
- "vite": "8.0.16",
82
- "ws": "8.18.0"
70
+ "tailwindcss": "4.2.1",
71
+ "uuid": "13.0.0"
83
72
  },
84
73
  "devDependencies": {
85
74
  "@jest/globals": "28.1.3",
86
- "@lowdefy/build": "0.0.0-experimental-20260720072521",
75
+ "@lowdefy/build": "0.0.0-experimental-20260720135014",
87
76
  "@next/eslint-plugin-next": "16.1.6",
88
- "@tailwindcss/postcss": "4.3.1",
77
+ "@tailwindcss/postcss": "4.2.1",
89
78
  "jest": "28.1.3",
90
- "tailwindcss": "4.3.1",
79
+ "tailwindcss": "4.2.1",
91
80
  "webpack": "5.94.0",
92
- "yaml": "2.9.0",
93
- "yargs": "18.0.0"
81
+ "yaml": "2.3.4",
82
+ "yargs": "17.7.2"
94
83
  },
95
84
  "engines": {
96
- "node": ">=22"
85
+ "node": ">=18"
97
86
  },
98
87
  "publishConfig": {
99
88
  "access": "public"
100
89
  },
101
- "type": "module",
102
90
  "scripts": {
103
91
  "build": "cp package.json package.original.json || copy package.json package.original.json",
104
- "build:client": "vite build",
105
92
  "build:lowdefy": "node lowdefy/build.mjs",
106
- "start": "node src/index.js",
93
+ "build:next": "next build",
94
+ "dev": "next dev",
95
+ "start": "next start",
96
+ "lint": "next lint",
97
+ "next": "next",
107
98
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
108
99
  }
109
100
  }