testeranto 0.79.21 → 0.79.23

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.
@@ -8,6 +8,8 @@ RUN apt-get update && \
8
8
  g++ && \
9
9
  rm -rf /var/lib/apt/lists/*
10
10
 
11
+ RUN yarn global add node-gyp
12
+
11
13
  RUN mkdir -p /usr/src/app
12
14
  WORKDIR /usr/src/app
13
15
  COPY package.json /usr/src/app
@@ -13,7 +13,6 @@ const node_js_1 = __importDefault(require("./esbuildConfigs/node.js"));
13
13
  const web_js_1 = __importDefault(require("./esbuildConfigs/web.js"));
14
14
  const features_js_1 = __importDefault(require("./esbuildConfigs/features.js"));
15
15
  const web_html_js_1 = __importDefault(require("./web.html.js"));
16
- const report_html_js_1 = __importDefault(require("./report.html.js"));
17
16
  var mode = process.argv[2] === "-dev" ? "DEV" : "PROD";
18
17
  readline_1.default.emitKeypressEvents(process.stdin);
19
18
  if (process.stdin.isTTY)
@@ -102,9 +101,6 @@ class ITProject {
102
101
  fs_1.default.unlinkSync(chunk);
103
102
  });
104
103
  });
105
- fs_1.default.copyFileSync("./node_modules/testeranto/dist/prebuild/Report.js", "./docs/Report.js");
106
- fs_1.default.copyFileSync("./node_modules/testeranto/dist/prebuild/Report.css", "./docs/Report.css");
107
- fs_1.default.writeFileSync(`${config.outdir}/report.html`, (0, report_html_js_1.default)());
108
104
  Promise.all([
109
105
  fs_1.default.promises.writeFile(`${config.outdir}/testeranto.json`, JSON.stringify(Object.assign(Object.assign({}, config), { buildDir: process.cwd() + "/" + config.outdir }), null, 2)),
110
106
  esbuild_1.default
@@ -1,13 +1,14 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = (config) => {
4
- return {
5
- bundle: true,
6
- entryPoints: ["./node_modules/testeranto/dist/module/report.js"],
7
- minify: config.minify === true,
8
- outbase: config.outbase,
9
- write: true,
10
- outfile: `${config.outdir}/report.js`,
11
- external: ["tests.json", "features.test.js"],
12
- };
13
- };
2
+ // import { BuildOptions } from "esbuild";
3
+ // import { IBaseConfig } from "../lib/types";
4
+ // export default (config: IBaseConfig): BuildOptions => {
5
+ // return {
6
+ // bundle: true,
7
+ // entryPoints: ["./node_modules/testeranto/dist/module/report.js"],
8
+ // minify: config.minify === true,
9
+ // outbase: config.outbase,
10
+ // write: true,
11
+ // outfile: `${config.outdir}/report.js`,
12
+ // external: ["tests.json", "features.test.js"],
13
+ // };
14
+ // };