Skip to content

gql-tada doctor says version is out of date when using a pnpm workspace catalog #446

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

Open
3 tasks done
rik-iso opened this issue Mar 22, 2025 · 1 comment
Open
3 tasks done

Comments

@rik-iso
Copy link

rik-iso commented Mar 22, 2025

Describe the bug

Using pnpm workspace catalogs in a pnpm monoreo, the doctor complains my version is out of date:

The version of gql.tada in your dependencies is out of date.
┗ ℹ It's recommended to upgrade gql.tada to at least 1.0.0

In reality, it's set to catalog:, and in pnpm-workspace.yaml I have an up to date version.

This is very new pnpm syntax. I'd be happy to submit a PR fixing it - just wanted to check it's not on your roadmap or a will-not-fix.

Reproduction

No response

gql.tada version

latest

Validations

  • I can confirm that this is a bug report, and not a feature request, RFC, question, or discussion, for which GitHub Discussions should be used
  • Read the docs.
  • Follow our Code of Conduct
@kitten
Copy link
Member

kitten commented Mar 22, 2025

The logic for this is in this file: https://github.com/0no-co/gql.tada/blob/5b5d1e49e32b0e80f6ccd21820991be8363de845/packages/cli-utils/src/commands/doctor/helpers/versions.ts

I simply didn't get to this, and since it's still a bit of a niche feature, I didn't bother adding it. Sorry! Happy to solve this however you see fit, but also happy for you to file a PR for it of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants