mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
yarn: add ytc alias for test with coverage (#7664)
This commit is contained in:
parent
c714d3fced
commit
b09aed9cc7
2 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@ plugins=(... yarn)
|
||||||
| ys | `yarn serve` | Start the dev server |
|
| ys | `yarn serve` | Start the dev server |
|
||||||
| yst | `yarn start` | Run the start script defined in `package.json` |
|
| yst | `yarn start` | Run the start script defined in `package.json` |
|
||||||
| yt | `yarn test` | Run the test script defined in `package.json` |
|
| yt | `yarn test` | Run the test script defined in `package.json` |
|
||||||
|
| ytc | `yarn test --coverage` | Run the test script defined in `package.json` with coverage |
|
||||||
| yuc | `yarn global upgrade && yarn cache clean` | Upgrade global packages and clean yarn's global cache |
|
| yuc | `yarn global upgrade && yarn cache clean` | Upgrade global packages and clean yarn's global cache |
|
||||||
| yui | `yarn upgrade-interactive` | Prompt for which outdated packages to upgrade |
|
| yui | `yarn upgrade-interactive` | Prompt for which outdated packages to upgrade |
|
||||||
| yup | `yarn upgrade` | Upgrade packages to their latest version |
|
| yup | `yarn upgrade` | Upgrade packages to their latest version |
|
||||||
|
|
|
@ -20,6 +20,7 @@ alias yrun="yarn run"
|
||||||
alias ys="yarn serve"
|
alias ys="yarn serve"
|
||||||
alias yst="yarn start"
|
alias yst="yarn start"
|
||||||
alias yt="yarn test"
|
alias yt="yarn test"
|
||||||
|
alias ytc="yarn test --coverage"
|
||||||
alias yuc="yarn global upgrade && yarn cache clean"
|
alias yuc="yarn global upgrade && yarn cache clean"
|
||||||
alias yui="yarn upgrade-interactive"
|
alias yui="yarn upgrade-interactive"
|
||||||
alias yup="yarn upgrade"
|
alias yup="yarn upgrade"
|
||||||
|
|
Loading…
Reference in a new issue