

Infers and displays links to the package's source code repository. Groups packages by major, minor, patch, and major version zero updates. Specify one or more comma-delimited values. Modify the output formatting or show additional information. ncurc.įor the SemVer type definition, see: format Max number of concurrent HTTP requests to registry. (default: 10)įilepath for the cache file. Default -cacheFile is ~/.ncu-cache.json and default -cacheExpiration is 10 minutes.Ĭlear the default cache, or the cache file specified by -cacheFile.Ĭache expiration in minutes. cacheĬache versions to a local cache file. Options that take no arguments can be negated by prefixing them with -no-, e.g. Options are merged with the following precedence: "Less than" is replaced with a wildcard:.Range operators are preserved and the version is updated:.


Direct dependencies are updated to the latest stable version:.Ncu "/^(?!react-).*$/ " # windows How dependency updates are determined Ncu -f "chalk mocha react " # upgrade packages that do not start with "react-". Ncu "/^react-.*$/ " # upgrade everything except nodemon # upgrade packages that start with "react-"
