Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITplusX Dev Container Features

Custom Dev Container Features maintained by ITplusX.

Features

Feature Description
shared-pnpm-store Mounts a shared Docker volume as the pnpm store directory via containerEnv. Never invokes pnpm.

The former mount-pnpm-store feature has been removed. Use shared-pnpm-store instead.

Usage

"features": {
    "ghcr.io/itplusx/devcontainer-features/shared-pnpm-store:1": {}
}

Repo structure

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 with devcontainer features test -f <feature-id> .
  • .github/workflows/release.yaml — publishes all features to ghcr.io/itplusx/devcontainer-features/<feature-id> (manual workflow_dispatch)

Publishing

  1. Bump version in the feature's devcontainer-feature.json
  2. Merge to main
  3. Run the Release dev container features workflow (Actions tab)
  4. First publish only: set the GHCR package visibility to public

Testing locally

npm install -g @devcontainers/cli
devcontainer features test -f shared-pnpm-store --skip-autogenerated .

Acknowledgements

The initial implementation of shared-pnpm-store was developed locally by @schloram. Thanks! 🙌

License

MIT — see LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages