Open thekevinbrown opened 4 years ago
Facing the same issue.
Thanks for the report! A new version would be released soon, let me know if it fixes your issue!
@enzoferey @thekevinbrown let me know if it solves your issue
Works for me 👍
In the meantime I have moved to a custom script that gives me a bit more flexibility as I have a monorepo mixing apps and packages (and I don't want apps to get composite: true
). Still validating to see that the result of running your script and mine is only this small customization I needed 😄
Do you think we should set composite: true
only for leaf packages?
Do you know about any unwanted effect of setting composite: true
to none-root packages?
Thanks for the feedback, if it's still a problem for you, can you open a separate feature request?
This is what I'm getting when I run
npx typescript-monorepo-toolkit inject-refs .
:Digging into the code a bit, I don't see any
data
key in myyarn workspaces info
output. It's like this:Updating the first line from:
to
seems to fix it. Should I PR this back into the project, or did I miss what the
.data
is for?This is with yarn version 1.22.1.