@lowdefy/server-dev 4.7.1 → 4.7.3
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.
|
@@ -26,6 +26,9 @@ async function getPluginDefinitions({ directories }) {
|
|
|
26
26
|
if (!lowdefyYaml) {
|
|
27
27
|
lowdefyYaml = await readFile(path.join(directories.config, 'lowdefy.yml'));
|
|
28
28
|
}
|
|
29
|
+
if (!lowdefyYaml) {
|
|
30
|
+
return [];
|
|
31
|
+
}
|
|
29
32
|
const lowdefy = YAML.parse(lowdefyYaml);
|
|
30
33
|
return get(lowdefy, 'plugins', { default: [] });
|
|
31
34
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 fs from 'fs';
|
|
18
|
+
import path from 'path';
|
|
19
|
+
|
|
20
|
+
function loadSkeletonSourceFiles(buildDirectory) {
|
|
21
|
+
try {
|
|
22
|
+
const content = fs.readFileSync(
|
|
23
|
+
path.join(buildDirectory, 'skeletonSourceFiles.json'),
|
|
24
|
+
'utf8'
|
|
25
|
+
);
|
|
26
|
+
return new Set(JSON.parse(content));
|
|
27
|
+
} catch {
|
|
28
|
+
return new Set();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default loadSkeletonSourceFiles;
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
import fs from 'fs';
|
|
18
18
|
import path from 'path';
|
|
19
19
|
import getLowdefyVersion from '../utils/getLowdefyVersion.mjs';
|
|
20
|
+
import loadSkeletonSourceFiles from '../utils/loadSkeletonSourceFiles.mjs';
|
|
20
21
|
import setupWatcher from '../utils/setupWatcher.mjs';
|
|
21
22
|
|
|
22
23
|
function lowdefyBuildWatcher(context) {
|
|
@@ -41,9 +42,11 @@ function lowdefyBuildWatcher(context) {
|
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
try {
|
|
45
|
+
const skeletonSourceFiles = loadSkeletonSourceFiles(context.directories.build);
|
|
46
|
+
|
|
44
47
|
const isSkeletonChange =
|
|
45
48
|
lowdefyYamlModified ||
|
|
46
|
-
changedFiles.some((f) =>
|
|
49
|
+
changedFiles.some((f) => skeletonSourceFiles.has(f));
|
|
47
50
|
|
|
48
51
|
if (isSkeletonChange) {
|
|
49
52
|
await context.lowdefyBuild();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/server-dev",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -36,34 +36,34 @@
|
|
|
36
36
|
".npmrc"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@lowdefy/actions-core": "4.7.
|
|
40
|
-
"@lowdefy/api": "4.7.
|
|
41
|
-
"@lowdefy/block-utils": "4.7.
|
|
42
|
-
"@lowdefy/blocks-aggrid": "4.7.
|
|
43
|
-
"@lowdefy/blocks-antd": "4.7.
|
|
44
|
-
"@lowdefy/blocks-basic": "4.7.
|
|
45
|
-
"@lowdefy/blocks-color-selectors": "4.7.
|
|
46
|
-
"@lowdefy/blocks-echarts": "4.7.
|
|
47
|
-
"@lowdefy/blocks-loaders": "4.7.
|
|
48
|
-
"@lowdefy/blocks-markdown": "4.7.
|
|
49
|
-
"@lowdefy/blocks-qr": "4.7.
|
|
50
|
-
"@lowdefy/build": "4.7.
|
|
51
|
-
"@lowdefy/client": "4.7.
|
|
52
|
-
"@lowdefy/engine": "4.7.
|
|
53
|
-
"@lowdefy/errors": "4.7.
|
|
54
|
-
"@lowdefy/helpers": "4.7.
|
|
55
|
-
"@lowdefy/layout": "4.7.
|
|
56
|
-
"@lowdefy/logger": "4.7.
|
|
57
|
-
"@lowdefy/node-utils": "4.7.
|
|
58
|
-
"@lowdefy/operators-change-case": "4.7.
|
|
59
|
-
"@lowdefy/operators-diff": "4.7.
|
|
60
|
-
"@lowdefy/operators-js": "4.7.
|
|
61
|
-
"@lowdefy/operators-moment": "4.7.
|
|
62
|
-
"@lowdefy/operators-mql": "4.7.
|
|
63
|
-
"@lowdefy/operators-nunjucks": "4.7.
|
|
64
|
-
"@lowdefy/operators-uuid": "4.7.
|
|
65
|
-
"@lowdefy/operators-yaml": "4.7.
|
|
66
|
-
"@lowdefy/plugin-next-auth": "4.7.
|
|
39
|
+
"@lowdefy/actions-core": "4.7.3",
|
|
40
|
+
"@lowdefy/api": "4.7.3",
|
|
41
|
+
"@lowdefy/block-utils": "4.7.3",
|
|
42
|
+
"@lowdefy/blocks-aggrid": "4.7.3",
|
|
43
|
+
"@lowdefy/blocks-antd": "4.7.3",
|
|
44
|
+
"@lowdefy/blocks-basic": "4.7.3",
|
|
45
|
+
"@lowdefy/blocks-color-selectors": "4.7.3",
|
|
46
|
+
"@lowdefy/blocks-echarts": "4.7.3",
|
|
47
|
+
"@lowdefy/blocks-loaders": "4.7.3",
|
|
48
|
+
"@lowdefy/blocks-markdown": "4.7.3",
|
|
49
|
+
"@lowdefy/blocks-qr": "4.7.3",
|
|
50
|
+
"@lowdefy/build": "4.7.3",
|
|
51
|
+
"@lowdefy/client": "4.7.3",
|
|
52
|
+
"@lowdefy/engine": "4.7.3",
|
|
53
|
+
"@lowdefy/errors": "4.7.3",
|
|
54
|
+
"@lowdefy/helpers": "4.7.3",
|
|
55
|
+
"@lowdefy/layout": "4.7.3",
|
|
56
|
+
"@lowdefy/logger": "4.7.3",
|
|
57
|
+
"@lowdefy/node-utils": "4.7.3",
|
|
58
|
+
"@lowdefy/operators-change-case": "4.7.3",
|
|
59
|
+
"@lowdefy/operators-diff": "4.7.3",
|
|
60
|
+
"@lowdefy/operators-js": "4.7.3",
|
|
61
|
+
"@lowdefy/operators-moment": "4.7.3",
|
|
62
|
+
"@lowdefy/operators-mql": "4.7.3",
|
|
63
|
+
"@lowdefy/operators-nunjucks": "4.7.3",
|
|
64
|
+
"@lowdefy/operators-uuid": "4.7.3",
|
|
65
|
+
"@lowdefy/operators-yaml": "4.7.3",
|
|
66
|
+
"@lowdefy/plugin-next-auth": "4.7.3",
|
|
67
67
|
"chokidar": "3.5.3",
|
|
68
68
|
"dotenv": "16.3.1",
|
|
69
69
|
"next": "13.5.4",
|
package/package.original.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/server-dev",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -44,34 +44,34 @@
|
|
|
44
44
|
"prepublishOnly": "pnpm build"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@lowdefy/actions-core": "4.7.
|
|
48
|
-
"@lowdefy/api": "4.7.
|
|
49
|
-
"@lowdefy/block-utils": "4.7.
|
|
50
|
-
"@lowdefy/blocks-aggrid": "4.7.
|
|
51
|
-
"@lowdefy/blocks-antd": "4.7.
|
|
52
|
-
"@lowdefy/blocks-basic": "4.7.
|
|
53
|
-
"@lowdefy/blocks-color-selectors": "4.7.
|
|
54
|
-
"@lowdefy/blocks-echarts": "4.7.
|
|
55
|
-
"@lowdefy/blocks-loaders": "4.7.
|
|
56
|
-
"@lowdefy/blocks-markdown": "4.7.
|
|
57
|
-
"@lowdefy/blocks-qr": "4.7.
|
|
58
|
-
"@lowdefy/build": "4.7.
|
|
59
|
-
"@lowdefy/client": "4.7.
|
|
60
|
-
"@lowdefy/engine": "4.7.
|
|
61
|
-
"@lowdefy/errors": "4.7.
|
|
62
|
-
"@lowdefy/helpers": "4.7.
|
|
63
|
-
"@lowdefy/layout": "4.7.
|
|
64
|
-
"@lowdefy/logger": "4.7.
|
|
65
|
-
"@lowdefy/node-utils": "4.7.
|
|
66
|
-
"@lowdefy/operators-change-case": "4.7.
|
|
67
|
-
"@lowdefy/operators-diff": "4.7.
|
|
68
|
-
"@lowdefy/operators-js": "4.7.
|
|
69
|
-
"@lowdefy/operators-moment": "4.7.
|
|
70
|
-
"@lowdefy/operators-mql": "4.7.
|
|
71
|
-
"@lowdefy/operators-nunjucks": "4.7.
|
|
72
|
-
"@lowdefy/operators-uuid": "4.7.
|
|
73
|
-
"@lowdefy/operators-yaml": "4.7.
|
|
74
|
-
"@lowdefy/plugin-next-auth": "4.7.
|
|
47
|
+
"@lowdefy/actions-core": "4.7.3",
|
|
48
|
+
"@lowdefy/api": "4.7.3",
|
|
49
|
+
"@lowdefy/block-utils": "4.7.3",
|
|
50
|
+
"@lowdefy/blocks-aggrid": "4.7.3",
|
|
51
|
+
"@lowdefy/blocks-antd": "4.7.3",
|
|
52
|
+
"@lowdefy/blocks-basic": "4.7.3",
|
|
53
|
+
"@lowdefy/blocks-color-selectors": "4.7.3",
|
|
54
|
+
"@lowdefy/blocks-echarts": "4.7.3",
|
|
55
|
+
"@lowdefy/blocks-loaders": "4.7.3",
|
|
56
|
+
"@lowdefy/blocks-markdown": "4.7.3",
|
|
57
|
+
"@lowdefy/blocks-qr": "4.7.3",
|
|
58
|
+
"@lowdefy/build": "4.7.3",
|
|
59
|
+
"@lowdefy/client": "4.7.3",
|
|
60
|
+
"@lowdefy/engine": "4.7.3",
|
|
61
|
+
"@lowdefy/errors": "4.7.3",
|
|
62
|
+
"@lowdefy/helpers": "4.7.3",
|
|
63
|
+
"@lowdefy/layout": "4.7.3",
|
|
64
|
+
"@lowdefy/logger": "4.7.3",
|
|
65
|
+
"@lowdefy/node-utils": "4.7.3",
|
|
66
|
+
"@lowdefy/operators-change-case": "4.7.3",
|
|
67
|
+
"@lowdefy/operators-diff": "4.7.3",
|
|
68
|
+
"@lowdefy/operators-js": "4.7.3",
|
|
69
|
+
"@lowdefy/operators-moment": "4.7.3",
|
|
70
|
+
"@lowdefy/operators-mql": "4.7.3",
|
|
71
|
+
"@lowdefy/operators-nunjucks": "4.7.3",
|
|
72
|
+
"@lowdefy/operators-uuid": "4.7.3",
|
|
73
|
+
"@lowdefy/operators-yaml": "4.7.3",
|
|
74
|
+
"@lowdefy/plugin-next-auth": "4.7.3",
|
|
75
75
|
"chokidar": "3.5.3",
|
|
76
76
|
"dotenv": "16.3.1",
|
|
77
77
|
"next": "13.5.4",
|