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

templates: pin all payload packages, improve gen-templates script #11841

Merged
merged 6 commits into from
Mar 26, 2025

Conversation

AlessioGr
Copy link
Member

@AlessioGr AlessioGr commented Mar 24, 2025

This PR comes with a bunch of improvements to our template generation script that makes it safer and more reliable

  • bumps all our templates
  • Using latest as payload version in our templates has proven to be unreliable. This updates the gen-templates script to pin all payload packages to the latest version
  • adds the missing website entry for our template variations, thus ensuring its lockfile gets updated
  • adds importmap generation to the gen-templates script
  • adds new script:gen-templates:build script to verify that all templates still build correctly

paulpopus
paulpopus previously approved these changes Mar 26, 2025
@AlessioGr AlessioGr changed the title templates: pin all payload packages templates: pin all payload packages, improve gen-templates script Mar 26, 2025
@AlessioGr AlessioGr enabled auto-merge (squash) March 26, 2025 18:25
@AlessioGr AlessioGr merged commit 59c9fee into main Mar 26, 2025
84 checks passed
@AlessioGr AlessioGr deleted the templates/pin-payload-versions branch March 26, 2025 20:52
kendelljoseph pushed a commit that referenced this pull request Mar 31, 2025
…1841)

This PR comes with a bunch of improvements to our template generation
script that makes it safer and more reliable

- bumps all our templates
- Using `latest` as payload version in our templates has proven to be
unreliable. This updates the gen-templates script to pin all payload
packages to the latest version
- adds the missing `website` entry for our template variations, thus
ensuring its lockfile gets updated
- adds importmap generation to the gen-templates script
- adds new `script:gen-templates:build` script to verify that all
templates still build correctly
Copy link
Contributor

github-actions bot commented Apr 1, 2025

🚀 This is included in version v3.32.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants