|
1 | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
2 | 2 | // README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
3 | 3 | {
|
4 |
| - "name": "Node.js", |
5 |
| - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
6 |
| - "image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm", |
| 4 | + "name": "Node.js", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm", |
7 | 7 |
|
8 |
| - // Features to add to the dev container. More info: https://containers.dev/features. |
9 |
| - // "features": { |
10 |
| - // "ghcr.io/devcontainers/features/go:1": {} |
11 |
| - // }, |
| 8 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 9 | + // "features": { |
| 10 | + // "ghcr.io/devcontainers/features/go:1": {} |
| 11 | + // }, |
12 | 12 |
|
13 |
| - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
14 |
| - // "forwardPorts": [], |
| 13 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 14 | + // "forwardPorts": [], |
15 | 15 |
|
16 |
| - // Use 'postCreateCommand' to run commands after the container is created. |
17 |
| - "postCreateCommand": { |
18 |
| - "Configure Build Tools": "npm install -g pnpm" |
19 |
| - }, |
| 16 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 17 | + "postCreateCommand": { |
| 18 | + "Configure Build Tools": "npm install -g pnpm" |
| 19 | + }, |
20 | 20 |
|
21 |
| - // Configure tool-specific properties. |
22 |
| - "customizations": { |
23 |
| - "vscode": { |
24 |
| - "settings": { |
25 |
| - "terminal.integrated.defaultProfile.linux": "bash", |
26 |
| - "terminal.integrated.profiles.linux": { |
27 |
| - "bash": { |
28 |
| - "path": "/bin/bash", |
29 |
| - "icon": "terminal-bash" |
30 |
| - } |
31 |
| - } |
32 |
| - }, |
33 |
| - "extensions": [ |
34 |
| - "dbaeumer.vscode-eslint", |
35 |
| - "dprint.dprint" |
36 |
| - ] |
| 21 | + // Configure tool-specific properties. |
| 22 | + "customizations": { |
| 23 | + "vscode": { |
| 24 | + "settings": { |
| 25 | + "terminal.integrated.defaultProfile.linux": "bash", |
| 26 | + "terminal.integrated.profiles.linux": { |
| 27 | + "bash": { |
| 28 | + "path": "/bin/bash", |
| 29 | + "icon": "terminal-bash" |
| 30 | + } |
37 | 31 | }
|
38 |
| - }, |
| 32 | + }, |
| 33 | + "extensions": ["dbaeumer.vscode-eslint", "dprint.dprint"] |
| 34 | + } |
| 35 | + }, |
39 | 36 |
|
40 |
| - // More info: https://aka.ms/dev-containers-non-root. |
41 |
| - "remoteUser": "node" |
| 37 | + // More info: https://aka.ms/dev-containers-non-root. |
| 38 | + "remoteUser": "node" |
42 | 39 | }
|
0 commit comments