Describe the bug
Hey,
I recently found out when I publish my package the types for my icon component are missing.
This has probably something todo since I import the type from another package of my monorepo.
I suspect that this has something todo with dts or rather my missconfiguration of dts. I created a MRE in order to make an investigation possible.
I'm sorry if this is something obvious, tried to scroll through some of the issues but not luck.
Thanks in advance
Reproduction
https://github.com/soelen/vite-plugin-dts-monorepo-any-type-issue
Steps to reproduce
See README.md in linked MRE
System Info
System:
OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
Memory: 14.70 GB / 31.04 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 22.9.0 - ~/.nvm/versions/node/v22.9.0/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 10.8.3 - ~/.nvm/versions/node/v22.9.0/bin/npm
Browsers:
Brave Browser: 137.1.79.118
Chrome: 136.0.7103.92
Chromium: 136.0.7103.92
Validations
Describe the bug
Hey,
I recently found out when I publish my package the types for my icon component are missing.
This has probably something todo since I import the type from another package of my monorepo.
I suspect that this has something todo with dts or rather my missconfiguration of dts. I created a MRE in order to make an investigation possible.
I'm sorry if this is something obvious, tried to scroll through some of the issues but not luck.
Thanks in advance
Reproduction
https://github.com/soelen/vite-plugin-dts-monorepo-any-type-issue
Steps to reproduce
See README.md in linked MRE
System Info
System: OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish) CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz Memory: 14.70 GB / 31.04 GB Container: Yes Shell: 5.1.16 - /bin/bash Binaries: Node: 22.9.0 - ~/.nvm/versions/node/v22.9.0/bin/node Yarn: 1.22.19 - /usr/bin/yarn npm: 10.8.3 - ~/.nvm/versions/node/v22.9.0/bin/npm Browsers: Brave Browser: 137.1.79.118 Chrome: 136.0.7103.92 Chromium: 136.0.7103.92Validations