-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
50 lines (50 loc) · 1.72 KB
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "TerraApprove",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"onCreateCommand": {
"install-dependencies": "/bin/bash ./.devcontainer/install_dependencies.sh || echo 'Failing to install dependencies'",
"install-yarn": "/bin/bash ./.devcontainer/install_yarn.sh || echo 'Script install_yarn failed'",
"configure-jekyll": "/bin/bash ./.devcontainer/configure_jekyll.sh || echo 'Jekyll configuration failed'"
},
"features": {
// Add docker in docker support
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"moby": true,
"dockerDashComposeVersion": "v2"
},
// Add node support
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "18"
},
"ghcr.io/devcontainers/features/terraform:1": {}
},
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"github.copilot",
"hashicorp.terraform",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"orta.vscode-jest",
"yoavbls.pretty-ts-errors",
"github.vscode-github-actions",
"donjayamanne.githistory",
"pomdtr.excalidraw-editor",
"42crunch.vscode-openapi",
"prisma.prisma",
"postman.postman-for-vscode"
],
"settings": {
"editor.formatOnSave": true,
"typescript.suggest.enabled": true,
"typescript.inlayHints.parameterNames.enabled": "all",
"typescript.inlayHints.variableTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true
}
}
}
}