Skip to content

v0.7.4

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Aug 17:40
· 5 commits to main since this release

Nub 0.7.4 adds guided config setup and makes missing-package errors authoritative during installs.

Configuration

nub config init creates a commented, behavior-neutral nub.jsonc at the project root. nub config init --global creates the user config instead, and both forms refuse to replace an existing file.

The config command now uses project scope by default, --global for user scope, and nub global config as the prefix form. The former --location option has been removed. Protected npm credentials continue to default to the user .npmrc; --local selects a project credential explicitly. (#694)

Package installation

Missing registry packages now fail with ERR_NUB_PACKAGE_NOT_FOUND before similarity or package-age warnings run. Public unscoped typos can include a non-interactive suggestion; scoped package names no longer suggest unrelated basenames from another namespace. (#693)

Documentation and site

Area What changed Commit
Release archive Added the Nub 0.7.3 release post 5b690fb
Blog structure Reorganized the Nub 0.7.0 post and extracted the reusable Nub introduction 9888c8a
Table of contents Kept identifiers together when sidebar entries wrap a825d75
Config copy Tightened the config docs and Nub introduction 55b6294

What's Changed

  • fix(add): report missing packages before reputation warnings by @colinhacks in #693
  • config: add init and global scope grammar by @colinhacks in #694

Full Changelog: v0.7.3...v0.7.4