AllenCell / AllenCell/vole-core

Change `three` to a peer dependency

Aperta
#303 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Tech Debt
Lingua principale
TypeScript
Stelle
106
Fork
11
Merge medio
3g 51m
PR unite (30g)
12

Descrizione

## 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.