Skip to content

Commit c45f5e4

Browse files
committed
Add devcontainer configuration for TypeScript-Node
This sets up a dev container using a TypeScript-Node image. It includes a spell checker extension, forwards port 4321, and runs `npm install` after setup to ensure dependencies are installed.
1 parent 484b44a commit c45f5e4

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.devcontainer.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/typescript-node:22",
3+
"customizations": {
4+
"vscode": {
5+
"extensions": [
6+
"astro-build.astro-vscode",
7+
"esbenp.prettier-vscode"
8+
]
9+
}
10+
},
11+
"forwardPorts": [
12+
4321
13+
],
14+
"postCreateCommand": "npm install"
15+
}

0 commit comments

Comments
 (0)