antfu-collective/ni
๐ก Use the right package manager
โจ ๐ Features
- Add `?` dry-run flag to `--help` output - by @rznn7 in https://github.com/antfu-collective/ni/issues/330 and https://github.com/antfu-collective/ni/issues/331 [<samp>(a3714)</samp>](https://github.com/antfu-collective/ni/commit/a3714a4)
- Add --agent flag to print detected package manager name - by @Luc0-0 in https://github.com/antfu-collective/ni/issues/329 [<samp>(b11f1)</samp>](https://github.com/antfu-collective/ni/commit/b11f14d)
- nr: Add noLastCommand config option - by @tomeelog, tomeelog and @antfu in https://github.com/antfu-collective/ni/issues/333 [<samp>(bb835)</samp>](https://github.com/antfu-collective/ni/commit/bb835f0)
๐ ๐ Bug Fixes
- Workspace flag parsing in nr command - by @buyuan-dev and @antfu in https://github.com/antfu-collective/ni/issues/325 [<samp>(6ec10)</samp>](https://github.com/antfu-collective/ni/commit/6ec10b4)
๐ฅ ๐จ Breaking Changes
- Require node >=20.19.0 - by @sxzz [<samp>(0d1e7)</samp>](https://github.com/antfu-collective/ni/commit/0d1e7a3)
โจ ๐ Features
- Replace `ansis` with `node:util` styleText - by @sxzz in https://github.com/antfu-collective/ni/issues/324 [<samp>(41b51)</samp>](https://github.com/antfu-collective/ni/commit/41b5187)
- Sort package.json dependencies alphabetically - by @antfu and Claude Haiku 4.5 in https://github.com/antfu-collective/ni/issues/327 [<samp>(23560)</samp>](https://github.com/antfu-collective/ni/commit/23560aa)
โจ ๐ Features
- Add pnpm catalog support - by @antfu in https://github.com/antfu-collective/ni/issues/323 [<samp>(2c35b)</samp>](https://github.com/antfu-collective/ni/commit/2c35b08)
- Switch to tsdown for build - by @antfu [<samp>(cab88)</samp>](https://github.com/antfu-collective/ni/commit/cab888a)
โจ ๐ Features
- Support --programmatic flag from CLI args - by @neil-ac in https://github.com/antfu-collective/ni/issues/321 [<samp>(6f2da)</samp>](https://github.com/antfu-collective/ni/commit/6f2da72)
โจ ๐ Features
- Add onBeforeCommand to run tasks before agent detection - by @sushichan044 in https://github.com/antfu-collective/ni/issues/318 [<samp>(20f58)</samp>](https://github.com/antfu-collective/ni/commit/20f58ed)
๐ ๐ Bug Fixes
- nr: Prevent agent prompt when using completion flags - by @sushichan044 in https://github.com/antfu-collective/ni/issues/320 [<samp>(429cf)</samp>](https://github.com/antfu-collective/ni/commit/429cf62)
๐ ๐ Bug Fixes
- nr: Correct node --run command structure - by @GoodbyeNJN in https://github.com/antfu-collective/ni/issues/317 [<samp>(81b19)</samp>](https://github.com/antfu-collective/ni/commit/81b1976)
โจ ๐ Features
- nr: Add Fish shell completion support - by @sotayamashita and Anthony Fu in https://github.com/antfu-collective/ni/issues/314 [<samp>(7718a)</samp>](https://github.com/antfu-collective/ni/commit/7718af4)
- nun: Make `nun` multi-select by default - by @Wxh16144 in https://github.com/antfu-collective/ni/issues/312 [<samp>(63781)</samp>](https://github.com/antfu-collective/ni/commit/6378127)
๐ ๐ Bug Fixes
- nr: Handle ESC key cancellation in interactive mode - by @miyaoka in https://github.com/antfu-collective/ni/issues/307 [<samp>(7ad79)</samp>](https://github.com/antfu-collective/ni/commit/7ad799e)
๐ ๐ Bug Fixes
- Handle ctrl+c in interactive install + tests - by @tylersayshi in https://github.com/antfu-collective/ni/issues/305 [<samp>(9ffd8)</samp>](https://github.com/antfu-collective/ni/commit/9ffd871)
โจ ๐ Features
- New command `nd` - by @9romise in https://github.com/antfu-collective/ni/issues/302 [<samp>(3fd8a)</samp>](https://github.com/antfu-collective/ni/commit/3fd8a0d)
- nr: Add support for Node.js --run flag - by @rznn7 in https://github.com/antfu-collective/ni/issues/300 [<samp>(3e894)</samp>](https://github.com/antfu-collective/ni/commit/3e89471)
โจ ๐ Features
- Add sfw integration - by @rznn7 in https://github.com/antfu-collective/ni/issues/297 [<samp>(2f7dc)</samp>](https://github.com/antfu-collective/ni/commit/2f7dcb2)
- bun: Support new interactive upgrade command - by @colinlienard in https://github.com/antfu-collective/ni/issues/301 [<samp>(49e8c)</samp>](https://github.com/antfu-collective/ni/commit/49e8c79)
๐ ๐ Bug Fixes
- runner: Wait for child process before exit on `SIGINT` - by @liangmiQwQ in https://github.com/antfu-collective/ni/issues/294 [<samp>(181e1)</samp>](https://github.com/antfu-collective/ni/commit/181e1b7)
*No significant changes* ##### [View changes on GitHub](https://github.com/antfu-collective/ni/compare/v26.0.0...v26.0.1)
๐ฅ ๐จ Breaking Changes
- Requires Node 20+, use OIDC - by @antfu [<samp>(212c2)</samp>](https://github.com/antfu-collective/ni/commit/212c28b)
โจ ๐ Features
- Support zsh completion - by @luoling8192 in https://github.com/antfu-collective/ni/issues/285 [<samp>(82611)</samp>](https://github.com/antfu-collective/ni/commit/82611c4)
- Add comprehensive Deno test support - by @pyyupsk in https://github.com/antfu-collective/ni/issues/283 [<samp>(d2b3f)</samp>](https://github.com/antfu-collective/ni/commit/d2b3f4c)
- nr: Support -p flag to filter monorepo package in completion - by @jinghaihan and @antfu in https://github.com/antfu-collective/ni/issues/290 [<samp>(3d097)</samp>](https://github.com/antfu-collective/ni/commit/3d09748)
๐ ๐ Bug Fixes
- De-duplicate last run command - by @Wxh16144 in https://github.com/antfu-collective/ni/issues/281 [<samp>(ef210)</samp>](https://github.com/antfu-collective/ni/commit/ef21075)
๐ฅ ๐จ Breaking Changes
- Rename `nu` command to `nup` - by @KaBankz in https://github.com/antfu-collective/ni/issues/278 [<samp>(61043)</samp>](https://github.com/antfu-collective/ni/commit/6104332)
โจ ๐ Features
- Detect pnpm-workspace.yaml - by @ianzone in https://github.com/antfu-collective/ni/issues/276 [<samp>(6f283)</samp>](https://github.com/antfu-collective/ni/commit/6f283cb)
- Allow auto-install via env - by @albertodeago in https://github.com/antfu-collective/ni/issues/277 [<samp>(05139)</samp>](https://github.com/antfu-collective/ni/commit/05139bf)
๐ฅ ๐จ Breaking Changes
- Improve debug logging format for command execution - by @template-pro in https://github.com/antfu-collective/ni/issues/269 [<samp>(401f4)</samp>](https://github.com/antfu-collective/ni/commit/401f402)
๐ ๐ Bug Fixes
- Add warning for empty scripts - by @template-pro in https://github.com/antfu-collective/ni/issues/265 [<samp>(cb599)</samp>](https://github.com/antfu-collective/ni/commit/cb59993)
โจ ๐ Features
- Expose command entries - by @antfu [<samp>(e81fe)</samp>](https://github.com/antfu-collective/ni/commit/e81feb4)
*No significant changes* ##### [View changes on GitHub](https://github.com/antfu-collective/ni/compare/v24.0.0...v24.1.0)
๐ฅ ๐จ Breaking Changes
- Drop CJS, now it's ESM-only - by @antfu [<samp>(b832b)</samp>](https://github.com/antfu-collective/ni/commit/b832b70)
โจ ๐ Features
- Replace picocolors with ansis - by @webdiscus in https://github.com/antfu-collective/ni/issues/259 [<samp>(a948b)</samp>](https://github.com/antfu-collective/ni/commit/a948b8b)
โจ ๐ Features
- Support frozen production install - by @BorePlusPlus and @antfu in https://github.com/antfu-collective/ni/issues/255 [<samp>(e19af)</samp>](https://github.com/antfu-collective/ni/commit/e19af36)
โจ ๐ Features
- Add support for production install - by @BorePlusPlus in https://github.com/antfu-collective/ni/issues/251 [<samp>(76d35)</samp>](https://github.com/antfu-collective/ni/commit/76d3540)
- Add bash completion - by @sevenc-nanashi and @antfu in https://github.com/antfu-collective/ni/issues/241 [<samp>(54d8d)</samp>](https://github.com/antfu-collective/ni/commit/54d8dfb)
*No significant changes* ##### [View changes on GitHub](https://github.com/antfu-collective/ni/compare/v0.23.2...v23.2.0)
*No significant changes* ##### [View changes on GitHub](https://github.com/antfu-collective/ni/compare/v0.23.1...v0.23.2)
โจ ๐ Features
- nr: Add sorting configuration option to Fzf - by @levelio in https://github.com/antfu-collective/ni/issues/239 [<samp>(2c544)</samp>](https://github.com/antfu-collective/ni/commit/2c544a6)
๐ ๐ Bug Fixes
- Nr command lastRunCommand not work - by @levelio in https://github.com/antfu-collective/ni/issues/238 [<samp>(acb0f)</samp>](https://github.com/antfu-collective/ni/commit/acb0f7a)
๐ฅ ๐จ Breaking Changes
- `parseNi` etc. now return `ResolvedCommand` object instead of string, migrate to `tinyexec` - by @userquin, Ben McCann and @antfu in https://github.com/antfu-collective/ni/issues/231 [<samp>(3d323)</samp>](https://github.com/antfu-collective/ni/commit/3d32313)
๐ ๐ Bug Fixes
- Revert to v0.22.1 - by @antfu [<samp>(69f95)</samp>](https://github.com/antfu-collective/ni/commit/69f959f)
๐ ๐ Bug Fixes
- Move back to `@jsdevtools/ez-spawn`, fix #224 - by @antfu in https://github.com/antfu-collective/ni/issues/224 [<samp>(af1b1)</samp>](https://github.com/antfu-collective/ni/commit/af1b1be)
*No significant changes* ##### [View changes on GitHub](https://github.com/antfu-collective/ni/compare/v0.22.1...v0.22.2)
โจ ๐ Features
- Support environment variables for ni config - by @ghostdevv and @antfu in https://github.com/antfu-collective/ni/issues/216 [<samp>(c408e)</samp>](https://github.com/antfu-collective/ni/commit/c408ee6)
๐ ๐ Bug Fixes
- `bun x` instead of `bunx` - by @MAttila42 in https://github.com/antfu-collective/ni/issues/219 [<samp>(13282)</samp>](https://github.com/antfu-collective/ni/commit/1328295)
โจ ๐ Features
- Interactive package management - by @gearonix and @antfu in https://github.com/antfu-collective/ni/issues/202 [<samp>(7787a)</samp>](https://github.com/antfu-collective/ni/commit/7787a59)
๐ ๐ Bug Fixes
- Packager detect tests are not running - by @zhyupe in https://github.com/antfu-collective/ni/issues/199 [<samp>(9fb5b)</samp>](https://github.com/antfu-collective/ni/commit/9fb5b2d)
- bun: Incorrect bun frozen-lockfile command - by @mrsekut in https://github.com/antfu-collective/ni/issues/214 [<samp>(e0816)</samp>](https://github.com/antfu-collective/ni/commit/e0816f8)
