0no-co / gql.tada

🪄 Magical GraphQL query engine for TypeScript
https://gql-tada.0no.co
MIT License
2.56k stars 43 forks source link

fix(cli): Change TypeScript instantiation to check from project root #254

Closed kitten closed 5 months ago

kitten commented 5 months ago

In some recent PRs, with ${configDir} becoming a thing, I got a little confused. We need configPath to resolve to the path of the configuration that contains the GraphQLSP plugin config. However, projectRoot always points to the starting folder of the project. However, we now instantiate TypeScript from the configRoot rather than projectRoot.

changeset-bot[bot] commented 5 months ago

🦋 Changeset detected

Latest commit: a8930b097bdb71088e6e43bb1e5e330ecb6c4412

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR