sebu

SEarch files and BUmp up version

Usage no npm install needed!

<script type="module">
  import sebu from 'https://cdn.skypack.dev/sebu';
</script>

README

sebu

sebu

SEarch files and BUmp up version



Usage

npm install sebu

CLI

sebu --current=0.0.0 --next=2.0.0 --source=docs/README.md

# Also available experimental release version like beta, rc
sebu --current=1.0.0-beta.1 --next=1.0.0-beta.2 --source=docs/README.md
Usage: sebu [options]

Options:
  --source <path>           source path. Also be able to use glob.
  --current <version>       current version of package. ex)1.0.0
  --next <version>          next version of package. ex)1.0.1
  --major                   bump up the version to major
  --minor                   bump up the version to minor
  --patch                   bump up the version to patch
  -w, --write               overwrite source
  -o, --output-json <path>  create file that written info as json
  -h, --help                display help for command

Example:
$ sebu --current=1.0.0 --next=1.0.1 --source=docs/README.md -w
$ sebu --current=1.0.0 --next=1.0.1 --source="docs/**/*.md"
$ sebu --current=1.0.0 --next=1.0.1 --source="src/**/*.*"
$ sebu --current=1.0.0 --major --source=package.json
$ sebu --current=1.0.0 --next=1.0.1 --source="docs/**/*.md" -o sebu.json

API

import sebu from "sebu";

// 👍
sebu.XXXX

see export API

LICENSE(MIT)

see LICENSE