can we have an option to have all @types only on root package.json of monorepo?
sibelius opened this issue · comments
Sibelius Seraphini commented
Jeff Hansen commented
Would it make sense to make this the default behavior instead? I never used monorepos so I don't know the workflow.
Sibelius Seraphini commented
For me yes, not sure for everybody else
Vijay Britto commented
What happens when different versions of the same package exist? How will code editors figure out that we require v1 of types in a package and v2 in other?
Socks commented
Types should be hooked into the root package.json
only if they have same version for all packages.
Sibelius Seraphini commented
we always try to upgrade all packages to the same versions
Sibelius Seraphini commented
it is better to keep @types in packages they belong