Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/typescript-node/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-${templateOption:imageVariant}"
"image": "mcr.microsoft.com/devcontainers/typescript-node:4-${templateOption:imageVariant}"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down
2 changes: 1 addition & 1 deletion src/typescript-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Develop Node.js based applications in TypeScript. Includes Node.js, eslint, nvm,

| Options Id | Description | Type | Default Value |
|-----|-----|-----|-----|
| imageVariant | Node.js version (use -bookworm, -bullseye variants on local arm64/Apple Silicon): | string | 22-bookworm |
| imageVariant | Node.js version (use -trixie, -bookworm, -bullseye variants on local arm64/Apple Silicon): | string | 24-trixie |

This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata.

Expand Down
13 changes: 8 additions & 5 deletions src/typescript-node/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "typescript-node",
"version": "4.0.2",
"version": "5.0.0",
"name": "Node.js & TypeScript",
"description": "Develop Node.js based applications in TypeScript. Includes Node.js, eslint, nvm, yarn, and the TypeScript compiler.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/typescript-node",
Expand All @@ -11,14 +11,17 @@
"type": "string",
"description": "Node.js version (use -bookworm, -bullseye variants on local arm64/Apple Silicon):",
"proposals": [
"24-trixie",
"24-bookworm",
"24-bullseye",
"22-trixie",
"22-bookworm",
"22-bullseye",
"20-trixie",
"20-bookworm",
"18-bookworm",
"20-bullseye",
"18-bullseye"
"20-bullseye"
],
"default": "22-bookworm"
"default": "24-trixie"
}
},
"platforms": [
Expand Down
Loading