Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Correct utils package deps #2066

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bastilian
Copy link
Member

react-intl and redux mock store are used in the TestWrapper component and should be proper dependencies.

react-intl and redux mock store are used in the `TestWrapper` component and should be proper dependencies.
"react-content-loader": "^6.2.0"
"react-content-loader": "^6.2.0",
"react-intl": "^6.6.8",
"redux-mock-store": "^1.5.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these packages be direct dependency even if we use them for testing purposes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkholjuraev If they are imported and used they should be dependencies. If we could expect that all apps, always have these dependencies as well, we should still add them as dependencies, but in that case we'd make them "peerDependencies".

However, we can not expect our apps to really always, for sure, to have these dependencies and we are not making it possible to use the Wrapper without these dependencies. So we should add them, or apps may unnecessarily have to add these as a dependency themselves, which we should avoid.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am just concerned that some devDepencies in nature are being added as direct dependency. Honestly, I do not have a clear understanding of the problem stated thus, I would like to request someone else as a reviewer.

@mkholjuraev mkholjuraev requested a review from a team October 14, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants