Spec-Zone.ru › Yarn 3

yarn workspace

Run a command within the specified workspace.

Usage

$> yarn workspace <workspaceName> <commandName> ...

Examples

Add a package to a single workspace :

yarn workspace components add -D react

Run build script on a single workspace :

yarn workspace components run build

Details

This command will run a given sub-command on a single workspace.

© 2016–present Yarn Contributors
Licensed under the BSD License.
https://v3.yarnpkg.com/cli/workspace

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API