Commit 29b37de
committed
Make a fresh clone work without submodules or a build step
A fresh `git clone && bun install` previously could not run `bun dev`:
@executor-js/vite-plugin and @executor-js/react/console-routes only ship
built `dist/` entrypoints, which used to require knowing to run
`turbo run build` after installing. The root `prepare` hook now bundles
both on every install (tsup, well under a second), so vite configs
resolve on a fresh clone. (Pointing `exports.default` at the TS source
instead would only work on Node >= 23.6 type-stripping — vite
externalizes these imports from vite.config.ts, so Node itself has to
load them.)
Delete `testkit/` instead of porting it off the vendored mcporter
submodule: it was the throwaway MCP-surface MVP that the e2e
scenario x target framework (#926) superseded — nothing references it,
no CI runs it, and keeping it meant carrying its own npm lockfile.
`vendor/README.md` documents that the `vendor/` submodules are optional
(everything consumes the published @executor-js packages from npm).
(Earlier versions of this branch also wired e2e/ to @executor-js/mcporter
from npm and stubbed WorkOS Vault under EXECUTOR_E2E_STUB; the wire-level
emulators PR (#931) absorbed the former and replaced the latter with real
/vault/v1/kv routes on the WorkOS emulator.)
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.1 parent 3530d42 commit 29b37de
22 files changed
Lines changed: 55 additions & 727 deletions
File tree
- e2e/src/surfaces
- packages/core/vite-plugin
- testkit
- src
- tests
- vendor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
65 | | - | |
66 | | - | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | | - | |
113 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
129 | 140 | | |
130 | 141 | | |
131 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments