You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make a fresh clone work without submodules or a build step
A fresh `git clone && bun install` previously could not run `bun dev`
or `bun run test:e2e`:
- @executor-js/vite-plugin only ships a built `dist/`, which used to
require knowing to run `turbo run build` after installing. The root
`prepare` hook now bundles it on every install (tsup, ~0.2s), so the
package resolves on a fresh clone. (Pointing `exports.default` at the
TS source instead would only work on Node >= 23.6 type-stripping —
vite externalizes the plugin import from vite.config.ts, so Node
itself has to load it.)
- e2e and testkit imported `vendor/mcporter/dist`, which requires
initializing the submodule AND building it with pnpm. Consume the fork
from npm as @executor-js/mcporter instead; the submodule stays for
developing the fork itself (see vendor/README.md). The fork's 0.11.4
relaxes its zod range to ^4.3.6 so the repo keeps a single zod copy.
- The cloud e2e stub (EXECUTOR_E2E_STUB=1) stubbed WorkOS auth and Autumn
but not WorkOS Vault, so any secret write (e.g. oauth.createClient with
a client secret) dialed the real WorkOS API with the stub key and
500'd — the cloud half of the oauth-callback-url scenario was failing
on main. Inject the existing in-memory test vault client in stub mode.
Verified by cloning the repo fresh into /tmp: install, format, lint,
typecheck, and the full e2e suite (cloud + selfhost) all pass with no
submodules initialized and no manual build step.
0 commit comments