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
Get the site building on node 16 #2473
Conversation
14 will be EOL in half a year; do you have strong feelings against making 16 the minimum? |
Yep, totally reasonable IMO |
This PR should get merged |
I’d rather just add the import assertions than switch to |
Meh, I'm not really motivated in moving it to another syntax which could also break instead of being fully backwards compat |
import assertions went back a TC39 stage, dropping it is still the right call imo |
Yep, now I agree with you 😅 |
Going to retrigger CI |
Any idea what the build error is? |
Looks like the
Couldn't say why, and it didn't repro locally, but maybe an old version of |
Just rebased: would recommend against doing these sorts of build steps:
Makes it harder to see which step failed unless you echo titles etc |
cool, looks like we have a repo for the canvas bail - will look later |
Yeah, that was the one that was angry in #2680 |
Alright, this looks ready - now I know that the CI should turn out red, but that is (now) expected. What's happening is that:
Runs against
eb65fda fixes this As it is the last item in the CI, then that validates that the rest of the system is 👍🏻 |
If we get this in and it's all fine, I'll take a look at bumping node to 18, and updating gatsby to 5.x - so that there's a good few more years runway |
Thanks Orta! |
Confirming that this all seems to look good on https://www.staging-typescript.org/ |
Merges to v2 go straight to prod these days 😉 |
nice! |
Removes all the ESM imports for JSON files because different versions of node require different syntax there ( import asserts in 16, none in 14)