Skip to content

Commit a8ebc42

Browse files
chore: codespaces support (#112)
1 parent dc57818 commit a8ebc42

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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:0-18",
7+
"features": {
8+
"ghcr.io/devcontainers-contrib/features/nx-npm:1": {},
9+
"ghcr.io/devcontainers-contrib/features/pnpm:2": {}
10+
},
11+
12+
// Features to add to the dev container. More info: https://containers.dev/features.
13+
// "features": {},
14+
15+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
16+
// "forwardPorts": [],
17+
18+
// Use 'postCreateCommand' to run commands after the container is created.
19+
// "postCreateCommand": "yarn install",
20+
21+
// Configure tool-specific properties.
22+
"customizations": {
23+
"codespaces": {
24+
"openFiles": ["CONTRIBUTING.md"]
25+
}
26+
}
27+
28+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
29+
// "remoteUser": "root"
30+
}

0 commit comments

Comments
 (0)