From 560ec3972f555814240bae9072bef49f21b5f542 Mon Sep 17 00:00:00 2001 From: Clumsy-Coder <19594044+Clumsy-Coder@users.noreply.github.com> Date: Wed, 23 Aug 2023 15:27:16 -0600 Subject: [PATCH] ncu: add page (#10617) add page for `npm-check-updates`. --------- Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/ncu.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/ncu.md diff --git a/pages/common/ncu.md b/pages/common/ncu.md new file mode 100644 index 000000000..2a54d800f --- /dev/null +++ b/pages/common/ncu.md @@ -0,0 +1,25 @@ +# ncu + +> Find newer versions of package dependencies and check outdated npm packages locally or globally. +> `ncu` only updates dependency versions in `package.json`. To install the new versions, run `npm install` afterwards. +> More information: . + +- List outdated dependencies in the current directory: + +`ncu` + +- List outdated global npm packages: + +`ncu -g` + +- Upgrade all dependencies in the current directory: + +`ncu -u` + +- Interactively upgrade dependencies in the current directory: + +`ncu -i` + +- Display help: + +`ncu -h`