docs: re-apply many recent changes that somehow aren't present (#24719)

lots of recent changes aren't present, so this reapplies them
This commit is contained in:
Michael H
2025-11-16 19:23:01 +11:00
committed by GitHub
parent 2cb8d4eae8
commit 87eca6bbc7
33 changed files with 681 additions and 94 deletions

View File

@@ -219,16 +219,21 @@ Build a minimal HTTP server with `Bun.serve`, run it locally, then evolve it by
Bun can also execute `"scripts"` from your `package.json`. Add the following script:
{/* prettier-ignore */}
```json package.json icon="file-code"
{
"name": "quickstart",
"module": "index.ts",
"type": "module",
"scripts": {
"start": "bun run index.ts"
},
"private": true,
"scripts": { // [!code ++]
"start": "bun run index.ts" // [!code ++]
}, // [!code ++]
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5"
}
}
```