Skip to content

Commit 2eecaff

Browse files
committed
removing automatic 'npm ci' from devcontainer.
1 parent 3b0ab87 commit 2eecaff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"ghcr.io/devcontainers/features/azure-cli:1": {
77
"installBicep": true
88
},
9-
"ghcr.io/devcontainers/features/powershell:1": {}
9+
"ghcr.io/devcontainers/features/powershell:2.0.2": {}
1010
},
11-
"postCreateCommand": "npm ci --ignore-scripts",
1211
"remoteEnv": {
1312
"PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/node_modules/.bin"
1413
},
14+
"postAttachCommand": "bash -lc 'if [ -f package-lock.json ] && [ ! -d node_modules ]; then echo \"[apiops-cli] Reminder: run 'npm ci' before building or testing.\"; fi'",
1515
"customizations": {
1616
"vscode": {
1717
"settings": {

0 commit comments

Comments
 (0)