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: explicit dependencies for integrations #4805

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

negezor
Copy link

@negezor negezor commented Jul 6, 2024

🔎 Overview

This PR eliminates the implicit dependency for developers on integration with a specific validator. Since the vee-validate integration directly depends on the validator in dependencies, it is impossible to install a version higher or lower without duplication. The integration does not export the validator, so the developer needs to install it separately, leading to duplication and errors.

We constantly monitor dependencies in our project, and running npm update caused dependency duplication whenever a patch version of the validator was released. Because of this, we had to specify "overrides" for the integration with our validator. Additionally, Eslint rules will complain if we do not specify the dependency in dependencies.

In any case, if the developer forgets to install the dependencies, npm will handle it starting from version 9.

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.

1 participant