-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
chore: upgrade pnpm to version 9 #11637
Conversation
|
Ur a savior! |
As with sveltejs/kit#12129. I expect that this is blocked until Vercel supports pnpm v9. |
Can you approve the deployment to check if it's working? @PuruVJ said that he's currently deploying with pnpm 9 |
Error is happening cuz of strictness of packageManager field, I am using pnpm 9 locally with lockfile v9, vercel has pnpm 8 but that supports lockfile 9 as well, so it works |
How do we fix it? |
Either wait for vercel to release v9, or remove packageManager field for now. Generate lockfile v9 from pnpm 9 locally, push it, and vercel's pnpm v8 will then use that v9 lockfile(it support that) |
Apparently Vercel already shipped pnpm 9, so maybe the problem is on our end? |
I think the problem is the stricness of the |
It seems there's a bug with the version detection — not really following the conversation internally but it could be what's causing these headaches |
Keep us posted 🤞🏼 |
marking as draft for now to reduce noise |
Sure no prob 🤟🏻 |
Looks like 9.0.4 (which I think is the latest available version) is good |
I believe 9.1 is the latest 🤔
…On Fri, 17 May 2024 at 7:01 AM, Rich Harris ***@***.***> wrote:
Looks like 9.0.4 (which I think is the latest available version) is good
—
Reply to this email directly, view it on GitHub
<#11637 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMH4F6KAHVWV7462FA6DZTZCVMWFAVCNFSM6AAAAABHYD4HS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWGQ3DOOBWGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
9.1 is the latest but i think even if the |
Sorry, I meant the latest available version in the build environment. Though apparently this is due to some interaction with corepack — investigation ongoing |
We'd also need to add an |
Update from @EndangeredMassa (thank you!) here: vercel/vercel#11607 (comment) The relevant bit for us:
|
Awesome! Good to see the CI passing now My comment above about needing the |
If we remove |
No. That's how prior versions of pnpm worked, but pnpm 9 changed the behavior. I personally consider it to be a regression, but jury is still out on that: pnpm/pnpm#8087 |
It turns out that the |
Without the |
Yes, that's true, but we didn't put that there for contributors. It was there only for purposes of deploying to Vercel. It'll also stop the endless renovate PRs to bump that field whenever there's a new version of pnpm, which is another win from removing it |
Fixing now...in favor of removing it |
Hmm. Having to put |
It is quite annoying but also it only changes when a major of pnpm is released so it's not that often. Tbf the strictness of the But up to you for the final decision 😄 |
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.
I'll merge this for now. If pnpm/action-setup#126 gets merged then we can remove all the version: 9
stuff in a follow up
Svelte 5 rewrite
Feel free to close immediately if it's not desired but the upgrade should be seamless. I don't know if we should also specify the version in CI but let's see.
Also does this require a coordinated effort with sveltekit?
Please note that the Svelte codebase is currently being rewritten for Svelte 5. Changes should target Svelte 5, which lives on the default branch (
main
).If your PR concerns Svelte 4 (including updates to svelte.dev.docs), please ensure the base branch is
svelte-4
and notmain
.Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.Tests and linting
pnpm test
and lint the project withpnpm lint