-
Notifications
You must be signed in to change notification settings - Fork 365
Upgrade pnpm from 10.22.0 to 10.32.1 #3339
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
Changes from all commits
9911b2f
1810205
8d67757
69e546a
578df27
d67e2f7
6006b80
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| "@khanacademy/kas": patch | ||
| "@khanacademy/keypad-context": patch | ||
| "@khanacademy/kmath": patch | ||
| "@khanacademy/math-input": patch | ||
| "@khanacademy/perseus": patch | ||
| "@khanacademy/perseus-core": patch | ||
| "@khanacademy/perseus-editor": patch | ||
| "@khanacademy/perseus-linter": patch | ||
| "@khanacademy/perseus-score": patch | ||
| "@khanacademy/perseus-utils": patch | ||
| "@khanacademy/pure-markdown": patch | ||
| "@khanacademy/simple-markdown": patch | ||
| --- | ||
|
|
||
| Upgrade pnpm from 10.22.0 to 10.32.1. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,6 +37,7 @@ | |
| "@storybook/test": "^8.6.15", | ||
| "@swc-node/register": "^1.10.10", | ||
| "@swc/core": "1.11.13", | ||
| "@swc/helpers": "^0.5.17", | ||
| "@swc/jest": "^0.2.37", | ||
| "@testing-library/dom": "^10.3.1", | ||
| "@testing-library/jest-dom": "^6.4.6", | ||
|
|
@@ -140,12 +141,13 @@ | |
| "nyc": { | ||
| "report-dir": "coverage/cypress/" | ||
| }, | ||
| "packageManager": "pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c", | ||
| "packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be", | ||
| "pnpm": { | ||
| "onlyBuiltDependencies": [ | ||
| "cypress@13.6.5", | ||
| "esbuild@0.24.0", | ||
| "@swc/core@1.11.13" | ||
| "@swc/core@1.11.13", | ||
| "mathquill" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Nit: Extended reasoning...Pattern inconsistency in onlyBuiltDependenciesThe
The newly added Step-by-step proof
Practical impact and caveatsThe real-world risk here is minimal for several reasons: (1) mathquill is sourced from Khan's own GitHub repository, (2) it's pinned to a specific git tag and commit hash in the lockfile, and (3) any version change requires an explicit lockfile update that would go through code review. Additionally, there's a practical question about whether RecommendationIf
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know that we need mathquill listed here. This array lists packages we want to allow
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup! I should have taken pictures of the failures, but I can revert this to check what those errors were. Is there a record? And what the Claude review said about the tarball thing is what my Claude was saying regarding the version pin.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, perfect! That makes sense. |
||
| ], | ||
| "patchedDependencies": { | ||
| "postcss-url": "patches/postcss-url.patch" | ||
|
|
||
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.
Why do we need
@swc/helpers? Is this related to the pnpm update?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.
Yes, this was added due to some failing CI checks. Looks like the previous pnpm version was less explicit about things and this was being hoisted up before (or that's how Claude explained it). It fixed the related error (the checks couldn't find this).
Also, as I was bringing back Dependabot, Jeremy and I discussed just doing an update at the same time.
Uh oh!
There was an error while loading. Please reload this page.
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 the errors this fixed (link to the related check)