@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.
@@ -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 || "{productDir}/.next-testkit/{runtimeId}/dist",
352
+ NEXT_DIST_DIR: normalizedEnv.NEXT_DIST_DIR || ".next-testkit/{runtimeId}/dist",
353
353
  NEXT_TSCONFIG_PATH:
354
- normalizedEnv.NEXT_TSCONFIG_PATH || "{productDir}/.next-testkit/{runtimeId}/tsconfig.json",
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.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY = "testkit_disabled";
543
- env.CLERK_SECRET_KEY = "testkit_disabled";
544
- env.CLERK_WEBHOOK_SECRET = "testkit_disabled";
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(productDir, ".next-testkit", String(runtimeId));
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/next-analysis",
3
- "version": "0.1.125",
3
+ "version": "0.1.127",
4
4
  "description": "SWC-backed Next.js source analysis primitives for Erench tools",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit-bridge",
3
- "version": "0.1.125",
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.125"
25
+ "@elench/testkit-protocol": "0.1.127"
26
26
  },
27
27
  "private": false
28
28
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit-protocol",
3
- "version": "0.1.125",
3
+ "version": "0.1.127",
4
4
  "description": "Shared browser protocol for testkit bridge and extension consumers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/ts-analysis",
3
- "version": "0.1.125",
3
+ "version": "0.1.127",
4
4
  "description": "TypeScript compiler-backed source analysis primitives for Erench tools",
5
5
  "type": "module",
6
6
  "exports": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elench/testkit",
3
- "version": "0.1.125",
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.125",
99
- "@elench/testkit-bridge": "0.1.125",
100
- "@elench/testkit-protocol": "0.1.125",
101
- "@elench/ts-analysis": "0.1.125",
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",