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

[Bug]: @types, eslint, and babel all included in dependencies instead of dev dependencies causing errors in app #21568

Open
chrisburkejr opened this issue Mar 12, 2023 · 1 comment

Comments

@chrisburkejr
Copy link

chrisburkejr commented Mar 12, 2023

Describe the bug

There are dev dependencies included in dependencies such as @losash/types which causes errors in apps that don't have exact typing. I also find @types/lodash to have many bugs and different versions work for different reasons for an app. Can these be moved from dependencies to dev dependencies? Seems to be the exact same issue with this - storybookjs/mdx1-csf#14

Please let me know if this seems incorrect or there is a solution.. I am also using @nrwl/storybook which uses generators for more context.

To Reproduce

Create an app with lodash as a dep and use lodash to not form to @types/lodash typings. Install storybook...

System

To run storybook you need to have node 16 or higher

Additional context

No response

@chrisburkejr
Copy link
Author

I was wondering if this has all the information this needs? Is there a path forward without having to manually remove typings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant