https://github.com/semibran/pkg-bump
:package::arrow_up: tiny package.json dependency version bumper
https://github.com/semibran/pkg-bump
npm package pkg version version-bump
Last synced: 11 months ago
JSON representation
:package::arrow_up: tiny package.json dependency version bumper
- Host: GitHub
- URL: https://github.com/semibran/pkg-bump
- Owner: semibran
- Created: 2018-03-09T07:51:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-23T18:51:00.000Z (over 3 years ago)
- Last Synced: 2024-10-20T13:42:32.850Z (over 1 year ago)
- Topics: npm, package, pkg, version, version-bump
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# pkg-bump
> tiny package.json dependency version bumper
This tool updates all dependencies in your `package.json` (including `devDependencies`, `peerDependencies`, and `optionalDependencies`) to their latest versions, disregarding semver. This makes it useful when reviving old projects or starting new ones from a template, where you would typically want to use the latest versions of each package.
**NOTE:** For flexibility's sake, the `pkg-bump` command does not install new versions of dependencies. Use in tandem with the package manager of your choice, e.g. `pkg-bump && npm i`.
```sh
$ cat package.json
{
"name": "example",
"version": "0.0.0",
"description": "an example package",
"devDependencies": {
"@rollup/plugin-node-resolve": "^2.1.1",
"rollup": "^0.55.5",
}
}
$ pkg-bump
devDependencies:
* @rollup/plugin-node-resolve ^2.1.1 -> ^9.0.0
* rollup ^0.55.5 -> ^2.32.1
$ npm i
$ git init
```
Install globally using npm:
```sh
npm i -g pkg-bump
```