Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
indooorsman committed Apr 18, 2022
1 parent 9269096 commit e7d555b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/yarn-plugin-version-tools/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,22 @@ yarn plugin remove yarn-plugin-version-tools

### `yarn vt <stragegy>`

almost same with `yarn version` from [@yarnpkg/plugin-version](https://yarnpkg.com/cli/version), but add a `--preid` option for bump `prerelease` version, e.g.:
almost same with `yarn version` from [@yarnpkg/plugin-version](https://yarnpkg.com/cli/version), but:

- add a `--preid` option for bump `prerelease` version, e.g.:

```bash
yarn vt prerelease --preid beta
#=> 1.2.2 ==> 1.2.3-beta.1
```

- add a `--from` option, e.g.:

```bash
yarn vt patch --from=1.2.0
#=> 1.2.1
```

### `yarn vt changed --base <branch name or commit hash>`

show changed packages
Expand Down

0 comments on commit e7d555b

Please sign in to comment.