aboutcode-org / aboutcode-org/scancode-toolkit

Support yarn "resolutions"

Đang mở
#4,189 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
new feature
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.