Describe the bug
I am using unplugin-dts with "@vue/language-core": "3.3.3", but I'm getting a dependency conflict.
The reason is that the peer dependency is specified as
"peerDependencies": {
"@vue/language-core": "~3.1.5",
in packages/unplugin-dts/package.json.
I'd have expected that this only restricts to ^3.1.5 or similar, but maybe there is a reason this was locked on 3.1.x?
In any case, allowing 3.x here would be much appreciated.
Reproduction
https://github.com/sgerke-1L/unplugin-dts-repro
Steps to reproduce
Remove "overrides" in the package.json of the source repository and do npm install.
System Info
System:
OS: Linux 7.0 Ubuntu 26.04 LTS 26.04 LTS (Resolute Raccoon)
CPU: (14) x64 Intel(R) Core(TM) i7-14700HX
Memory: 13.97 GB / 20.04 GB
Container: Yes
Shell: 5.3.9 - /bin/bash
Binaries:
Node: 24.16.0 - /home/s/.nvm/versions/node/v24.16.0/bin/node
npm: 11.16.0 - /home/s/.nvm/versions/node/v24.16.0/bin/npm
pnpm: 11.5.3 - /home/s/.nvm/versions/node/v24.16.0/bin/pnpm
Browsers:
Chrome: 149.0.7827.102
Firefox: 151.0.3
Firefox Developer Edition: 151.0.3
npmPackages:
@vitejs/plugin-vue: ^6.0.7 => 6.0.7
unplugin-dts: ^1.0.2 => 1.0.2
vite: ^8.0.16 => 8.0.16
Validations
Describe the bug
I am using unplugin-dts with "@vue/language-core": "3.3.3", but I'm getting a dependency conflict.
The reason is that the peer dependency is specified as
in
packages/unplugin-dts/package.json.I'd have expected that this only restricts to ^3.1.5 or similar, but maybe there is a reason this was locked on 3.1.x?
In any case, allowing 3.x here would be much appreciated.
Reproduction
https://github.com/sgerke-1L/unplugin-dts-repro
Steps to reproduce
Remove "overrides" in the package.json of the source repository and do npm install.
System Info
System: OS: Linux 7.0 Ubuntu 26.04 LTS 26.04 LTS (Resolute Raccoon) CPU: (14) x64 Intel(R) Core(TM) i7-14700HX Memory: 13.97 GB / 20.04 GB Container: Yes Shell: 5.3.9 - /bin/bash Binaries: Node: 24.16.0 - /home/s/.nvm/versions/node/v24.16.0/bin/node npm: 11.16.0 - /home/s/.nvm/versions/node/v24.16.0/bin/npm pnpm: 11.5.3 - /home/s/.nvm/versions/node/v24.16.0/bin/pnpm Browsers: Chrome: 149.0.7827.102 Firefox: 151.0.3 Firefox Developer Edition: 151.0.3 npmPackages: @vitejs/plugin-vue: ^6.0.7 => 6.0.7 unplugin-dts: ^1.0.2 => 1.0.2 vite: ^8.0.16 => 8.0.16Validations