카테고리 없음
npm 패키지 개별/전부 업데이트 하는 방법 (feat.ncu)
YG - 96년생 , 강아지 있음, 개발자 희망
2023. 12. 1. 19:37
패키지 설치
npm i -g npm-check-updates를 권장합니다. npx로 설치했을 때 ncu를 터미널에 입력해도 아무런 반응이 없더라고요!
npm install -g npm-check-updates
또는
npx npm-check-updates
npm-check-updates
Find newer versions of dependencies than what your package.json allows. Latest version: 16.14.11, last published: 12 days ago. Start using npm-check-updates in your project by running `npm i npm-check-updates`. There are 532 other projects in the npm regis
www.npmjs.com
전체 패키지 업데이트 방법
ncu -u
글로벌 패키지 업데이트 방법 (EX: corepack, npm)
ncu -g
일부 업데이트 방법
ncu --interactive
// 또는
ncu -i