1.0.0 • Published 2 years ago

@nextstar/version v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@nextstar/version

Install

npm install -g @nextstar/version

Use

Update to the specified version

ns-version u 2.0.0

Result

┌─────────┬─────────────────────────────────────┐
│ (index) │                file                 │
├─────────┼─────────────────────────────────────┤
│    0    │           'package.json'            │
│    1    │   'packages/version/package.json'   │
└─────────┴─────────────────────────────────────┘

Upgrade the version under the specified workspace

ns-version up -w "./" -i minor

Result

┌─────────┬────────────────┬─────────┬─────────┐
│ (index) │      file      │   old   │   new   │
├─────────┼────────────────┼─────────┼─────────┤
│    0    │ 'package.json' │ '1.0.0' │ '1.1.0' │
└─────────┴────────────────┴─────────┴─────────┘