Skip to content

Commit 2de2168

Browse files
Chore: cleanup devcontainer
1 parent 6ee772f commit 2de2168

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"upgradePackages": "true"
8888
},
8989
"ghcr.io/devcontainers/features/git:1": {},
90+
"ghcr.io/devcontainers/features/node:1": {},
9091
"ghcr.io/devcontainers/features/github-cli:1": {
9192
"installDirectlyFromGitHubRelease": true,
9293
"version": "latest"

devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"service": "app",
55
"workspaceFolder": "/workspace",
66
"postCreateCommand": "bash .devcontainer/scripts/post-create.sh",
7-
"onCreateCommand": "bash .devcontainer/scripts/setup-dotnet-dev-cert.sh",
7+
// "onCreateCommand": "bash .devcontainer/scripts/setup-dotnet-dev-cert.sh",
88
"postAttachCommand": "bash -i .devcontainer/scripts/post-attach.sh",
99
"customizations": {
1010
"vscode": {
@@ -38,7 +38,6 @@
3838
// },
3939
// "ghcr.io/devcontainers/features/aws-cli:1": {},
4040
// "ghcr.io/devcontainers/features/azure-cli:1": {},
41-
"ghcr.io/devcontainers/features/node:1": {}
4241
// "ghcr.io/devcontainers/features/python:1": {
4342
// "version": "3.12"
4443
// }

scripts/post-create.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env zsh
22
set -xe
3-
. ${NVM_DIR}/nvm.sh && nvm install --lts --latest-npm --default --save
3+
. ${NVM_DIR}/nvm.sh
4+
nvm install --lts --latest-npm --default --save
45
npm install -g typescript prettier prettier aws-cdk

0 commit comments

Comments
 (0)