You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typescript and @types/react are included as peerDependencies although they seem to be optional. I don't use Typescript and don't want to install them. But npm install raises warnings for these missing peer deps. Worse is that npm list errors on them and this breaks https://github.com/pivotal/LicenseFinder which we use in our CI pipeline.
Currently working on a project that cannot use TS but we don't seem to have issues using the hook. However, the warning that pops up could give pause to other devs working on the project and make them want to drop the library.
typescript
and@types/react
are included as peerDependencies although they seem to be optional. I don't use Typescript and don't want to install them. Butnpm install
raises warnings for these missing peer deps. Worse is thatnpm list
errors on them and this breaks https://github.com/pivotal/LicenseFinder which we use in our CI pipeline.Maybe these should be devDependencies?
https://github.com/Swizec/useDimensions/blob/master/package.json#L21-L25
The text was updated successfully, but these errors were encountered: