Add Node/TS automation twin sharing the extension core.
CI / automation-js (vitest + real Chromium) (pull_request) Successful in 43s
CI / Lint + tests (pull_request) Successful in 9m52s

Expose ExtractorSession for Playwright/camoufox-js so Node automations can
import context dumps instead of shelling out to the Python package. Same
fixture as the Python tests; wired into Makefile and Gitea CI.
This commit is contained in:
2026-07-15 18:17:14 -04:00
parent f79552249e
commit 55018a6e3e
15 changed files with 2811 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
import { defineConfig } from 'tsup';
export default defineConfig({
entry: { index: 'src/index.ts' },
format: ['esm'],
dts: true,
sourcemap: true,
splitting: false,
treeshake: true,
clean: true,
external: ['playwright-core', '@playwright/test', 'playwright'],
});