@elench/testkit 0.1.125 → 0.1.127
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 +8 -5
- package/lib/config-api/next-runtime-tsconfig.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,
|
|
@@ -539,9 +539,12 @@ function normalizeNextPresetEnv({ api, authMode } = {}) {
|
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
if (authMode === "disabled-clerk" || authMode?.kind === "disabled-clerk") {
|
|
542
|
-
env.
|
|
543
|
-
env.
|
|
544
|
-
env.
|
|
542
|
+
env.DISABLE_CLERK_AUTH = "1";
|
|
543
|
+
env.NEXT_PUBLIC_DISABLE_CLERK_AUTH = "1";
|
|
544
|
+
env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY = "";
|
|
545
|
+
env.CLERK_PUBLISHABLE_KEY = "";
|
|
546
|
+
env.CLERK_SECRET_KEY = "";
|
|
547
|
+
env.CLERK_WEBHOOK_SECRET = "";
|
|
545
548
|
}
|
|
546
549
|
return env;
|
|
547
550
|
}
|
|
@@ -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, "/");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elench/testkit-bridge",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.127",
|
|
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.127"
|
|
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.127",
|
|
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.127",
|
|
99
|
+
"@elench/testkit-bridge": "0.1.127",
|
|
100
|
+
"@elench/testkit-protocol": "0.1.127",
|
|
101
|
+
"@elench/ts-analysis": "0.1.127",
|
|
102
102
|
"@oclif/core": "^4.10.6",
|
|
103
103
|
"@playwright/test": "^1.52.0",
|
|
104
104
|
"esbuild": "^0.25.11",
|