DylanVann / yarn-workspaces-to-typescript-project-references

Sync Yarn workspace dependencies with TypeScript project references.
MIT License
21 stars 6 forks source link

Works with yarn v1 only? #1

Open mxro opened 4 years ago

mxro commented 4 years ago

Thanks for this! Nice idea! Assuming this works with yarn v1.22 workspaces only and not with yarn 2+ workspaces?

The latter of which failed for me in a quick test due to the following:

Error: Command failed with exit code 1: yarn --silent workspaces info --json
Unknown Syntax Error: Command not found; did you mean one of:

  0. yarn --welcome
  1. yarn cache clean [--mirror] [--all]
DylanVann commented 3 years ago

I imagine it only works with Yarn v1. The point of incompatibility would probably be the command or output for listing workspaces changing between v1 and v2.