-
Notifications
You must be signed in to change notification settings - Fork 238
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
[RRFC] peerDevDependencies #553
Comments
This would be a bit weird; peer requirements hoist up through as many levels of the graph as there are, but dev deps aren’t checked for anything transitive. |
tbh this seems more like something that TS could solve by fixing DT so it sets up peerDep relationships properly. |
@ljharb I'm not sure I understand what you just said. But the open layer library is part developed in javascript & they are somehow generating a .d.ts file out of it. But not sur about what I'm saying, I'm not experienced enough for that |
Motivation ("The Why")
Some libraries are using
devDependencies
that are required to be downloaded in the new project another person may create.Use case:
I'm using the open layer library.
This library does required
@types/topojson-specification
,@types/geojson
&@types/arcgis-rest-api
to be downloaded asdevDependencies
in my project.How
Current Behaviour
This could be archived by adding the dependencies into the
peerDependencies
and hoping that the three shakings make his work.Desired Behaviour
Having a new
peerDevDependencies
list that do work exactly the same way as thepeerDependencies
.The text was updated successfully, but these errors were encountered: