testeranto 0.221.2 → 0.221.4

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.
@@ -82,6 +82,7 @@ var nodeDockerComposeFile = (config, container_name, projectConfigPath, nodeConf
82
82
  container_name,
83
83
  environment: {
84
84
  NODE_ENV: "production",
85
+ ENV: "node",
85
86
  ...config.env
86
87
  },
87
88
  working_dir: "/workspace",
@@ -95,7 +96,7 @@ var nodeDockerComposeFile = (config, container_name, projectConfigPath, nodeConf
95
96
  };
96
97
  };
97
98
  var nodeBuildCommand = (projectConfigPath, nodeConfigPath, testName) => {
98
- return `yarn tsx node_modules/testeranto/src/server/runtimes/node/node.ts /workspace/testeranto/testeranto.ts /workspace/${nodeConfigPath} ${testName}`;
99
+ return `ENV=node yarn tsx node_modules/testeranto/src/server/runtimes/node/node.ts /workspace/testeranto/testeranto.ts /workspace/${nodeConfigPath} ${testName}`;
99
100
  };
100
101
  var nodeBddCommand = (fpath, nodeConfigPath) => {
101
102
  return `yarn tsx testeranto/bundles/allTests/node/src/ts/Calculator.test.mjs /workspace/${nodeConfigPath}`;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "testeranto",
3
3
  "displayName": "Testeranto",
4
4
  "description": "the Dockerized, AI powered, BDD test framework for polyglot projects",
5
- "version": "0.221.2",
5
+ "version": "0.221.4",
6
6
  "engines": {
7
7
  "node": ">=20.19.0",
8
8
  "vscode": "^1.60.0"
@@ -2,20 +2,15 @@
2
2
  import * as esbuild from 'esbuild'
3
3
 
4
4
  await esbuild.build({
5
- outExtension: { '.js': '.mjs' },
6
5
  entryPoints: [
7
6
  'src/index.ts',
8
7
  ],
9
8
  bundle: true,
10
9
  format: "esm",
11
- splitting: true,
12
10
  platform: "node",
13
11
  target: "node20",
14
- outdir: "dist/prebuild",
12
+ outfile: "dist/module/index.js",
15
13
  packages: "external",
16
- supported: {
17
- "dynamic-import": true,
18
- },
19
14
  external: [
20
15
  "fs", "path", "child_process", "util", "os", "events", "stream",
21
16
  "http", "https", "zlib", "crypto", "buffer", "net", "dns", "tls",