Skip to content
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

Merged
merged 3 commits into from
Nov 7, 2024
Merged

Switch to pnpm #2071

merged 3 commits into from
Nov 7, 2024

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Nov 6, 2024

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.

Copy link

netlify bot commented Nov 6, 2024

Deploy Preview for ember-guides ready!

Name Link
🔨 Latest commit 8ae8ef5
🔍 Latest deploy log https://app.netlify.com/sites/ember-guides/deploys/672c54bc92a4140008e381e3
😎 Deploy Preview https://deploy-preview-2071--ember-guides.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines +44 to +46
"@ember-data/adapter": "^4.4.3",
"@ember-data/model": "^4.4.3",
"@ember-data/serializer": "^4.4.3",
Copy link
Contributor Author

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.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
 - 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
@ef4
Copy link
Contributor Author

ef4 commented Nov 7, 2024

This is ready to go.

I'm pretty sure there is a pre-existing flaky test in Acceptance | side bar links: release links go to correct page but my attempts to observe it made it go away again.

@ef4 ef4 merged commit 2618f75 into master Nov 7, 2024
4 checks passed
@ef4 ef4 deleted the pnpm branch November 7, 2024 15:34
ef4 added a commit that referenced this pull request Nov 8, 2024
#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.
@ef4 ef4 mentioned this pull request Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants