mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-13 05:20:13 +08:00
## 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.
20 lines
422 B
JSON
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"
|
|
}
|
|
}
|