File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
3+ {
4+ "name" : " Node.js & TypeScript" ,
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image" : " mcr.microsoft.com/devcontainers/typescript-node:1-24-bookworm" ,
7+ // Features to add to the dev container. More info: https://containers.dev/features.
8+ "features" : {
9+ "ghcr.io/eitsupi/devcontainer-features/nushell:0" : {}
10+ },
11+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
12+ "forwardPorts" : [
13+ 3000
14+ ],
15+ "portsAttributes" : {
16+ "3000" : {
17+ "label" : " Blog" ,
18+ "onAutoForward" : " openPreview"
19+ }
20+ },
21+ "onCreateCommand" : " pnpm self-update" ,
22+ "updateContentCommand" : " pnpm install --config.confirmModulesPurge=false" ,
23+ "postAttachCommand" : " pnpm dev" ,
24+
25+ // Configure tool-specific properties.
26+ "customizations" : {
27+ "jetbrains" : {
28+ "backend" : " Rider"
29+ },
30+ "vscode" : {
31+ "extensions" : [
32+ " Vue.volar" ,
33+ " Nuxtr.nuxtr-vscode" ,
34+ " Nuxt.mdc" ,
35+ " sdras.vue-vscode-snippets"
36+ ]
37+ }
38+ }
39+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
40+ // "remoteUser": "root"
41+ }
You can’t perform that action at this time.
0 commit comments