bahmutov / next-ver Goto Github PK
View Code? Open in Web Editor NEWTells you the next semantic version for your local package
Tells you the next semantic version for your local package
Instead of just saying next version should be 1.22.0
it should say
next version should be 1.22.0 (1 feature, 2 fixes)
for example
git pull origin --tags
Then use the tag as the version
Probably combination of Bash shell and API calls from unit tests
Add command line option to perform npm version <new version>
if next-ver
determines that there is a new version
next-ver --go
incrementing 1.0.0 by major +1ms
next version should be 2.0.0
running "npm version 2.0.0"
I think we are not tracking the breaking changes and never increment the major number
Maybe should define "preversion" script to point at the build?
I renamed master branch to main and it stopped working:
GitHub Actions output:
Run yarn next-ver --go
yarn run v1.22.18
$ /home/runner/work/magic/magic/node_modules/.bin/next-ver --go
/home/runner/work/magic/magic/node_modules/q/q.js:87[6](https://github.com/Frank-Mayer/magic/runs/6032304461?check_suite_focus=true#step:7:6)
throw error;
^
fatal: couldn't find remote ref master
(Use `node --trace-uncaught ...` to show where the exception was thrown)
Node.js v1[7](https://github.com/Frank-Mayer/magic/runs/6032304461?check_suite_focus=true#step:7:7).[9](https://github.com/Frank-Mayer/magic/runs/6032304461?check_suite_focus=true#step:7:9).0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
So I can do the same thing that next-ver --go
does using NPM module
on Node 8
(node:64547) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
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.