Update docs

This commit is contained in:
MartinBraquet
2026-03-01 17:52:00 +01:00
parent e2d9c06362
commit 44bc25f061
2 changed files with 4 additions and 18 deletions

View File

@@ -91,7 +91,7 @@ Compass/
| Category | Technology | Version |
| ---------- | --------------------- | ------- |
| Framework | Next.js | 14.1.0 |
| Framework | Next.js | 16 |
| UI Library | React | 19.2.3 |
| Language | TypeScript | 5.5.4 |
| Styling | Tailwind CSS | 3.3.3 |

View File

@@ -8,7 +8,7 @@ This is the frontend of the Compass platform, a transparent platform for forming
## Tech Stack
- **Framework**: Next.js 14.1.0
- **Framework**: Next.js 16
- **Language**: TypeScript
- **UI Library**: React 19.2.3
- **Styling**: Tailwind CSS 3.3.3
@@ -220,6 +220,7 @@ Catches React errors and shows user-friendly message:
```tsx
import {ErrorBoundary} from 'web/components/error-boundary'
;<ErrorBoundary>
<MyComponent />
</ErrorBoundary>
@@ -249,6 +250,7 @@ Keyboard users can skip to main content:
```tsx
import {SkipLink, MainContent} from 'web/components/skip-link'
;<>
<SkipLink />
<MainContent>...</MainContent>
@@ -354,19 +356,3 @@ Add the following environment variables and the ones in `.env` in the Vercel das
```bash
NEXT_PUBLIC_VERCEL=1
```
## `next` version
The `next` version is 14.1.0, as we get the following error with 15.1.2 and above when accessing `/[username]` pages on
Vercel:
```
Cannot find module 'next/dist/compiled/source-map'
Require stack:
- /var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js
- /var/task/web/___next_launcher.cjs
Did you forget to add it to "dependencies" in `package.json`?
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.
```
TODO: investigate, find a fix and upgrade.