feat(tool): add nub package manager#7054
Open
colinhacks wants to merge 2 commits into
Open
Conversation
Add nub (https://nubjs.com) as an npm-distributed tool. Installs @nubjs/nub via the shared NpmBaseInstallService; the tool name (nub) differs from the npm package (@nubjs/nub), so tool() is overridden like YarnInstallService does for berry.
4 tasks
viceice
reviewed
Jul 10, 2026
viceice
left a comment
Member
There was a problem hiding this comment.
please link al relevant renovate discussion / issue / pr
Comment on lines
+35
to
+37
| override async test(): Promise<void> { | ||
| await this._spawn(this.name, ['--version']); | ||
| } |
Member
There was a problem hiding this comment.
I think this is not needed and should work out of the box
The base NpmBaseInstallService.test() already strips the package scope (@nubjs/nub -> nub) before spawning --version, so the override was identical to the inherited behavior.
Author
|
Removed the Linked the companion Renovate manager PR (renovatebot/renovate#44422) in the description — it's the only related Renovate change, no separate issue or discussion. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
nubtool.Nub is a Node package manager published as
@nubjs/nubon npm. This lets Containerbase provision it the same way it provisions the other Node package managers, so a runtime using the defaultbinarySource=installcan install nub to run lockfile updates.Implementation
NubInstallServiceextendsNpmBaseInstallServiceand overridestool()to return@nubjs/nub— the tool name (nub) differs from the npm package, the same shape asYarnInstallServicereturning@yarnpkg/cli-distfor Yarn berry. It installs vianpm install @nubjs/nub@<version>and is added toNoPrepareTools.Scripts run on install (no
--ignore-scripts):@nubjs/nub'spostinstallselects and places the per-platform binary from its@nubjs/nub-<platform>optional dependencies (glibc and musl variants for linux-x64 and linux-arm64), so the tool is usable after install.Context
Related: renovatebot/renovate#44422 — the companion Renovate manager PR (
nubpackage-manager manager) that depends on this tool for its defaultbinarySource=installruntime.AI assistance disclosure
This change was written with substantive assistance from an AI coding agent (Claude).