aboutcode-org / aboutcode-org/scancode-toolkit

Support yarn "resolutions"

未關閉
#4,189 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
new feature
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

See https://yarnpkg.com/configuration/manifest#resolutions

> Override the resolutions of specific dependencies.

> This field allows you to instruct Yarn to use a specific resolution (specific package version) instead of anything the resolver would normally pick. This is useful to enforce all your packages to use a single version of a dependency, or backport a fix. The syntax for the resolution key accepts one level of specificity, so all the following examples are correct.
>
> Note: When a path is relative, like it can be with the file: and portal: protocols, it is resolved relative to the path of the project.
>
> Note: The resolutions field can only be set at the root of the project, and will generate a warning if used in any other workspace.
>

See also:
- https://github.com/aboutcode-org/scancode-toolkit/issues/4122

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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