automatically update dependencies of your NodeJS application
npx depu [--major|minor|patch] [--prefix="@myNamespace"]
depu will
- cleanup node_modules to ensure dependencies are matching package.json (
npm prune
) - look for outdated packages (
npm outdated
) - look for available versions (
npm view myPackage version
) - install newer packages with
npm install myPackage@1.2.3
which also updates the package.json - commit the updated package.json and package-lock.json (
git commit -m "updated dependencies
)
MIT