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

Update build config, bump up ramp to v4.10.0 #524

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

milespetrov
Copy link
Member

@milespetrov milespetrov commented Dec 23, 2024

Changes

  • Bump ramp to v4.10.0
  • Build and repo level config enhancements
  • Minor fixes to please TS

Notes

This PR bumps ramp to v4.10.0 and updates some repo and build level configs. Initial download is now 3.4 MB, down from 5 MB due to ramp esDynamic improvements. The initial size of this library can be further reduced once we identify and implement appropriate dynamic imports.

Vite is stuck at v5 due to vite-plugin-static-copy. Looks like that lib gets updated regularly so we can wait a bit for a patch to v6. Might also make sense to just use the cp command.


This change is Reviewable

@milespetrov milespetrov added the PR: Build PR that involves changes to the build. This includes changes to the Github Actions. For JS wizards. label Dec 23, 2024
Copy link

Copy link
Member

@james-rae james-rae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 15 of 15 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member

@RyanCoulsonCA RyanCoulsonCA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvements 🏆

Only thing that I've found is that RAMP grid styling seems to have broken somehow:
image.png

Reviewed 14 of 15 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member Author

@milespetrov milespetrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, pointed to a more respectful css file

Reviewable status: 14 of 15 files reviewed, all discussions resolved (waiting on @james-rae and @RyanCoulsonCA)

Copy link
Member

@RyanCoulsonCA RyanCoulsonCA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 15 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member

@james-rae james-rae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless no storylines uses Custom Details Templating (can someone on the squad confirm or deny?), I think we need to block this until ramp4-pcar4/ramp4-pcar4#2535 can get fixed. Might need to do a patch release v4.10.1 since this PR needs something on npm.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member

@yileifeng yileifeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found CWS storylines using custom templating here: Priority Places for Species at Risk - Canada.ca

Reviewed 14 of 15 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member

@james-rae james-rae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v4.10.2 is published, will unblock once package is updated and things are working gud

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member

@szczz szczz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 11 of 15 files at r1, 1 of 1 files at r2, 3 of 3 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member Author

@milespetrov milespetrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All seems well, typescript typings are also working in VS Code 👍

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member

@james-rae james-rae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r2, 3 of 3 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

Copy link
Member

@yileifeng yileifeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @milespetrov)

@yileifeng yileifeng merged commit 8850bb3 into ramp4-pcar4:main Jan 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Build PR that involves changes to the build. This includes changes to the Github Actions. For JS wizards.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants