bumpkg
v0.0.4
Published
`bumpkg` is a TypeScript-based CLI tool for upgrading project dependencies. It scans dependency declarations, checks for available updates, and writes the new version ranges back to manifest files after confirmation.
Maintainers
Readme
bumpkg
Project Overview
bumpkg is a TypeScript-based CLI tool for upgrading project dependencies. It scans dependency declarations, checks for available updates, and writes the new version ranges back to manifest files after confirmation.
Core capabilities:
- Supports
dependencies,devDependencies, andoptionalDependencies - Works with both single-package projects and monorepos
- Supports
package.json,package.yaml, andpackage.yml - Supports
npm,pnpm,yarn, andbunproject environments - Supports catalog-based dependency configuration
- Includes only
minorandpatchupdates by default, and enablesmajorupgrades with--major - Cleans up common lock files after updates so dependencies can be reinstalled cleanly
How to Use
Run the CLI in the current project:
npx bumpkgInclude major version upgrades:
npx bumpkg --majorYou can also specify a target working directory:
npx bumpkg --cwd ./packages/appTypical workflow:
- Resolve the current project or workspace configuration
- Collect supported dependency declarations
- Display the list of available updates
- Write updated version ranges back after confirmation
- Remove common lock files such as
package-lock.json,pnpm-lock.yaml,yarn.lock,bun.lock, andbun.lockb
License and Author
This project is released under the MIT License.
Author: lonewolfyx
