Zaid-Ajaj / Femto

Femto is a CLI tool that automatically resolves npm packages used by Fable bindings
154 stars 13 forks source link

Yarn / NPM detection is not aware of workspaces #88

Open njlr opened 2 years ago

njlr commented 2 years ago

Femto should attempt to find the root workspace (if there is one) before deciding to use NPM or Yarn

Zaid-Ajaj commented 2 years ago

Hi there @njlr, Femto decides to use the closest package.json file it can find, is there a way to automatically detect that a package JSON file is part of a workspace or should we add something like a --workspace <name> argument?

In any case, a PR would be much appreciated 🙏