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)",
"image": "oven/bun:1.3.10",
"features": {
"ghcr.io/devcontainers/features/git:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
}
"name": "Node.js & TypeScript",
"build": {
"dockerfile": "Dockerfile",
"context": "."
},
"customizations": {
"vscode": {
"extensions": ["oven.bun-vscode", "ms-vscode.vscode-typescript-next"],
"settings": {
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
"extensions": ["oven.bun-vscode"]
}
},
"postCreateCommand": "bun install",
"remoteUser": "bun"
"postCreateCommand": "bun install --frozen-lockfile",
"remoteUser": "node"
}