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

Fix sync-dependencies.ts script #2291

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix sync-dependencies.ts script #2291

wants to merge 3 commits into from

Conversation

handeyeco
Copy link
Contributor

@handeyeco handeyeco commented Mar 7, 2025

Summary:

There was an issue with the sync-dependencies.ts script not updating deps.

See: https://khanacademy.slack.com/archives/C01AZ9H8TTQ/p1741217837106749

@handeyeco handeyeco self-assigned this Mar 7, 2025
Copy link
Contributor

github-actions bot commented Mar 7, 2025

Size Change: 0 B

Total Size: 876 kB

ℹ️ View Unchanged
Filename Size
packages/kas/dist/es/index.js 39.7 kB
packages/keypad-context/dist/es/index.js 760 B
packages/kmath/dist/es/index.js 11.1 kB
packages/math-input/dist/es/index.js 77.7 kB
packages/math-input/dist/es/strings.js 1.79 kB
packages/perseus-core/dist/es/index.js 31.9 kB
packages/perseus-editor/dist/es/index.js 276 kB
packages/perseus-linter/dist/es/index.js 22.8 kB
packages/perseus-score/dist/es/index.js 20.6 kB
packages/perseus/dist/es/index.js 369 kB
packages/perseus/dist/es/strings.js 6.73 kB
packages/pure-markdown/dist/es/index.js 4.14 kB
packages/simple-markdown/dist/es/index.js 13.1 kB

compressed-size-action

Copy link
Contributor

github-actions bot commented Mar 7, 2025

npm Snapshot: Published

Good news!! We've packaged up the latest commit from this PR (464b691) and published it to npm. You
can install it using the tag PR2291.

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

Copy link
Member

@catandthemachines catandthemachines left a 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 !

return false;
}

if (!packagesInThisRepo.some((name) => name === pkgName)) {
Copy link
Member

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.

@@ -72,6 +79,7 @@ function main(argv: string[]) {
const workspace = yaml.parse(
fs.readFileSync("pnpm-workspace.yaml", "utf-8"),
);

Copy link
Member

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.

@handeyeco handeyeco changed the title fix sync peer deps script Fix sync-dependencies.ts script Mar 7, 2025
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