@pronto-tools-and-more/pronto 7.0.0 → 7.2.0
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": "@pronto-tools-and-more/pronto",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"@lvce-editor/ipc": "^11.0.1",
|
|
18
18
|
"@lvce-editor/json-rpc": "^4.2.0",
|
|
19
19
|
"@lvce-editor/verror": "^1.4.0",
|
|
20
|
-
"@pronto-tools-and-more/file-watcher": "7.
|
|
21
|
-
"@pronto-tools-and-more/files": "7.
|
|
22
|
-
"@pronto-tools-and-more/network-process": "7.
|
|
23
|
-
"@pronto-tools-and-more/sass-compiler": "7.
|
|
24
|
-
"@pronto-tools-and-more/components-renderer": "7.
|
|
25
|
-
"@pronto-tools-and-more/components": "7.
|
|
26
|
-
"@pronto-tools-and-more/schema-process": "7.
|
|
20
|
+
"@pronto-tools-and-more/file-watcher": "7.2.0",
|
|
21
|
+
"@pronto-tools-and-more/files": "7.2.0",
|
|
22
|
+
"@pronto-tools-and-more/network-process": "7.2.0",
|
|
23
|
+
"@pronto-tools-and-more/sass-compiler": "7.2.0",
|
|
24
|
+
"@pronto-tools-and-more/components-renderer": "7.2.0",
|
|
25
|
+
"@pronto-tools-and-more/components": "7.2.0",
|
|
26
|
+
"@pronto-tools-and-more/schema-process": "7.2.0",
|
|
27
27
|
"execa": "^9.4.1",
|
|
28
28
|
"express": "^4.21.1"
|
|
29
29
|
},
|
package/src/parts/Build/Build.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { VError } from "@lvce-editor/verror";
|
|
2
2
|
import { cp, mkdir, rm, writeFile } from "fs/promises";
|
|
3
3
|
import { dirname, join } from "path";
|
|
4
|
+
import * as BuildToRemove from "../BuildToRemove/BuildToRemove.js";
|
|
4
5
|
import * as CompileSass from "../CompileSass/CompileSass.js";
|
|
5
6
|
import * as Config from "../Config/Config.js";
|
|
6
7
|
import * as Cwd from "../Cwd/Cwd.js";
|
|
7
8
|
import * as FilesPath from "../FilesPath/FilesPath.js";
|
|
8
|
-
import * as SassProcess from "../SassProcess/SassProcess.js";
|
|
9
|
-
import * as GetViewsJson from "../GetViewsJson/GetViewsJson.js";
|
|
10
9
|
import * as GetViewsResponse from "../GetViewsResponse/GetViewsResponse.js";
|
|
10
|
+
import * as SassProcess from "../SassProcess/SassProcess.js";
|
|
11
11
|
import * as ValidateAllSchemas from "../ValidateAllSchemas/ValidateAllSchemas.js";
|
|
12
12
|
|
|
13
13
|
const sourceMap = false;
|
|
@@ -65,10 +65,12 @@ export const build = async () => {
|
|
|
65
65
|
if (Config.validateSchema) {
|
|
66
66
|
await ValidateAllSchemas.validateAllSchemas();
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
for (const folderName of BuildToRemove.builtToRemove) {
|
|
69
|
+
await rm(join(dist, "src", folderName), {
|
|
70
|
+
recursive: true,
|
|
71
|
+
force: true,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
72
74
|
} catch (error) {
|
|
73
75
|
throw new VError(error, `Failed to build`);
|
|
74
76
|
} finally {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const builtToRemove = ["components", "graphql"];
|