Closed bluwy closed 8 months ago
fix https://github.com/zkochan/packages/issues/180
The yarn workspace logic could also be re-used for npm workspace. The workspaces glob syntax are fairly identical: https://docs.npmjs.com/cli/v8/using-npm/workspaces
I did this fix rather safely. Ideally if a workspaces field is found but have no lock file, I think it should fallback as npm, but that's maybe a breaking change for another day.
workspaces
npm
fix https://github.com/zkochan/packages/issues/180
The yarn workspace logic could also be re-used for npm workspace. The workspaces glob syntax are fairly identical: https://docs.npmjs.com/cli/v8/using-npm/workspaces
I did this fix rather safely. Ideally if a
workspaces
field is found but have no lock file, I think it should fallback asnpm
, but that's maybe a breaking change for another day.