alloc / alloc/indo

Link @types packages from the node_modules of other linked dependencies

未關閉
#45 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement priority:high
主要語言
TypeScript
星號
18
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。