wheatjs / vite-plugin-vue-type-imports

Import types in Vue SFC for defineProps
223 stars 16 forks source link

fix: add vite 4 in peerDepends #47

Closed rah-emil closed 1 year ago

rah-emil commented 1 year ago

It's working for my project

olfek commented 1 year ago

Could you merge this please? @wheatjs

I'm getting this error.

>> npm i -D vite-plugin-vue-type-imports

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: <PROJECT_NAME>@0.0.0
npm ERR! Found: vite@4.0.4
npm ERR! node_modules/vite
npm ERR!   dev vite@"^4.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^3.0.0" from vite-plugin-vue-type-imports@0.2.4
npm ERR! node_modules/vite-plugin-vue-type-imports
npm ERR!   dev vite-plugin-vue-type-imports@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
...
olfek commented 1 year ago

Using the package mentioned here (https://github.com/wheatjs/vite-plugin-vue-type-imports/issues/46#issuecomment-1363705331) in the meantime, thanks @rah-emil ❣️

wheatjs commented 1 year ago

Thank you, I've been meaning to get to this. Will do a release soon

Andreas-Halemba commented 1 year ago

Will you create a version any time soon? or should we use @rah-emil s package instead?

BBoehm commented 1 year ago

@wheatjs any update on this? Merge has happened in March, but still no release

danimalweb commented 1 year ago

Pretty please?

wheatjs commented 1 year ago

Sorry for the delay, new version has been published.