Closed tobilen closed 3 years ago
This has a bug where any package with a name containing the string node_modules
will also be ignored.
I created an alternative PR: https://github.com/azz/get-monorepo-packages/pull/7
yes, i thought about that possibility but decided that anybody including that string in his package name deserves his pipeline to break :laughing:
anyway, your PR is obviously better. closing this one
When using yarn workspaces, it is possible that due to version mismatches, a workspaces has its own
node_modules
folder next to itspackage.json
with mismatching dependencies. While yarn accounts for those when evaluating the globs in theworkspaces
key, this package currently does not.The proposed change simply excludes all matches that have `node_modules' in their path, which should fix the issue.