@types/yup dev dependency
See original GitHub issueQuestion about GraphQL Shield
Is it a mistake that @types/yup
is listed as a dependencies and not a devDependencies? If not, why do you need it as a dependency? Thank you!
- I have checked other questions and found none that matches mine.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How do I decide whether @types/* goes into `dependencies ...
I can install types with simple npm install @types/some-library . I'm not sure if I should --save or --save-dev them. It seems to...
Read more >6. Types Declarations and @types - Effective TypeScript [Book]
(These are known as transitive dependencies.) devDependencies. These packages are used to develop and test your code but are not required at runtime....
Read more >Types of dependencies | Yarn
As such there are a number of different types of dependencies that you can have (e.g. dependencies , devDependencies , and peerDependencies )....
Read more >change @types/node dependencies to devDependencies ...
My suggestion is to replace all @types/node dependencies with devDependencies so that they are no longer installed when you install the main ...
Read more >Tool to tell me which @types deps should be deps, which can ...
All @types dependencies should be devDependencies . That your library is using another library shouldn't concern the user of your library. If ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We did a refresh of our lockfile so most likely graphql-shield picked up the new version of types since the version is not pinned but uses
^
.How did you resolve it? Is this still relevant then?