-
-
Notifications
You must be signed in to change notification settings - Fork 497
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
Switch to pnpm #2071
Switch to pnpm #2071
Conversation
✅ Deploy Preview for ember-guides ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
"@ember-data/adapter": "^4.4.3", | ||
"@ember-data/model": "^4.4.3", | ||
"@ember-data/serializer": "^4.4.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are peerDependencies of guidemaker that were previously being sloppily provided by ember-data's transitive dependencies. pnpm will more strictly do what you say, and by not having these we were letting guidemaker's "*" dependencies auto-install the very latest @ember-data/*
packages instead, which don't work.
- needed to add some peer deps that we were missing - needed to prevent a compatible upgrade to markdown-link-extractor because it made node-tests hundreds of times slower
This is ready to go. I'm pretty sure there is a pre-existing flaky test in |
#2071 broke syntax highlighting because guides-sources fails to satisfy ember-shiki's peerDependency on showdown. By not providing it, we left pnpm free to pick whatever copy it wanted, and thus there was no way to guarantee that ember-shiki and the rest of guides-source were using *the same* copy.
ember.js, ember-cli, embroider, etc are all using pnpm now. It's the least bad NPM client, and having it here will help will upcoming updates.