testeranto 0.79.29 → 0.79.30
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/dist/common/Project.js
CHANGED
|
@@ -11,6 +11,7 @@ const readline_1 = __importDefault(require("readline"));
|
|
|
11
11
|
const glob_1 = require("glob");
|
|
12
12
|
const node_js_1 = __importDefault(require("./esbuildConfigs/node.js"));
|
|
13
13
|
const web_js_1 = __importDefault(require("./esbuildConfigs/web.js"));
|
|
14
|
+
// import esbuildFeaturesConfiger from "./esbuildConfigs/features.js";
|
|
14
15
|
const web_html_js_1 = __importDefault(require("./web.html.js"));
|
|
15
16
|
var mode = process.argv[2] === "-dev" ? "DEV" : "PROD";
|
|
16
17
|
readline_1.default.emitKeypressEvents(process.stdin);
|
|
@@ -27,9 +28,9 @@ process.stdin.on("keypress", (str, key) => {
|
|
|
27
28
|
// const memoryUsage = process.memoryUsage();
|
|
28
29
|
// console.log("Memory usage:", memoryUsage);
|
|
29
30
|
// }, 10000); // Check every 10 seconds
|
|
30
|
-
let
|
|
31
|
+
let nodeDone, webDone = false;
|
|
31
32
|
const onFeaturesDone = () => {
|
|
32
|
-
featuresDone = true;
|
|
33
|
+
// featuresDone = true;
|
|
33
34
|
onDone();
|
|
34
35
|
};
|
|
35
36
|
const onNodeDone = () => {
|
|
@@ -42,12 +43,12 @@ const onWebDone = () => {
|
|
|
42
43
|
};
|
|
43
44
|
const onDone = () => {
|
|
44
45
|
console.log(JSON.stringify({
|
|
45
|
-
featuresDone,
|
|
46
|
+
// featuresDone,
|
|
46
47
|
nodeDone,
|
|
47
48
|
webDone,
|
|
48
49
|
mode,
|
|
49
50
|
}, null, 2));
|
|
50
|
-
if (
|
|
51
|
+
if (nodeDone && webDone && mode === "PROD") {
|
|
51
52
|
console.log("Testeranto-EsBuild is all done. Goodbye!");
|
|
52
53
|
process.exit();
|
|
53
54
|
}
|