question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typings peerDependencies

See original GitHub issue

More 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:open
  • Created 6 years ago
  • Reactions:13
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

16reactions
anthony0030commented, Mar 8, 2019

Is there a solution yet?

9reactions
pladariacommented, Feb 24, 2018

Instead of peerDependencies, typings should be devDependencies, optionalDependencies (or simply removed)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found