Typings peerDependencies
See original GitHub issueMore of a question about why the typings packages are a peer dependency?
Does this not bloat other peoples package.json
if they dont use typings?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:13
- Comments:15 (3 by maintainers)
Top Results From Across the Web
Allow type to have peerDependencies instead of dependencies.
If package developer choose to have a peerDependency instead of a dependency there must be a reason a typing package should respect that......
Read more >Peer Dependencies | Node.js
UPDATE: npm versions 1, 2, and 7 will automatically install peerDependencies if they are not explicitly depended upon higher in the dependency ...
Read more >How do I handle optional peer dependencies when publishing ...
If the typings of foo and bar are distributed with the libraries themselves, you have to either include the libraries as dependencies (which...
Read more >typesync | Yarn - Package Manager
Install missing TypeScript typings for dependencies in your package.json . npm dependency Status devDependency Status Build Status Coveralls npm node.
Read more >package.json | pnpm中文文档
But what if button has react in its peer dependencies? If all projects in the monorepo use the ... "typings": "lib/index.d.ts" } }....
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 Free
Top 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
Is there a solution yet?
Instead of peerDependencies, typings should be devDependencies, optionalDependencies (or simply removed)