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 minimum wrangler to v3.91.0 and remove defunct experimental json config flags #72

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

acusti
Copy link
Contributor

@acusti acusti commented Dec 18, 2024

wrangler v3.91.0 turns on wrangler.json support by default and removes the experimentalJsonConfig option from the getPlatformProxy function (which causes a type error if we continue to pass it). this is great news, because superflare no longer needs to pass -j to every wrangler command and it removes a foot-gun for superflare consumers, but it also means that the new minimum version of wrangler is v3.91.0. i updated all of the npm run scripts to also no longer use -j and re-ran wrangler types in the docs app, the remix-cms example, and the remix template.

here’s the error in the latest GitHub workflow run from main: https://github.com/jplhomer/superflare/actions/runs/12377634725

and here’s the run from this PR: https://github.com/jplhomer/superflare/actions/runs/12398405247

• also, specify 3.91.0 as the minimum wrangler version, because that’s the release that made wrangler.json support built-in and not an experimental flag any more
• lastly, regenerated worker-configuration.d.ts files using updated wrangler types script (no more -j flag, latest version of wrangler)
Copy link

pkg-pr-new bot commented Dec 18, 2024

Open in Stackblitz

npm i https://pkg.pr.new/jplhomer/superflare@72
npm i https://pkg.pr.new/jplhomer/superflare/@superflare/remix@72

commit: edad332

Copy link
Owner

@jplhomer jplhomer left a comment

Choose a reason for hiding this comment

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

omg yes!

@jplhomer jplhomer merged commit 905ba4c into jplhomer:main Dec 18, 2024
3 checks passed
@acusti
Copy link
Contributor Author

acusti commented Dec 18, 2024

finally 😄 (a gruber reference, if you’re familiar)

@acusti acusti deleted the wrangler-json branch December 18, 2024 17:50
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