Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
b09aed9c
Commit
b09aed9c
authored
Oct 08, 2019
by
14nrv
Committed by
Marc Cornellà
Oct 08, 2019
Browse files
yarn: add ytc alias for test with coverage (#7664)
parent
c714d3fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/yarn/README.md
View file @
b09aed9c
...
@@ -35,6 +35,7 @@ plugins=(... yarn)
...
@@ -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 |
...
...
plugins/yarn/yarn.plugin.zsh
View file @
b09aed9c
...
@@ -20,6 +20,7 @@ alias yrun="yarn run"
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment