A simple tool for updating your project dependencies to their latest versions. Bumr automatically scans your package.json and updates dependencies to their latest compatible versions, then installs them using your preferred package manager.
- Updates dependencies to latest compatible versions
- Supports dependencies, devDependencies, and peerDependencies
- Dry-run mode to preview changes before applying
- Automatic installation after updates
- Compatible with npm, yarn, and bun
- Preserves version ranges (keeps ^, ~, >=, etc)
bun add -g github:wxn0brp/bumror ingr via dotfiles:
ingr bumrSimply run bumr in your project directory to update all dependencies:
bumr# Update only production dependencies
bumr -r
# or
bumr --required
# Update only dev dependencies
bumr -d
# or
bumr --dev
# Update only peer dependencies
bumr -p
# or
bumr --peer
# Dry run to see what would be updated without making changes
bumr -n
# or
bumr --dry-run
# Use a specific package manager (default: bun i)
bumr -c npm
# or
bumr --command npm
# Skip installation after updating
bumr -i false
# or
bumr --no-install
# Ignore specific packages
bumr -x react,react-dom
# or
echo "react\nreact-dom" >> bumr.ignore
# Show help
bumr -h
# or
bumr --help| Short | Long | Description |
|---|---|---|
-r |
--required |
Update production dependencies only |
-d |
--dev |
Update devDependencies only |
-p |
--peer |
Update peerDependencies only |
-n |
--dry-run |
Preview changes without making updates |
-i |
--install |
Install dependencies after update (default: true) |
-c |
--command |
Package manager command to use (default: bun i) |
-x |
--ignore |
Ignore specific packages (comma-separated, use "file" to assign from ignore file) |
-h |
--help |
Show help information |
Consists of a list of package names to ignore during updates.
If not provided or includes "file", loads entries from bumr.ignore (newline-separated).
- Bun runtime
- A
package.jsonfile in your project
Contributions are welcome! Feel free to submit issues and pull requests.
MIT