|
1 | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: |
2 | 2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/typescript-node |
3 | 3 | { |
4 | | - "name": "Node.js & TypeScript", |
5 | | - "build": { |
6 | | - "dockerfile": "Dockerfile", |
7 | | - // Update 'VARIANT' to pick a Node version: 18, 16, 14. |
8 | | - // Append -bullseye or -buster to pin to an OS version. |
9 | | - // Use -bullseye variants on local on arm64/Apple Silicon. |
10 | | - "args": { |
11 | | - "VARIANT": "18-bullseye" |
12 | | - } |
13 | | - }, |
| 4 | + "name": "Node.js & TypeScript", |
| 5 | + "build": { |
| 6 | + "dockerfile": "Dockerfile", |
| 7 | + // Update 'VARIANT' to pick a Node version: 18, 16, 14. |
| 8 | + // Append -bullseye or -buster to pin to an OS version. |
| 9 | + // Use -bullseye variants on local on arm64/Apple Silicon. |
| 10 | + "args": { |
| 11 | + "VARIANT": "18-bullseye" |
| 12 | + } |
| 13 | + }, |
14 | 14 |
|
15 | | - // Configure tool-specific properties. |
16 | | - "customizations": { |
17 | | - // Configure properties specific to VS Code. |
18 | | - "vscode": { |
19 | | - // Add the IDs of extensions you want installed when the container is created. |
20 | | - "extensions": [ |
21 | | - "dbaeumer.vscode-eslint", |
22 | | - "astro-build.astro-vscode" |
23 | | - ] |
24 | | - } |
25 | | - }, |
| 15 | + // Configure tool-specific properties. |
| 16 | + "customizations": { |
| 17 | + // Configure properties specific to VS Code. |
| 18 | + "vscode": { |
| 19 | + // Add the IDs of extensions you want installed when the container is created. |
| 20 | + "extensions": [ |
| 21 | + "dbaeumer.vscode-eslint", |
| 22 | + "astro-build.astro-vscode", |
| 23 | + "svelte.svelte-vscode" |
| 24 | + ] |
| 25 | + } |
| 26 | + }, |
26 | 27 |
|
27 | | - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
28 | | - // "forwardPorts": [], |
| 28 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 29 | + // "forwardPorts": [], |
29 | 30 |
|
30 | | - // Use 'postCreateCommand' to run commands after the container is created. |
31 | | - "postCreateCommand": "npm install", |
| 31 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 32 | + "postCreateCommand": "npm install", |
32 | 33 |
|
33 | | - // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
34 | | - "remoteUser": "node" |
| 34 | + // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
| 35 | + "remoteUser": "node" |
35 | 36 | } |
0 commit comments