Skip to content

Commit c74ecad

Browse files
CopilotTechWatching
andcommitted
fix(tooling): revert corepack, pnpm is pre-installed in devcontainer image
The mcr.microsoft.com/devcontainers/typescript-node image ships pnpm via the Node.js devcontainer feature. No corepack setup is needed. Restore the original onCreateCommand to pnpm self-update and remove the corepack step from copilot-instructions.md bootstrap section. Co-authored-by: TechWatching <15186176+TechWatching@users.noreply.github.com>
1 parent d081092 commit c74ecad

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"onAutoForward": "openPreview"
1919
}
2020
},
21-
"onCreateCommand": "corepack enable && corepack install",
21+
"onCreateCommand": "pnpm self-update",
2222
"updateContentCommand": "pnpm install --config.confirmModulesPurge=false",
2323
"postAttachCommand": "pnpm dev",
2424

.github/copilot-instructions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ The `.npmrc` sets `shamefully-hoist=true`.
2222
### Bootstrap
2323

2424
```bash
25-
corepack enable # ensure pnpm is managed by corepack
2625
pnpm install # install all dependencies
2726
```
2827

0 commit comments

Comments
 (0)