Skip to content

fix: allow aube install scripts with npm 12 - #147

Merged
lukekarrys merged 2 commits into
vltpkg:mainfrom
jdx:agent/fix-aube-npm12-install
Aug 19, 2026
Merged

fix: allow aube install scripts with npm 12#147
lukekarrys merged 2 commits into
vltpkg:mainfrom
jdx:agent/fix-aube-npm12-install

Conversation

@jdx

@jdx jdx commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • allowlist @endevco/aube when the benchmark setup installs it with npm 12
  • restore Aube to the benchmark matrix without downgrading the bootstrap package manager

Root cause

npm 12 blocks dependency lifecycle scripts by default. @endevco/aube uses a preinstall script to select and install its platform-specific native binary, so the existing plain global install completed without creating an aube executable and the benchmark harness excluded it.

Aube 1.41.0 now supports npm 12's allowlist propagation correctly. Explicitly allowing only @endevco/aube lets its required installer run while retaining npm 12's default-deny policy for other packages.

@darcyclarke could you take a look?

Validation

  • bash -n scripts/setup.sh
  • shellcheck scripts/setup.sh
  • installed @endevco/aube@latest into an isolated prefix with npm 12.0.2 and --allow-scripts=@endevco/aube
  • verified the installed binary reports Aube 1.41.0

AI-assisted — Tool: Codex; model: unavailable; version: unavailable.

@jdx
jdx marked this pull request as draft August 15, 2026 14:01
@jdx

jdx commented Aug 15, 2026

Copy link
Copy Markdown
Contributor Author

going to fix aube so it actually works under npm 12 instead

@jdx jdx changed the title fix: bootstrap aube with npm 11 fix: allow aube install scripts with npm 12 Aug 16, 2026
@jdx
jdx marked this pull request as ready for review August 16, 2026 20:54
@lukekarrys
lukekarrys merged commit 5344c34 into vltpkg:main Aug 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants