@elench/testkit 0.1.124 → 0.1.126
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/lib/config-api/index.mjs +2 -2
- package/lib/config-api/next-runtime-tsconfig.mjs +1 -1
- package/lib/runner/template-steps.mjs +1 -1
- package/node_modules/@elench/next-analysis/package.json +1 -1
- package/node_modules/@elench/testkit-bridge/package.json +2 -2
- package/node_modules/@elench/testkit-protocol/package.json +1 -1
- package/node_modules/@elench/ts-analysis/package.json +1 -1
- package/package.json +5 -5
package/lib/config-api/index.mjs
CHANGED
|
@@ -349,9 +349,9 @@ function nextApp(options = {}) {
|
|
|
349
349
|
readyTimeoutMs,
|
|
350
350
|
env: mode === "start"
|
|
351
351
|
? {
|
|
352
|
-
NEXT_DIST_DIR: normalizedEnv.NEXT_DIST_DIR || "
|
|
352
|
+
NEXT_DIST_DIR: normalizedEnv.NEXT_DIST_DIR || ".next-testkit/{runtimeId}/dist",
|
|
353
353
|
NEXT_TSCONFIG_PATH:
|
|
354
|
-
normalizedEnv.NEXT_TSCONFIG_PATH || "
|
|
354
|
+
normalizedEnv.NEXT_TSCONFIG_PATH || ".next-testkit/{runtimeId}/tsconfig.json",
|
|
355
355
|
...normalizedEnv,
|
|
356
356
|
}
|
|
357
357
|
: normalizedEnv,
|
|
@@ -9,7 +9,7 @@ export async function writeNextRuntimeTsconfig(context = {}) {
|
|
|
9
9
|
throw new Error("writeNextRuntimeTsconfig requires cwd and runtimeId");
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
const runtimeRoot = path.join(
|
|
12
|
+
const runtimeRoot = path.join(serviceDir, ".next-testkit", String(runtimeId));
|
|
13
13
|
const outputPath = path.join(runtimeRoot, "tsconfig.json");
|
|
14
14
|
const outputDir = path.dirname(outputPath);
|
|
15
15
|
const relative = (target) => path.relative(outputDir, target).replaceAll(path.sep, "/");
|
|
@@ -175,7 +175,7 @@ async function runConfiguredStep(config, step, env, resolvedToolchain, options =
|
|
|
175
175
|
stateDir: config.stateDir,
|
|
176
176
|
prepareDir: config.testkit.prepareDir || null,
|
|
177
177
|
};
|
|
178
|
-
const contextPath = `${bundledModule.outputFile}.context.json`;
|
|
178
|
+
const contextPath = `${bundledModule.outputFile}.${process.pid}.${crypto.randomUUID()}.context.json`;
|
|
179
179
|
fs.writeFileSync(contextPath, JSON.stringify(context));
|
|
180
180
|
|
|
181
181
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elench/testkit-bridge",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.126",
|
|
4
4
|
"description": "Browser bridge helpers for testkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@elench/testkit-protocol": "0.1.
|
|
25
|
+
"@elench/testkit-protocol": "0.1.126"
|
|
26
26
|
},
|
|
27
27
|
"private": false
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elench/testkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.126",
|
|
4
4
|
"description": "Assistant-first CLI for running, inspecting, and debugging local testkit suites",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"workspaces": [
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"@babel/code-frame": "^7.29.0",
|
|
98
|
-
"@elench/next-analysis": "0.1.
|
|
99
|
-
"@elench/testkit-bridge": "0.1.
|
|
100
|
-
"@elench/testkit-protocol": "0.1.
|
|
101
|
-
"@elench/ts-analysis": "0.1.
|
|
98
|
+
"@elench/next-analysis": "0.1.126",
|
|
99
|
+
"@elench/testkit-bridge": "0.1.126",
|
|
100
|
+
"@elench/testkit-protocol": "0.1.126",
|
|
101
|
+
"@elench/ts-analysis": "0.1.126",
|
|
102
102
|
"@oclif/core": "^4.10.6",
|
|
103
103
|
"@playwright/test": "^1.52.0",
|
|
104
104
|
"esbuild": "^0.25.11",
|