Skip to content

Commit 1863c44

Browse files
Show installed software versions when devcontainer created
1 parent 90cab85 commit 1863c44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"mounts": [
77
// Mount the SSH key for the local machine to make git fetch/push work in the container
88
"source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,type=bind,consistency=cached,readonly"
9-
]
9+
],
10+
"postCreateCommand": "echo \"node: $(node --version)\" && echo \"npm: $(npm --version)\" && echo \"pnpm: $(pnpm --version)\""
1011
}

0 commit comments

Comments
 (0)