v0.1.14
Fixes
- Next.js / Turbopack with Tailwind v4 build crash. On the fast tier (Node 22.15+), nub's sync resolve hook now recovers when a user async loader is active and Node routes a sync resolution into the async-hooks
resolveSync()/loadSync()stub (which throwsERR_METHOD_NOT_IMPLEMENTED). This unblocksnub run buildin real Next.js apps using@tailwindcss/node+ Turbopack, which previously aborted evaluatingglobals.cssand triggered an esbuild deadlock. The recovery branch fires only for the impossible sync-into-async hop; the user's async loader still runs for everything else. (#98) - npm save-prefix mirroring on
add. When the incumbent package manager is npm,nub add <pkg>writes the saved specifier with npm's default save-prefix applied (^1.2.3), matching realnpm install..npmrc save-prefix/save-exactare honored. pnpm/bun/nub-identity projects keep literal-preserve, and an explicit range is preserved verbatim on every PM. (#97)
What's Changed
- ci: enforce commit-message hygiene by @colinhacks in #93
- feat(add): mirror npm save-prefix for bare-version add under npm incumbent by @colinhacks in #97
- fix(runtime): recover from async-loader resolveSync stub on the fast tier (Turbopack/Tailwind crash) by @colinhacks in #98
Full Changelog: v0.1.13...v0.1.14