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

Support vue-tsc v2.2 #427

Open
2 tasks done
kingyue737 opened this issue Dec 24, 2024 · 3 comments
Open
2 tasks done

Support vue-tsc v2.2 #427

kingyue737 opened this issue Dec 24, 2024 · 3 comments

Comments

@kingyue737
Copy link

Describe the bug

vue-tsc v2.2 comes with support of Typescript 5.7 but vite-plugin-checker pin vue-tsc to ~2.1

 WARN  Issues with peer dependencies found
.
└─┬ nuxt 3.14.1592
  └─┬ @nuxt/vite-builder 3.14.1592
    └─┬ vite-plugin-checker 0.8.0
      └── ✕ unmet peer vue-tsc@~2.1.6: found 2.2.0

Reproduction

ignore

Expected behavior

ignore

System Info

ignore

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@sandros94
Copy link

sandros94 commented Dec 27, 2024

Was pinned to 2.1.6 in #398. But I don't know enough (yet) to be able to understand the API change that lead to it.

@pedrolamas
Copy link

FWIW, I added a version override on my package.json like this:

{
  "overrides": {
    "vite-plugin-checker": {
      "vue-tsc": "$vue-tsc"
    }
  }
}

Make sure you add vue-tsc as a dev dependency, and the above will force vite-plugin-checker to use the same version.

I've been using this for the past week or so and it has been working fine for me!

@Anton-Plagemann
Copy link

Anton-Plagemann commented Jan 7, 2025

I think the reason for pinning is explained in #395.
Maybe someone can check if there are breaking changes to these core apis. Currently this package cannot be used with the current version of TypeScript (5.7).

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

4 participants