alloc / alloc/indo

Link @types packages from the node_modules of other linked dependencies

Abierto
#45 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement priority:high
Lenguaje dominante
TypeScript
Estrellas
18
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Let's say I have a local `react-native` clone (`RN`), which has `@types/react` installed.

Then, I have a package `A` that is linked to `RN`. Even if it has its own `node_modules/@types/react` package, it might get TS2742 errors about a dependency on the `@types/react` of `RN`, which is "non portable".

To fix this, Indo can search linked dependencies (like `RN`) for `node_modules/@types` packages and link them into the node_modules of the dependent package `A`.

But `@types` packages in `devDependencies` should probably not be linked.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.