ianstormtaylor / bump Goto Github PK
View Code? Open in Web Editor NEWEasily bump the version of all the different package.json equivalents.
Easily bump the version of all the different package.json equivalents.
When scripting releases, it becomes a pain to use bump
because it outputs human-friendly text all the time. It would be nice if there was a machine-friendly way to use it:
$ bump minor --print-version
1.2.0
$ bump patch --print-manifests
package.json
component.json
I'm not sure what the best API would be for this, but currently needing to use egrep to extract the new version number is awkward.
if package.json
is private then ignore it if it doesnt have a version
key, so that you can have private pieces next to public components or vice versa
Is it possible to submit this to npm? I know there is already a bump out there and that would require a different package name, but npm doesn't appear to know, once it's installed, that it came from github. When checking for updates, it reverts to installing the package named bump
from npm. I can update it with the namespace manually, but if I ever need to do a general npm -g update
, it gets overwritten.
should probably be more graceful, so you don't need to think about... "okay, this component has a package.json"
/usr/local/lib/node_modules/bump/bin/bump:45
version = increment(files['package.json'].version, version);
bump minor
bump major
bump patch
Bump do not update lock-file (npm-shrinkwrap.json), I think it should.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.