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

Update yup@1.x module to avoid @types/lodash and babel runtime in production deps #1510

Open
1 task done
ziggornif opened this issue Mar 29, 2023 · 0 comments
Open
1 task done

Comments

@ziggornif
Copy link

Explain your question

  • I have checked existing issue and found none that could answer my question.

I've found dev dependencies installed as production deps when I add this module in my project.

The module in question is Yup@032.11 https://github.com/jquense/yup

npm why @types/lodash
@types/lodash@4.14.191
node_modules/@types/lodash
  @types/lodash@"^4.14.175" from yup@0.32.11
  node_modules/yup
    yup@"^0.32.0" from graphql-shield@7.6.5

The 1.0 version no longer seems to have the problem, can you udpate the dependency ?

Thanks 🙏

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

No branches or pull requests

1 participant