testeranto 0.79.59 → 0.79.61

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/Bundle.Dockerfile CHANGED
@@ -29,6 +29,7 @@ RUN yarn run init
29
29
  RUN apt-get update && apt-get install -y chromium
30
30
  RUN /usr/bin/chromium --no-sandbox --version > /etc/chromium-version
31
31
 
32
+ ENV CHROMIUM_PATH=/usr/bin/chromium
32
33
  RUN yarn bundle
33
34
  # COPY ./docs/ /usr/src/app/docs
34
35
  # # COPY ./testeranto.json /usr/src/app/testeranto.json
@@ -14,6 +14,7 @@ const childProcesses = {};
14
14
  readline_1.default.emitKeypressEvents(process.stdin);
15
15
  if (process.stdin.isTTY)
16
16
  process.stdin.setRawMode(true);
17
+ console.log("hello Puppeteer", process.env);
17
18
  console.log("\n Puppeteer is running. Press 'q' to quit\n");
18
19
  process.stdin.on("keypress", (str, key) => {
19
20
  if (key.name === "q") {
@@ -26,7 +27,7 @@ exports.default = async (partialConfig) => {
26
27
  const pm = new main_js_1.PM_Main(config);
27
28
  await pm.startPuppeteer({
28
29
  waitForInitialPage: false,
29
- executablePath: "/opt/homebrew/bin/chromium",
30
+ executablePath: process.env.CHROMIUM_PATH || "/opt/homebrew/bin/chromium",
30
31
  headless: true,
31
32
  // dumpio: true,
32
33
  args: [
@@ -9,16 +9,7 @@ const mongoose_1 = __importDefault(require("mongoose"));
9
9
  const path_1 = __importDefault(require("path"));
10
10
  const fs_1 = __importDefault(require("fs"));
11
11
  const mongooseSchemas_1 = require("./mongooseSchemas");
12
- // export const chatChannel = new mongoose.Schema<IChatChannel>({
13
- // // name: { type: String, required: true },
14
- // users: [
15
- // {
16
- // type: mongoose.Schema.Types.ObjectId,
17
- // ref: "User",
18
- // required: true,
19
- // },
20
- // ],
21
- // });
12
+ console.log("hello TaskMan Backend", process.env);
22
13
  const port = 3000;
23
14
  function findTextFiles(dir, fileList = []) {
24
15
  const files = fs_1.default.readdirSync(dir);