Files
tsgo/.devcontainer/devcontainer.json
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2ac64dd3d3 Bump ghcr.io/devcontainers/features/node from 1.7.1 to 2.0.0 (#3696)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-04 10:53:49 +00:00

43 lines
1.7 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "TypeScript Compiler Development",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:dev-1.26-bookworm",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/node:2": {
"version": "lts",
"pnpmVersion": "latest",
"nvmVersion": "latest"
},
"ghcr.io/devcontainers-extra/features/dprint-asdf:2": {
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": {
"Configure Node.js Build Tools": "npm install -g hereby; npm ci",
"Initialize Submodules": "git submodule update --init --recursive; cd _submodules/TypeScript; npm ci",
"Install pprof": "go install github.com/google/pprof@latest",
"Install Graphviz": "sudo apt update -y; sudo apt install -y graphviz"
},
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"dprint.dprint",
"golang.go"
]
}
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}