testeranto 0.79.29 → 0.79.31

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.
@@ -29,9 +29,9 @@ RUN yarn testeranto-esbuild
29
29
 
30
30
  # # RUN yarn build
31
31
 
32
- # RUN cp ./node_modules/testeranto/dist/prebuild/TaskManBackEnd.mjs /usr/src/app/TaskManBackEnd.mjs
33
- # RUN cp ./node_modules/testeranto/dist/prebuild/TaskManFrontEnd.js /usr/src/app/TaskManFrontEnd.js
34
- # RUN cp ./node_modules/testeranto/dist/prebuild/TaskManFrontEnd.css /usr/src/app/TaskManFrontEnd.css
32
+ RUN cp ./node_modules/testeranto/dist/prebuild/TaskManBackEnd.mjs /usr/src/app/TaskManBackEnd.mjs
33
+ RUN cp ./node_modules/testeranto/dist/prebuild/TaskManFrontEnd.js /usr/src/app/TaskManFrontEnd.js
34
+ RUN cp ./node_modules/testeranto/dist/prebuild/TaskManFrontEnd.css /usr/src/app/TaskManFrontEnd.css
35
35
 
36
36
  # # RUN ts-node-esm ./node_modules/testeranto/dist/prebuild/TaskManBackEnd.mjs
37
37
 
@@ -39,4 +39,4 @@ RUN yarn testeranto-esbuild
39
39
  # EXPOSE 27017
40
40
  # ENV MONGO_HOST=host.docker.internal
41
41
  # # CMD ['yarn', 'testeranto-testrun', '&', 'yarn', 'testeranto-taskman']
42
- # CMD ["node", "./TaskManBackEnd.mjs"]
42
+ CMD ["node", "./TaskManBackEnd.mjs"]
@@ -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 featuresDone, nodeDone, webDone = false;
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 (featuresDone && nodeDone && webDone && mode === "PROD") {
51
+ if (nodeDone && webDone && mode === "PROD") {
51
52
  console.log("Testeranto-EsBuild is all done. Goodbye!");
52
53
  process.exit();
53
54
  }