Commit 13d25da
chore: remove dead migration tooling, stale README steps, and unused assets (#319)
## Summary
Removes dead/stale code that no longer serves any purpose. No logic
changes.
**Deleted files:**
- `scripts/create-migration.ts` — creates SQL files in a `migrations/`
directory that no longer exists
- `readme-assets/logo-circle.png` — only referenced in a commented-out
README block
- `readme-assets/preview.png` — zero references anywhere in repo
- `public/graphics/docs/analyze-data-chart.png` and `static-chart.png` —
orphaned from a removed docs port (`c07895da`); the consuming
`src/app/docs` and `src/content/docs` trees were deleted long ago
**`package.json` script cleanup:**
- Removed `db:migrations:create`, `db:migrations:apply` (broken — calls
nonexistent `scripts:apply-migrations`), `scripts:create-migration`, and
the empty `<<<<<<< Database` section header
- Removed redundant `scripts:check-all-env` alias (was just `bun
scripts:check-app-env`); inlined its 3 callers (`test:run`,
`test:watch`, `test:ui`) to use `scripts:check-app-env` directly
**`README.md` cleanup:**
- Title: `# E2B Dashboard` → `# Dashboard`
- Updated stack version: Next.js 15 → Next.js 16 (overview + features)
- Updated prereq: Node.js 18+ → Node.js 20.9+ (Next.js 16's actual
minimum)
- Removed stale `**Documentation**: Integrated MDX documentation
support` feature line — MDX docs feature was removed
- Removed PostHog and Plain prerequisites (no longer relevant for local
setup)
- Removed "Database Setup" step pointing at a non-existent `/migrations`
folder; renumbered subsequent steps
- Removed two non-existent script references (`bun run db:types`, `bun
run db:migration`)
- Removed commented-out `<p align="center">…logo-circle.png…</p>` block
- Updated Project Structure section to match actual `src/` layout: added
`configs/`, `core/`, `trpc/`; removed non-existent `server/`; refreshed
descriptions
## Review & Testing Checklist for Human
- [ ] Verify no remaining references to `create-migration`,
`db:migrations`, `scripts:check-all-env`, MDX docs, Plain, or PostHog in
any docs you care about
- [ ] Confirm README setup steps still read correctly after renumbering
(c → Supabase Storage, d → Start dev server)
- [ ] Confirm Next.js 16 / Node 20.9+ versions are the ones you want
documented
### Notes
- `knip` reports 0 unused files and 0 unused dependencies after this
change (unchanged from main)
- Biome lint + format pass cleanly; pre-existing unit test failures are
unchanged
- Separately noted: `.github/workflows/sync-infra-specs.yml:76`
references stale paths (`src/types/*` instead of
`src/core/shared/contracts/*`) — left alone since fixing it changes
workflow behavior
Link to Devin session:
https://app.devin.ai/sessions/bf92d86408ce4a6496ae425d4a9a9ac5
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: ben@e2b.dev <ben@e2b.dev>
Co-authored-by: Alex Drankou <alex@e2b.dev>1 parent 6994abf commit 13d25da
7 files changed
Lines changed: 17 additions & 67 deletions
File tree
- public/graphics/docs
- readme-assets
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
7 | | - | |
| 4 | + | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | | - | |
| 17 | + | |
21 | 18 | | |
22 | 19 | | |
23 | | - | |
| 20 | + | |
24 | 21 | | |
25 | 22 | | |
26 | | - | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
34 | | - | |
| 30 | + | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
38 | | - | |
39 | | - | |
40 | 34 | | |
41 | 35 | | |
42 | 36 | | |
| |||
103 | 97 | | |
104 | 98 | | |
105 | 99 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 100 | + | |
114 | 101 | | |
115 | 102 | | |
116 | 103 | | |
117 | | - | |
| 104 | + | |
118 | 105 | | |
119 | 106 | | |
120 | 107 | | |
| |||
138 | 125 | | |
139 | 126 | | |
140 | 127 | | |
141 | | - | |
142 | | - | |
143 | 128 | | |
144 | 129 | | |
145 | 130 | | |
| |||
149 | 134 | | |
150 | 135 | | |
151 | 136 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
156 | 142 | | |
157 | | - | |
158 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
159 | 146 | | |
160 | 147 | | |
161 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
30 | | - | |
31 | | - | |
32 | 27 | | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
36 | 31 | | |
37 | 32 | | |
38 | 33 | | |
39 | | - | |
| 34 | + | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
49 | | - | |
50 | | - | |
| 44 | + | |
| 45 | + | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
0 commit comments