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
Describe the bug
I think react and react-dom should not be dependencies of this Node utilities.
To Reproduce
Install typescript-coverage-report install another repository, not using react.
Run yarn why react
react appears to be imported
=> Found "typescript-coverage-report#[email protected]"
info This module exists because "typescript-coverage-report" depends on it.
info Disk size without dependencies: "332KB"
info Disk size with unique dependencies: "520KB"
info Disk size with transitive dependencies: "600KB"
info Number of shared dependencies: 5
Expected behaviour typescript-coverage-report should not depend on react, or react-dom or semantic-ui-react
Describe the bug
I think react and react-dom should not be dependencies of this Node utilities.
To Reproduce
yarn why react
react
appears to be imported=> Found "typescript-coverage-report#[email protected]"
info This module exists because "typescript-coverage-report" depends on it.
info Disk size without dependencies: "332KB"
info Disk size with unique dependencies: "520KB"
info Disk size with transitive dependencies: "600KB"
info Number of shared dependencies: 5
Expected behaviour
typescript-coverage-report
should not depend onreact
, orreact-dom
orsemantic-ui-react
Screenshots
Environment
Additional context
Those dependencies should be
devDependencies
in my opinion.The required package should go in
peerDependencies
example of react package.json: https://github.com/facebook/react/blob/main/package.json
The text was updated successfully, but these errors were encountered: