-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Move @ember/test-waiters
to peerDependencies
#412
fix: Move @ember/test-waiters
to peerDependencies
#412
Conversation
9c573c1
to
c6db46b
Compare
@ember/test-waiters
to peerDependencies@ember/test-waiters
to peerDependencies
aw man, I thought this was resolved. 🙃 I need to figure out why |
so this is interesting, and maybe @ef4 knows what's going on (based on this comment), It seems this peerDependency error exists ( My (weak) hypothesis is that this Is this something we want to absorb in embroider? (or do we tell people to move to pnpm (or maybe yarn3?) |
Yeah, there's no great mystery here. You can inspect the node_modules structure and see what can resolve what. When using pnpm, you may also need to enable dependenciesMeta.*.injected to ensure that your own monorepo packages get the strict handling that ensures they will always get the strictly correct peerDependencies. Also, I don't recommend using "*" ranges for dependencies within your monorepo. Instead, to guarantee that the dependency will come from the within the monorepo use pnpm's workspace protocol.
Yarn 1 is totally unsupported by its maintainers, so that was already true.
If we care about compatibility with tools like TypeScript, we literally cannot. We could make imports inside our build mean something different than they mean to node, but typescript won't know that and doesn't allow extension of that. We have enough legacy behavior like that already, I'm not going to add more. |
Thanks for the insights and directions! I'm going to discuss with my team migrating to pnpm (we've been wanting to get off yarn1 anyway).
this is good to know! thanks! |
🎉 This PR is included in version 4.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Follow up to #407 (comment)