-
Notifications
You must be signed in to change notification settings - Fork 351
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 sync-dependencies.ts
script
#2291
base: main
Are you sure you want to change the base?
Conversation
Size Change: 0 B Total Size: 876 kB ℹ️ View Unchanged
|
npm Snapshot: PublishedGood news!! We've packaged up the latest commit from this PR (464b691) and published it to npm. You Example: pnpm add @khanacademy/perseus@PR2291 If you are working in Khan Academy's webapp, you can run: ./dev/tools/bump_perseus_version.sh -t PR2291 |
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.
Approved, just make sure to clean up the changes to sync-dependencies.ts, add a changeset, and run pnpm test -update
. Thanks @handeyeco !
utils/sync-dependencies.ts
Outdated
return false; | ||
} | ||
|
||
if (!packagesInThisRepo.some((name) => name === pkgName)) { |
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.
nit: Add back the comment here.
utils/sync-dependencies.ts
Outdated
@@ -72,6 +79,7 @@ function main(argv: string[]) { | |||
const workspace = yaml.parse( | |||
fs.readFileSync("pnpm-workspace.yaml", "utf-8"), | |||
); | |||
|
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.
nit: delete this new line.
Summary:
There was an issue with the
sync-dependencies.ts
script not updating deps.See: https://khanacademy.slack.com/archives/C01AZ9H8TTQ/p1741217837106749