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

chore(gatsby): Update load-plugins to Typescript. #22504

Merged
merged 9 commits into from
May 28, 2020

Conversation

Eyas
Copy link
Contributor

@Eyas Eyas commented Mar 23, 2020

Description

This PR migrates packages/gatsby/src/bootstrap/load-plugins to TypeScript.

Related Issues

Part of #21995.

@Eyas Eyas requested a review from a team as a code owner March 23, 2020 19:45
@Eyas Eyas force-pushed the ts/gatsby-bootstrap branch from 2c7fffb to e98db1c Compare March 24, 2020 15:07
@Eyas Eyas force-pushed the ts/gatsby-bootstrap branch 2 times, most recently from 2802d0f to 94919b3 Compare March 26, 2020 01:10
@Eyas
Copy link
Contributor Author

Eyas commented Mar 31, 2020

@gatsbyjs/core friendly ping on this -- can someone take a look at this chore PR?

@blainekasten
Copy link
Contributor

@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 blainekasten added the status: awaiting author response Additional information has been requested from the author label May 26, 2020
@Eyas Eyas force-pushed the ts/gatsby-bootstrap branch from 94919b3 to ede5892 Compare May 26, 2020 15:53
@Eyas
Copy link
Contributor Author

Eyas commented May 26, 2020

@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.

@Eyas
Copy link
Contributor Author

Eyas commented May 27, 2020

@blainekasten can you review #24519 first? The Babel typescript transform is producing confused imports of resolve-module-exports, causing some integration tests to misbehave.

@blainekasten
Copy link
Contributor

@Eyas merged that other PR! Let's get this one caught up and ready to merge!

@Eyas Eyas force-pushed the ts/gatsby-bootstrap branch from 4d6ee24 to 64985a0 Compare May 27, 2020 18:00
@Eyas Eyas added status: awaiting reviewer response A pull request that is currently awaiting a reviewer's response and removed status: awaiting author response Additional information has been requested from the author labels May 27, 2020
@Eyas
Copy link
Contributor Author

Eyas commented May 27, 2020

@blainekasten Rebased and pushed.

@Eyas
Copy link
Contributor Author

Eyas commented May 27, 2020

Lint failure is due to new blog post :( I also sent #24543

@Eyas Eyas force-pushed the ts/gatsby-bootstrap branch from 91af7f2 to 09f6f9a Compare May 28, 2020 00:56
@Eyas Eyas force-pushed the ts/gatsby-bootstrap branch from 09f6f9a to 562118a Compare May 28, 2020 01:01
@Eyas
Copy link
Contributor Author

Eyas commented May 28, 2020

@blainekasten Ready for review :) the linked issue got fixed.

@blainekasten
Copy link
Contributor

On it!

Copy link
Contributor

@blainekasten blainekasten left a 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! 💜

@blainekasten blainekasten added bot: merge on green Gatsbot will merge these PRs automatically when all tests passes and removed status: awaiting reviewer response A pull request that is currently awaiting a reviewer's response labels May 28, 2020
@gatsbybot gatsbybot merged commit 2691f09 into gatsbyjs:master May 28, 2020
johno pushed a commit to johno/gatsby that referenced this pull request May 28, 2020
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants