Jeremy Albright

Results 63 comments of Jeremy Albright

I've never taken the time to fix it, and I just assume nobody else has bothered, so probably not :man_shrugging:

Maybe instead of hardcoding it to `ttypescript`, make a new cli option like `--typescript-compiler` (or `--tsc`?)? Then it's opt-in, so if it breaks things people know it's probably not `microbundle`.

> BTW, maybe you should check out the https://github.com/Js-Brecht/gatsby-plugin-ts-config by @Js-Brecht. There is also [a neat example](https://github.com/Js-Brecht/gatsby-starter-pnpm-ts) that is actually using typegen and ts-node. Just an FYI, the [ts-config](https://github.com/Js-Brecht/gatsby-starter-pnpm-ts/tree/ts-config) branch...

@cometkim I honestly don't think it extracts queries from `gatsby-node`. I believe those queries using the Gatsby `graphql()` function in `gatsby-node` are executed imperatively, when the particular endpoint export is...

@impulse i use `gatsby-plugin-ts-config` and `gatsby-plugin-typegen` v2 together without any issues. When switching to v2, I did have to make sure that the types generated by `gatsby-plugin-typegen` were covered in...

Hey, I just saw this issue, and the brief conversation in #12. I'm curious to hear your thoughts on how you would accomplish this using a plugin. Would you use...

I actually just stumbled on [this issue](https://github.com/gatsbyjs/gatsby/issues/18983), so I should amend what I said a little bit. Apparently, the Gatsby team is considering including Typescript support OOTB, including for configs

> If there's something we can do from the plugin side, even just for a few months, it'd be improvements for users. I agree 100%. --- I had actually started...

They do run through Webpack, so yeah, they work just fine as Typescript files. That’s why I’ve just left them in the root of the repo. However, I was trying...

> I remember running into issue trying to modify data that wasn't created by my own plugin. I’m not entirely sure. Technically speaking, though, everything written in those TS files...