Added new option: --interactiveSelect
Usage:
ncu -i --interactiveSelect [value]Default: auto
Control which upgrades are pre-selected in interactive mode. Only applies with --interactive.
| auto | Pre-selects patch and minor upgrades with --format group, which is enabled by default, and all upgrades otherwise. This is what ncu -i does. (default)
|
| none | Nothing is pre-selected. |
| patch | Patch upgrades are pre-selected. |
| minor | Patch and minor upgrades are pre-selected. |
| all | All upgrades are pre-selected, including major. |
Specify auto explicitly to restore the default when another value is set in your config file.
Major version zero upgrades (e.g. 0.1.0 → 0.2.0) are only pre-selected by all, since anything may change before 1.0.0. Custom groups returned by --groupFunction are likewise only pre-selected by all.
Other Changes
- LICENSE: use clean GPL-2.0 by @XhmikosR in #1979
- Strip terminal escape sequences from package and registry text by @XhmikosR in #1994
- Select the pnpm global config by the installed major version by @XhmikosR in #1995
- Do not let rejectOnError:false swallow spawn errors by @XhmikosR in #1997
- Warn when peer dependency lookups fail instead of silently disabling
--peerby @XhmikosR in #1984 - Test getModuleMismatchError directly instead of through a real config load by @XhmikosR in #1998
- Further e2e.sh improvements by @XhmikosR in #1993
- Update dependencies by @XhmikosR in #1992
- Wrap option default values in code tags by @XhmikosR in #2001
- Always run the deep test CLI from build by @XhmikosR in #2000
- Reject invalid values in array options by @XhmikosR in #2002
- doctor: pass color through to the package manager spawn by @XhmikosR in #2003
- Fix operator precedence in the invalid filter message by @XhmikosR in #2004
- Replace the github url version tag only in the fragment by @XhmikosR in #2005
- Clean up misleading names and dead code in npm, logging and filterAndReject by @XhmikosR in #2006
- Fix pnpm global and prefix args being spread into single characters by @XhmikosR in #2007
- Apply boolean false from the rc config as --no- by @XhmikosR in #2008
- Restrict yaml catalog upgrades to catalog paths by @XhmikosR in #2009
- Only log the merged yarn config when it is not empty by @XhmikosR in #2010
- Fix --no-color being ignored by @XhmikosR in #2013
- Run getOwnerPerDependency at --concurrency by @XhmikosR in #2017
- Fix crash when a dist-tag points to a version missing from the packument by @XhmikosR in #2011
- Fix two rc-config tests that asserted nothing by @XhmikosR in #2020
- Restore
CHANGELOG.mdand automate release-driven changelog sync by @raineorshine with @Copilot in #2014 - Add min-release-age=7 to .npmrc by @XhmikosR in #2025
- Remove the temp working directory created by the build-changelog tests by @XhmikosR in #2024
- Update dependencies by @XhmikosR in #2023
- feat(pnpm): read registries from pnpm-workspace.yaml by @smarlhens in #1973
- feat: add --interactiveSelect to control pre-selected upgrades by @raineorshine in #2029
New Contributors
- @smarlhens made their first contribution in #1973
Full Changelog: v23.0.2...v23.1.0