Align web and admin-ui on Next 15.5 + React 19.2 (BIT-2516)
Pin matching versions in web/ and admin-ui/, document the decision and Node requirement in README, and ignore TypeScript build info artefacts. Made-with: Cursor
This commit is contained in:
1 parent
1099cbb724
commit
2d93c4a3fc
6 files changed
+93
-80
No files matched your search
@@ -20,6 +20,18 @@ BitReport **central error reporting** platform: ingest API, collector worker, ad
|
||||
| `db/migrations/` | Admin-user schema (SQL); applied with error_reporting migrations via `scripts/docker-migrate.sh` |
|
||||
| `docs/` | Permission matrix, deployment runbooks |
|
||||
|
||||
## Frontend stack (Next.js / React) — BIT-2516
|
||||
|
||||
**Decision:** Option A from the audit — both operator-facing Next apps stay on the **same** major line (**Next 15 + React 19**), with **pinned** versions so `web/` and `admin-ui/` do not drift.
|
||||
|
||||
| Package | `admin-ui/` | `web/` |
|
||||
|--------|-------------|--------|
|
||||
| `next` / `eslint-config-next` | `15.5.15` | `15.5.15` |
|
||||
| `react` / `react-dom` | `19.2.5` | `19.2.5` |
|
||||
| `@types/react` / `@types/react-dom` | `19.2.14` / `19.2.3` | `19.2.14` / `19.2.3` |
|
||||
|
||||
**Node:** `>=20` for both. There is no shared npm package between the two apps today; alignment is by explicit pins and this table. Revisit when upgrading either app (bump both + run `npm run build` in each).
|
||||
|
||||
## Docker Compose (ingest stack)
|
||||
|
||||
From the **repository root**:
|
||||
|
||||
Reference in new issue
Block a user