Custom Dev Container Features maintained by ITplusX.
| Feature | Description |
|---|---|
mount-pnpm-store |
Sets the pnpm store to ~/.pnpm-store and mounts it to a shared volume. Patched copy of joshuanianji/devcontainer-features that works with pnpm >= 9 in non-interactive lifecycle shells. |
"features": {
"ghcr.io/itplusx/devcontainer-features/mount-pnpm-store:1": {}
}Based on the official devcontainers/feature-starter template:
src/<feature-id>/— one directory per feature (devcontainer-feature.json+ install scripts)test/<feature-id>/— tests, run withdevcontainer features test -f <feature-id> ..github/workflows/release.yaml— publishes all features toghcr.io/itplusx/devcontainer-features/<feature-id>(manualworkflow_dispatch)
- Bump
versionin the feature'sdevcontainer-feature.json - Merge to
main - Run the Release dev container features workflow (Actions tab)
- First publish only: set the GHCR package visibility to public
npm install -g @devcontainers/cli
devcontainer features test -f mount-pnpm-store --skip-autogenerated .MIT — see LICENSE. The mount-pnpm-store feature contains code Copyright (c) 2023 Joshua Ji (MIT).