@lowdefy/server-dev 0.0.0-experimental-20260304101313 → 0.0.0-experimental-20260309075033
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/server/jitPageBuilder.js +2 -2
- package/manager/processes/installPlugins.mjs +1 -1
- package/manager/processes/lowdefyBuild.mjs +2 -2
- package/manager/processes/nextBuild.mjs +2 -2
- package/manager/processes/restartServer.mjs +2 -2
- package/manager/processes/shutdownServer.mjs +1 -1
- package/manager/watchers/nextBuildWatcher.mjs +1 -1
- package/package.json +29 -28
- package/package.original.json +29 -28
|
@@ -132,7 +132,7 @@ async function buildPageIfNeeded({ pageId, buildDirectory, configDirectory }) {
|
|
|
132
132
|
return true;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
jitLogger.info({ spin:
|
|
135
|
+
jitLogger.info({ spin: 'start' }, `Building page "${pageId}"...`);
|
|
136
136
|
const startTime = Date.now();
|
|
137
137
|
try {
|
|
138
138
|
const context = getBuildContext(buildDirectory, configDirectory);
|
|
@@ -150,7 +150,7 @@ async function buildPageIfNeeded({ pageId, buildDirectory, configDirectory }) {
|
|
|
150
150
|
}
|
|
151
151
|
pageCache.markCompiled(pageId);
|
|
152
152
|
jitLogger.info(
|
|
153
|
-
{
|
|
153
|
+
{ spin: 'succeed', color: 'white' },
|
|
154
154
|
`Built page "${pageId}" in ${formatDuration(Date.now() - startTime)}.`
|
|
155
155
|
);
|
|
156
156
|
return true;
|
|
@@ -18,7 +18,7 @@ import { spawnProcess } from '@lowdefy/node-utils';
|
|
|
18
18
|
|
|
19
19
|
function installPlugins({ logger, packageManagerCmd }) {
|
|
20
20
|
return async () => {
|
|
21
|
-
logger.info({ spin:
|
|
21
|
+
logger.info({ spin: 'start' }, 'Installing plugins...');
|
|
22
22
|
await spawnProcess({
|
|
23
23
|
processOptions: {
|
|
24
24
|
// https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2#command-injection-via-args-parameter-of-child_processspawn-without-shell-option-enabled-on-windows-cve-2024-27980---high
|
|
@@ -24,7 +24,7 @@ function formatDuration(ms) {
|
|
|
24
24
|
|
|
25
25
|
function lowdefyBuild({ directories, logger, options }) {
|
|
26
26
|
return async () => {
|
|
27
|
-
logger.info('Building config...');
|
|
27
|
+
logger.info({ spin: 'start' }, 'Building config...');
|
|
28
28
|
const startTime = Date.now();
|
|
29
29
|
const customTypesMap = await createCustomPluginTypesMap({ directories, logger });
|
|
30
30
|
|
|
@@ -38,7 +38,7 @@ function lowdefyBuild({ directories, logger, options }) {
|
|
|
38
38
|
|
|
39
39
|
// Return result so getContext can store registries
|
|
40
40
|
const duration = Date.now() - startTime;
|
|
41
|
-
logger.info({
|
|
41
|
+
logger.info({ spin: 'succeed' }, `Built config in ${formatDuration(duration)}.`);
|
|
42
42
|
return result;
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -24,7 +24,7 @@ function formatDuration(ms) {
|
|
|
24
24
|
|
|
25
25
|
function nextBuild({ bin, logger }) {
|
|
26
26
|
return async () => {
|
|
27
|
-
logger.info({ spin:
|
|
27
|
+
logger.info({ spin: 'start' }, 'Building app...');
|
|
28
28
|
const startTime = Date.now();
|
|
29
29
|
const errorLines = [];
|
|
30
30
|
try {
|
|
@@ -43,7 +43,7 @@ function nextBuild({ bin, logger }) {
|
|
|
43
43
|
}
|
|
44
44
|
throw new BuildError('Next.js build failed. See above for details.');
|
|
45
45
|
}
|
|
46
|
-
logger.info({
|
|
46
|
+
logger.info({ spin: 'succeed' }, `Built app in ${formatDuration(Date.now() - startTime)}.`);
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -19,9 +19,9 @@ import startServer from './startServer.mjs';
|
|
|
19
19
|
function restartServer(context) {
|
|
20
20
|
return () => {
|
|
21
21
|
context.shutdownServer();
|
|
22
|
-
context.logger.info({ spin:
|
|
22
|
+
context.logger.info({ spin: 'start' }, 'Restarting server...');
|
|
23
23
|
startServer(context);
|
|
24
|
-
context.logger.info({
|
|
24
|
+
context.logger.info({ spin: 'succeed' }, 'Restarted server.');
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -21,7 +21,7 @@ function shutdownServer(context) {
|
|
|
21
21
|
`Existing next server with pid ${context.nextServer.pid}, killed: ${context.nextServer.killed}`
|
|
22
22
|
);
|
|
23
23
|
if (!context.nextServer.killed) {
|
|
24
|
-
context.logger.info({ spin:
|
|
24
|
+
context.logger.info({ spin: 'start' }, 'Shutting down server...');
|
|
25
25
|
context.nextServer.kill();
|
|
26
26
|
context.logger.debug(
|
|
27
27
|
`Killed next server with pid ${context.nextServer.pid}, killed: ${context.nextServer.killed}`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/server-dev",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-20260309075033",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -36,33 +36,34 @@
|
|
|
36
36
|
".npmrc"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@lowdefy/actions-core": "0.0.0-experimental-
|
|
40
|
-
"@lowdefy/api": "0.0.0-experimental-
|
|
41
|
-
"@lowdefy/block-utils": "0.0.0-experimental-
|
|
42
|
-
"@lowdefy/blocks-aggrid": "0.0.0-experimental-
|
|
43
|
-
"@lowdefy/blocks-antd": "0.0.0-experimental-
|
|
44
|
-
"@lowdefy/blocks-basic": "0.0.0-experimental-
|
|
45
|
-
"@lowdefy/blocks-color-selectors": "0.0.0-experimental-
|
|
46
|
-
"@lowdefy/blocks-echarts": "0.0.0-experimental-
|
|
47
|
-
"@lowdefy/blocks-loaders": "0.0.0-experimental-
|
|
48
|
-
"@lowdefy/blocks-markdown": "0.0.0-experimental-
|
|
49
|
-
"@lowdefy/blocks-qr": "0.0.0-experimental-
|
|
50
|
-
"@lowdefy/build": "0.0.0-experimental-
|
|
51
|
-
"@lowdefy/client": "0.0.0-experimental-
|
|
52
|
-
"@lowdefy/engine": "0.0.0-experimental-
|
|
53
|
-
"@lowdefy/
|
|
54
|
-
"@lowdefy/
|
|
55
|
-
"@lowdefy/
|
|
56
|
-
"@lowdefy/
|
|
57
|
-
"@lowdefy/
|
|
58
|
-
"@lowdefy/operators-
|
|
59
|
-
"@lowdefy/operators-
|
|
60
|
-
"@lowdefy/operators-
|
|
61
|
-
"@lowdefy/operators-
|
|
62
|
-
"@lowdefy/operators-
|
|
63
|
-
"@lowdefy/operators-
|
|
64
|
-
"@lowdefy/operators-
|
|
65
|
-
"@lowdefy/
|
|
39
|
+
"@lowdefy/actions-core": "0.0.0-experimental-20260309075033",
|
|
40
|
+
"@lowdefy/api": "0.0.0-experimental-20260309075033",
|
|
41
|
+
"@lowdefy/block-utils": "0.0.0-experimental-20260309075033",
|
|
42
|
+
"@lowdefy/blocks-aggrid": "0.0.0-experimental-20260309075033",
|
|
43
|
+
"@lowdefy/blocks-antd": "0.0.0-experimental-20260309075033",
|
|
44
|
+
"@lowdefy/blocks-basic": "0.0.0-experimental-20260309075033",
|
|
45
|
+
"@lowdefy/blocks-color-selectors": "0.0.0-experimental-20260309075033",
|
|
46
|
+
"@lowdefy/blocks-echarts": "0.0.0-experimental-20260309075033",
|
|
47
|
+
"@lowdefy/blocks-loaders": "0.0.0-experimental-20260309075033",
|
|
48
|
+
"@lowdefy/blocks-markdown": "0.0.0-experimental-20260309075033",
|
|
49
|
+
"@lowdefy/blocks-qr": "0.0.0-experimental-20260309075033",
|
|
50
|
+
"@lowdefy/build": "0.0.0-experimental-20260309075033",
|
|
51
|
+
"@lowdefy/client": "0.0.0-experimental-20260309075033",
|
|
52
|
+
"@lowdefy/engine": "0.0.0-experimental-20260309075033",
|
|
53
|
+
"@lowdefy/errors": "0.0.0-experimental-20260309075033",
|
|
54
|
+
"@lowdefy/helpers": "0.0.0-experimental-20260309075033",
|
|
55
|
+
"@lowdefy/layout": "0.0.0-experimental-20260309075033",
|
|
56
|
+
"@lowdefy/logger": "0.0.0-experimental-20260309075033",
|
|
57
|
+
"@lowdefy/node-utils": "0.0.0-experimental-20260309075033",
|
|
58
|
+
"@lowdefy/operators-change-case": "0.0.0-experimental-20260309075033",
|
|
59
|
+
"@lowdefy/operators-diff": "0.0.0-experimental-20260309075033",
|
|
60
|
+
"@lowdefy/operators-js": "0.0.0-experimental-20260309075033",
|
|
61
|
+
"@lowdefy/operators-moment": "0.0.0-experimental-20260309075033",
|
|
62
|
+
"@lowdefy/operators-mql": "0.0.0-experimental-20260309075033",
|
|
63
|
+
"@lowdefy/operators-nunjucks": "0.0.0-experimental-20260309075033",
|
|
64
|
+
"@lowdefy/operators-uuid": "0.0.0-experimental-20260309075033",
|
|
65
|
+
"@lowdefy/operators-yaml": "0.0.0-experimental-20260309075033",
|
|
66
|
+
"@lowdefy/plugin-next-auth": "0.0.0-experimental-20260309075033",
|
|
66
67
|
"chokidar": "3.5.3",
|
|
67
68
|
"dotenv": "16.3.1",
|
|
68
69
|
"next": "13.5.4",
|
package/package.original.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/server-dev",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-20260309075033",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -44,33 +44,34 @@
|
|
|
44
44
|
"prepublishOnly": "pnpm build"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@lowdefy/actions-core": "0.0.0-experimental-
|
|
48
|
-
"@lowdefy/api": "0.0.0-experimental-
|
|
49
|
-
"@lowdefy/block-utils": "0.0.0-experimental-
|
|
50
|
-
"@lowdefy/blocks-aggrid": "0.0.0-experimental-
|
|
51
|
-
"@lowdefy/blocks-antd": "0.0.0-experimental-
|
|
52
|
-
"@lowdefy/blocks-basic": "0.0.0-experimental-
|
|
53
|
-
"@lowdefy/blocks-color-selectors": "0.0.0-experimental-
|
|
54
|
-
"@lowdefy/blocks-echarts": "0.0.0-experimental-
|
|
55
|
-
"@lowdefy/blocks-loaders": "0.0.0-experimental-
|
|
56
|
-
"@lowdefy/blocks-markdown": "0.0.0-experimental-
|
|
57
|
-
"@lowdefy/blocks-qr": "0.0.0-experimental-
|
|
58
|
-
"@lowdefy/build": "0.0.0-experimental-
|
|
59
|
-
"@lowdefy/client": "0.0.0-experimental-
|
|
60
|
-
"@lowdefy/engine": "0.0.0-experimental-
|
|
61
|
-
"@lowdefy/
|
|
62
|
-
"@lowdefy/
|
|
63
|
-
"@lowdefy/
|
|
64
|
-
"@lowdefy/
|
|
65
|
-
"@lowdefy/
|
|
66
|
-
"@lowdefy/operators-
|
|
67
|
-
"@lowdefy/operators-
|
|
68
|
-
"@lowdefy/operators-
|
|
69
|
-
"@lowdefy/operators-
|
|
70
|
-
"@lowdefy/operators-
|
|
71
|
-
"@lowdefy/operators-
|
|
72
|
-
"@lowdefy/operators-
|
|
73
|
-
"@lowdefy/
|
|
47
|
+
"@lowdefy/actions-core": "0.0.0-experimental-20260309075033",
|
|
48
|
+
"@lowdefy/api": "0.0.0-experimental-20260309075033",
|
|
49
|
+
"@lowdefy/block-utils": "0.0.0-experimental-20260309075033",
|
|
50
|
+
"@lowdefy/blocks-aggrid": "0.0.0-experimental-20260309075033",
|
|
51
|
+
"@lowdefy/blocks-antd": "0.0.0-experimental-20260309075033",
|
|
52
|
+
"@lowdefy/blocks-basic": "0.0.0-experimental-20260309075033",
|
|
53
|
+
"@lowdefy/blocks-color-selectors": "0.0.0-experimental-20260309075033",
|
|
54
|
+
"@lowdefy/blocks-echarts": "0.0.0-experimental-20260309075033",
|
|
55
|
+
"@lowdefy/blocks-loaders": "0.0.0-experimental-20260309075033",
|
|
56
|
+
"@lowdefy/blocks-markdown": "0.0.0-experimental-20260309075033",
|
|
57
|
+
"@lowdefy/blocks-qr": "0.0.0-experimental-20260309075033",
|
|
58
|
+
"@lowdefy/build": "0.0.0-experimental-20260309075033",
|
|
59
|
+
"@lowdefy/client": "0.0.0-experimental-20260309075033",
|
|
60
|
+
"@lowdefy/engine": "0.0.0-experimental-20260309075033",
|
|
61
|
+
"@lowdefy/errors": "0.0.0-experimental-20260309075033",
|
|
62
|
+
"@lowdefy/helpers": "0.0.0-experimental-20260309075033",
|
|
63
|
+
"@lowdefy/layout": "0.0.0-experimental-20260309075033",
|
|
64
|
+
"@lowdefy/logger": "0.0.0-experimental-20260309075033",
|
|
65
|
+
"@lowdefy/node-utils": "0.0.0-experimental-20260309075033",
|
|
66
|
+
"@lowdefy/operators-change-case": "0.0.0-experimental-20260309075033",
|
|
67
|
+
"@lowdefy/operators-diff": "0.0.0-experimental-20260309075033",
|
|
68
|
+
"@lowdefy/operators-js": "0.0.0-experimental-20260309075033",
|
|
69
|
+
"@lowdefy/operators-moment": "0.0.0-experimental-20260309075033",
|
|
70
|
+
"@lowdefy/operators-mql": "0.0.0-experimental-20260309075033",
|
|
71
|
+
"@lowdefy/operators-nunjucks": "0.0.0-experimental-20260309075033",
|
|
72
|
+
"@lowdefy/operators-uuid": "0.0.0-experimental-20260309075033",
|
|
73
|
+
"@lowdefy/operators-yaml": "0.0.0-experimental-20260309075033",
|
|
74
|
+
"@lowdefy/plugin-next-auth": "0.0.0-experimental-20260309075033",
|
|
74
75
|
"chokidar": "3.5.3",
|
|
75
76
|
"dotenv": "16.3.1",
|
|
76
77
|
"next": "13.5.4",
|