Describe the bug
For the package @blocz/react-responsive, I merged for the 4.0.1 release (that was later unpublished from NPM so depending on what you see in npmx it might be the 5.0.0) this PR: bloczjs/react-responsive#144 that removes types: <>; exports: { types: <> } in the package.json
But when you check the files, it's because instead of having 1 declaration file, I now generate 1 per file (see .d.cts & .d.mts):
I don't fully know if this is because the top-level types was removed, or the one in exports: { types }, but I think that according to TS, this new config is fine (TS auto looks for .d.ts alongside files). And even in npmx, there is the badge "✔️ Types included"
So I'm reporting this just in case
Additional context
No response
Logs
Describe the bug
For the package
@blocz/react-responsive, I merged for the 4.0.1 release (that was later unpublished from NPM so depending on what you see in npmx it might be the 5.0.0) this PR: bloczjs/react-responsive#144 that removestypes: <>; exports: { types: <> }in thepackage.jsonBut when you check the files, it's because instead of having 1 declaration file, I now generate 1 per file (see
.d.cts&.d.mts):I don't fully know if this is because the top-level
typeswas removed, or the one inexports: { types }, but I think that according to TS, this new config is fine (TS auto looks for .d.ts alongside files). And even in npmx, there is the badge "✔️ Types included"So I'm reporting this just in case
Additional context
No response
Logs