Skip to content

Commit 428a67f

Browse files
Add 'devcontainer.json'. (microsoft#4)
1 parent 20cff97 commit 428a67f

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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/universal
3+
{
4+
"name": "TypeScript Compiler Development",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
"postCreateCommand": {
16+
"Configure Node.js Build Tools": "sudo corepack enable npm; sudo npm install -g hereby; npm ci",
17+
"Initialize Submodules": "git submodule update --init --recursive; cd _submodules/TypeScript; npm ci",
18+
"Install pprof": "go install github.com/google/pprof@latest",
19+
"Install Graphviz": "sudo apt update; sudo apt install graphviz"
20+
},
21+
22+
// Configure tool-specific properties.
23+
"customizations": {
24+
"vscode": {
25+
"extensions": [
26+
"dprint.dprint",
27+
"golang.go"
28+
]
29+
}
30+
}
31+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
32+
// "remoteUser": "root"
33+
}

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: 'devcontainers'
10+
directory: '/'
11+
schedule:
12+
interval: weekly

0 commit comments

Comments
 (0)