Skip to content

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 18 Jun 01:23

A patch release with package-manager, runtime, and documentation improvements since the v0.1.0 launch.

npm install -g @nubjs/nub

Package manager

Fresh-project identity

  • A truly-fresh project (no lockfile, no packageManager/devEngines declaration, and no pnpm-named file anywhere in the tree) now adopts nub's neutral lock.yaml as its identity marker on its first install. nub does not modify your package.json — no packageManager or devEngines field is written — so the project stays compatible with other package managers. A project with any existing signal (a lockfile, a packageManager field, or a pnpm-named file) is respected untouched and keeps its existing format.
  • To explicitly pin nub as the project's package manager (writing packageManager and devEngines), run nub pm use nub.

Unsupported-configuration handling

  • Installs now detect configuration nub cannot honor. Genuinely unsupported settings (npm legacy-peer-deps, install-strategy=nested, yarn supportedArchitectures) abort with a clear ERR_NUB_UNSUPPORTED_CONFIG error 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 as legacy-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/include and bun production, frozen-install settings from bun and yarn, yarn enableScripts:false, and bun minimumReleaseAge.

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

  • nubx now has its own command grammar with npx flag parity: -p/--package to fetch and run a named bin, --no-install to refuse fetching a missing tool (exit 127), -q/--quiet for 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 patchedDependencies in 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 pm subcommands under a single CLI heading.

Full changelog: v0.1.0...v0.1.1