mirror of
https://github.com/tester-army/e2e.git
synced 2026-11-22 18:19:48 +08:00
* 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>