0no-co / gql.tada

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

fix(cli-utils): Fix `turbo` command reusing its own prior cache output #208

Closed kitten closed 4 months ago

kitten commented 4 months ago

Summary

Fixes a regression; the turbo command can accidentally reuse its own cache if we don't disable the cache or remove the cached typings file.

Instead of removing the file or discovering and shadowing it, we now add a global flag to disable the cache entirely while inferring the turbo cache.

Set of changes

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: f1694b7b611335c47f8edc2b566f2c189bcc1783

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