AllenCell / AllenCell/vole-core

Change `three` to a peer dependency

Đang mở
#303 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Tech Debt
Ngôn ngữ chính
TypeScript
Star
106
Fork
11
Merge trung bình
3 ngày 51 phút
Pull request đã merge (30 ngày)
12

Mô tả

## Use Case

Having multiple versions of `three` usually causes conflicts, because `three` expects only a single version to be installed. `vole-core` requires `three`, but users of `vole-core` often need to install `three` as well.

From what I understand, adding `three` as a peer dependency could help throw more explicit warnings if incompatible versions are installed! (Though A. I could be wrong and B. `three` doesn't use semver...)

## Solution

- Add `three` to the list of peer dependencies in `package.json`.

## Alternatives

_Please describe any alternatives you've considered, even if you've dismissed them_

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.