Update devcontainer configuration for Node.js & TypeScript

This commit is contained in:
Fuxing Loh 2026-03-19 17:25:48 +08:00 committed by GitHub
parent d44cb2e630
commit 582f82d981
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 16 deletions

View File

@ -1,23 +1,14 @@
{ {
"name": "Gstack (Bun)", "name": "Node.js & TypeScript",
"image": "oven/bun:1.3.10", "build": {
"features": { "dockerfile": "Dockerfile",
"ghcr.io/devcontainers/features/git:1": { "context": "."
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
}
}, },
"customizations": { "customizations": {
"vscode": { "vscode": {
"extensions": ["oven.bun-vscode", "ms-vscode.vscode-typescript-next"], "extensions": ["oven.bun-vscode"]
"settings": {
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
} }
}, },
"postCreateCommand": "bun install", "postCreateCommand": "bun install --frozen-lockfile",
"remoteUser": "bun" "remoteUser": "node"
} }