Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ devcontainer features test .
| `typescript-dev` | 1.0.5 | TS/JS dev, import management (dependsOn essential-dev) |
| `angular-dev` | 1.0.6 | Angular dev, port 4200 |
| `vite-plus` | 1.0.3 | vp CLI, Oxlint/Oxfmt, Vitest |
| `package-auto-install` | 1.0.8 | Auto-detect and install packages (npm/yarn/pnpm/nub) |
| `package-auto-install` | 1.0.9 | Auto-detect and install packages (npm/yarn/pnpm/nub) |
| `playwright-dev` | 1.0.1 | Playwright OS deps (Chromium/Firefox/WebKit) + shared browser-binary volume + VS Code extension |
| `pnpm-store` | 1.0.4 | Shared pnpm store via Docker named volume (dependsOn helpers4-common) |
| `auto-header` | — | LGPL-3.0 license headers |
Expand Down
1 change: 1 addition & 0 deletions src/package-auto-install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ You can manually run the installation script:

## Version History

- **v1.0.9**: Added `nub` to `installsAfter`, now that the `nub` feature is published — couldn't be added in the same release as `nub` itself, since `installsAfter` has to resolve from the registry and `nub` didn't exist there yet. Doesn't change behavior (package-auto-install only calls `nub` via `postCreateCommand`, which already runs after every feature's `install.sh` completes), just documents the relationship for anyone reading the manifest.
- **v1.0.8**: Added `nub` as a `packageManager` value — runs `nub install` (requires the `nub` feature too, with its default `installGlobally: true`; nub only understands npm/pnpm/bun lockfiles, not yarn.lock). `auto` detection now validates the `package.json` `packageManager` field against npm/pnpm/yarn before trusting it, so an unrelated value (including `nub`, which doesn't use that field's convention) can't make `auto` resolve somewhere unexpected. `command: ci` is ignored when the resolved package manager is `nub`, since nub has no `ci` subcommand — it always runs `nub install`.
- **v1.0.2**: Added `autoDiscover` (scan VS Code/Cursor `.code-workspace` and IntelliJ `.idea/modules.xml`) and `directories` (explicit comma-separated list) options for multi-root workspace support. Each folder runs package manager detection independently.
- **v1.0.1**: Added corepack support for Node 24+ (`packageManager` field in package.json).
Expand Down
5 changes: 3 additions & 2 deletions src/package-auto-install/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "package-auto-install",
"version": "1.0.8",
"version": "1.0.9",
"name": "Automatic Package Installation",
"description": "Automatically detects and runs npm/yarn/pnpm/nub install in non-interactive mode after container creation.",
"documentationURL": "https://github.com/helpers4/devcontainer/tree/main/src/package-auto-install",
Expand Down Expand Up @@ -64,6 +64,7 @@
"ghcr.io/devcontainers/features/node",
"ghcr.io/helpers4/devcontainer/angular-dev",
"ghcr.io/helpers4/devcontainer/vite-plus",
"ghcr.io/helpers4/devcontainer/dotfiles-sync"
"ghcr.io/helpers4/devcontainer/dotfiles-sync",
"ghcr.io/helpers4/devcontainer/nub"
]
}
Loading