v0.1.1
A patch release with package-manager, runtime, and documentation improvements since the v0.1.0 launch.
npm install -g @nubjs/nubPackage manager
Fresh-project identity
- A truly-fresh project (no lockfile, no
packageManager/devEnginesdeclaration, and no pnpm-named file anywhere in the tree) now adopts nub's neutrallock.yamlas its identity marker on its first install. nub does not modify yourpackage.json— nopackageManagerordevEnginesfield is written — so the project stays compatible with other package managers. A project with any existing signal (a lockfile, apackageManagerfield, or a pnpm-named file) is respected untouched and keeps its existing format. - To explicitly pin nub as the project's package manager (writing
packageManageranddevEngines), runnub pm use nub.
Unsupported-configuration handling
- Installs now detect configuration nub cannot honor. Genuinely unsupported settings (npm
legacy-peer-deps,install-strategy=nested, yarnsupportedArchitectures) abort with a clearERR_NUB_UNSUPPORTED_CONFIGerror and a remedy; softer cases emit a dimmed warning and continue. - The fatal scan is scoped to the project's own configuration. A personal setting in your global
~/.npmrc(such aslegacy-peer-deps=true) no longer wrongly aborts installs in unrelated projects. - Additional incumbent configuration is now honored directly, including the dependency axis from npm
omit/includeand bunproduction, frozen-install settings from bun and yarn, yarnenableScripts:false, and bunminimumReleaseAge.
Offline installs
- Yarn's network configuration is now respected:
enableNetwork:false(and Berry's--offline) put installs into offline mode, serving cached packages only and erroring on a cache miss. - When offline mode is active but a configured offline-mirror cannot be honored, the install now fails loudly with an explicit error and remedy rather than silently falling back.
nubx
nubxnow has its own command grammar with npx flag parity:-p/--packageto fetch and run a named bin,--no-installto refuse fetching a missing tool (exit 127),-q/--quietfor text-mode output, and-y/--yes. All existing workspace fan-out flags are preserved.
Fixes
- The curated default-trust floor is restored, so trusted package builds run as expected.
- Approve-builds now works correctly under npm, bun, and yarn incumbents.
- The vendored install engine now records
patchedDependenciesin the lockfile.
Documentation
- Added benchmark charts to the script runner, install, and package runner pages.
- Restructured the FAQ into lists, tables, callouts, and code blocks.
- Grouped the
nub pmsubcommands under a single CLI heading.
Full changelog: v0.1.0...v0.1.1