-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
chore(gatsby): Update load-plugins to Typescript. #22504
Conversation
2c7fffb
to
e98db1c
Compare
2802d0f
to
94919b3
Compare
@gatsbyjs/core friendly ping on this -- can someone take a look at this chore PR? |
@Eyas Thanks for the PR and sorry for the delay! We've got a lot going on! This PR is pretty outdated now and has several conflicts. Could you resolve them and then I'll prioritize reviewing and get this merged! |
@blainekasten done. I'm having issues bootstrapping my local env (I'm on windows at the moment), but I'm happy to push follow-up fixes if anything is off. |
@blainekasten can you review #24519 first? The Babel typescript transform is producing confused imports of resolve-module-exports, causing some integration tests to misbehave. |
@Eyas merged that other PR! Let's get this one caught up and ready to merge! |
@blainekasten Rebased and pushed. |
Lint failure is due to new blog post :( I also sent #24543 |
This ensure's Gastby's typings are consistent with reality.
@blainekasten Ready for review :) the linked issue got fixed. |
On it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great to me, let's merge it!
Thank you so much for contributing to our TypeScript refactor! We have more work to do and we would love to have you stay involved in our transition. Please submit more PRs! 💜
* chore(gatsby): Update load-plugins to Typescript. * define gastsby typings in terms of actual types This ensure's Gastby's typings are consistent with reality. * Update yarn.lock * Apply lint fixes for validate.ts. * Typecheck fix. * Fix typecheck issues. * Typecheck fix. * Update tests to TS and Fix them. * Cast validate.ts use of resolveModuleExports
Description
This PR migrates
packages/gatsby/src/bootstrap/load-plugins
to TypeScript.Related Issues
Part of #21995.