Files
e2e/package.json
T
0a5ee16387 refactor: move e2e's core into @e2e-dev/core, and engines peer on it (#1737)
* refactor: move e2e's core into @e2e-dev/core, and engines peer on it

The engine contract, locators, agent, replay cache, secrets, and the
session half of a worker move from packages/e2e to packages/core, the new
@e2e-dev/core package, at the same paths. e2e depends on it at its exact
version (a changesets fixed group) and reaches its modules through
@e2e-dev/core/lib/*, which is not public API; e2e/engine and e2e/agent
re-export it. @e2e-dev/web and @e2e-dev/mobile peer on @e2e-dev/core and
import the contract from @e2e-dev/core/engine. Install smoke checks that one
copy of @e2e-dev/core is installed.

Most of this diff is git mv and import specifiers rewritten to
@e2e-dev/core/lib/<path>; no behavior changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: build and pack @e2e-dev/core where e2e is built or packed alone

The Bun job built e2e before the @e2e-dev/core it compiles against, and the
examples nightly installs e2e from a tarball whose exact @e2e-dev/core is
not on npm; it now packs @e2e-dev/core and overrides it in each example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(engines): name @e2e-dev/core/engine as the contract's source

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(e2e): list @e2e-dev/core beside an engine in init and upgrade

Engines peer on @e2e-dev/core. Yarn installs no peer the project does
not list, and under Plug'n'Play the engine then fails to load.

- init adds @e2e-dev/core with any engine
- upgrade adds a required @e2e-dev peer the project lacks, and keeps a
  package e2e depends on at the version e2e names

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
2026-11-15 18:31:58 +00:00

61 lines
4.2 KiB
JSON

{
"name": "e2e-monorepo",
"private": true,
"description": "An open framework for agentic end-to-end testing",
"keywords": [
"e2e",
"testing",
"agentic"
],
"type": "module",
"scripts": {
"build": "pnpm --filter @e2e-dev/core run build && pnpm --filter e2e run build && pnpm --filter @e2e-dev/web run build && pnpm --filter @e2e-dev/mobile run build && pnpm --filter @e2e-dev/github run build && pnpm --filter @e2e-dev/html-reporter run build && pnpm --filter @e2e-dev/kernel run build && pnpm --filter @e2e-dev/browser-run run build && pnpm --filter @e2e-dev/lightpanda run build && pnpm --filter @e2e-dev/eas run build && pnpm --filter @e2e-dev/smol run build && pnpm --filter @e2e-dev/limrun run build && pnpm --filter @e2e-dev/decision run build && pnpm --filter @e2e-dev/testmu run build && pnpm --filter @e2e-dev/acp run build && pnpm --filter @e2e-dev/browserstack run build && pnpm --filter @e2e-dev/e2b run build",
"check": "pnpm run lint && pnpm run check:dead-code && pnpm run typecheck && pnpm run docs:check-errors && pnpm run check:peer-ranges && pnpm run check:changeset-bumps && pnpm run check:examples && pnpm run check:install-scripts && pnpm run plugins:check && pnpm run mcp-server:check && pnpm run docs:check",
"check:dead-code": "fallow dead-code",
"check:peer-ranges": "node scripts/check-peer-ranges.ts",
"check:install-scripts": "node scripts/check-install-scripts.ts",
"check:changeset-bumps": "node scripts/check-changeset-bumps.ts",
"check:examples": "node scripts/check-examples.ts",
"plugins:sync": "node scripts/sync-plugin.ts",
"plugins:check": "node scripts/sync-plugin.ts --check",
"mcp-server:sync": "node scripts/sync-mcp-server.ts",
"mcp-server:check": "node scripts/sync-mcp-server.ts --check",
"docs:check-errors": "node scripts/check-error-codes.ts",
"docs:check": "pnpm --filter @e2e-dev/docs run check",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"changeset": "changeset",
"version-packages": "changeset version && node scripts/restore-peer-ranges.ts && node scripts/sync-plugin.ts && node scripts/sync-mcp-server.ts && pnpm install --lockfile-only",
"release": "pnpm run build && changeset publish",
"canary": "node scripts/canary-changeset.ts && changeset version --snapshot canary && pnpm run build",
"canary:publish": "changeset publish --tag canary --no-git-tag && node scripts/restore-peer-ranges.ts",
"typecheck": "pnpm run build && pnpm -r run typecheck && tsc -p scripts",
"test": "pnpm run build && pnpm --filter @e2e-dev/core run test && pnpm --filter e2e run test && pnpm --filter @e2e-dev/web run test && pnpm --filter @e2e-dev/mobile run test && pnpm --filter @e2e-dev/github run test && pnpm --filter @e2e-dev/html-reporter run test && pnpm --filter @e2e-dev/kernel run test && pnpm --filter @e2e-dev/browser-run run test && pnpm --filter @e2e-dev/lightpanda run test && pnpm --filter @e2e-dev/eas run test && pnpm --filter @e2e-dev/smol run test && pnpm --filter @e2e-dev/limrun run test && pnpm --filter @e2e-dev/decision run test && pnpm --filter @e2e-dev/acp run test && pnpm run test:scripts && pnpm --filter @e2e-dev/testmu run test && pnpm --filter @e2e-dev/browserstack run test && pnpm --filter @e2e-dev/e2b run test",
"test:testbed": "pnpm run build && pnpm --filter @e2e-dev/testbed test",
"test:web-benchmark": "pnpm run build && pnpm --filter @e2e-dev/web-benchmark test",
"test:mobile-benchmark": "pnpm run build && pnpm --filter @e2e-dev/mobile-benchmark test",
"test:agent": "pnpm run build && pnpm --filter @e2e-dev/testbed test:agent",
"test:scripts": "node --test \"scripts/**/*.test.ts\"",
"bench:ab": "node scripts/bench-ab.ts"
},
"contributors": [
"Oskar Kwaśniewski <oskar@tester.army>",
"Szymon Rybczak <szymon@tester.army>"
],
"devDependencies": {
"@changesets/changelog-github": "1.0.1",
"@changesets/cli": "3.0.3",
"@changesets/parse": "1.0.0",
"@mdx-js/mdx": "3.1.1",
"@oxlint/plugins": "1.93.0",
"@sindresorhus/slugify": "4.0.1",
"@types/node": "26.6.6",
"ajv": "8.20.0",
"fallow": "3.43.0",
"oxlint": "1.93.0",
"remark-gfm": "4.0.1",
"typescript": "7.0.2"
},
"packageManager": "pnpm@12.3.4"
}