From 582f82d98159b58cd3b1988a22ad790dc1790a80 Mon Sep 17 00:00:00 2001 From: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Date: Thu, 19 Mar 2026 17:25:48 +0800 Subject: [PATCH] Update devcontainer configuration for Node.js & TypeScript --- .devcontainer/devcontainer.json | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e5466afe1..a53daa867 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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" }