Files
supermemory/apps/docs/package.json
Soham Daga 1c235f146a chore(docs): run Mintlify development with Node 22
## Stack context

This is the final PR in the V5 documentation stack and changes only the local development command.

## What and why

Run Mintlify through an isolated Node 22 runtime so `bun dev` works on machines whose active Node version is newer than Mintlify supports. The wrapper preserves Portless and the existing fixed docs port.

```mermaid
flowchart LR
  Command[bun dev] --> Portless[Portless proxy]
  Portless --> Wrapper[scripts/dev.sh]
  Wrapper --> Runtime[Node 22 plus Mintlify]
```

## Validation

- `bash -n apps/docs/scripts/dev.sh`: passed.
- Mintlify validation under the Node 22 wrapper: passed.
- No dependency or lockfile changes are included.

## Impact

Local development only. Production documentation output is unchanged.
2026-09-19 21:49:52 -07:00

20 lines
422 B
JSON

{
"name": "@repo/docs",
"module": "index.ts",
"type": "module",
"private": true,
"portless": { "name": "docs.dev.supermemory", "script": "dev:app", "appPort": 3003 },
"scripts": {
"dev": "portless",
"dev:app": "bash scripts/dev.sh"
},
"devDependencies": {
"@types/bun": "latest",
"mintlify": "^4.2.112",
"typescript": "^5.9.2"
},
"dependencies": {
"supermemory": "3.10.0"
}
}