Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 355 Bytes

yarn-workspaces.md

File metadata and controls

19 lines (11 loc) · 355 Bytes

Yarn Workspaces

yarn workspace <workspace_name> COMMAND

  • runs yarn command (add, remove) in selected workspace
  • forwards flags

yarn workspaces info

  • display workspace dependency tree

yarn workspaces run

  • runs yarn command in each/all workspaces
  • forwards flags

yarn add -W

  • allows a package to be installed at the workspaces root