Open interfect opened 4 years ago
To reproduce:
npm install --save --dev @codechecks/client
npm ls
I don't think that ts-node
should be in dependencies, it looks strange for me. ts-node
usually is used to run typescript code without transpiling locally. @krzkaczor can you please take a look?
@codechecks/client@0.1.10
has a dependency onnode-ts
^8.0.2
. Butnode-ts@8.0.2
has a peer dependency ontypescript
>=2.0
, andnode-ts@8.6.0
(which is what gets installed today) has a peer dependency ontypescript
>=2.7
.Since the CodeChecks client module is the one that depends on the module with the peer dependency, as I understand it the CodeChecks client module is the one that is responsible for depending on it as a non-peer dependency. There should be a dependency on
typescript
>=2.7
to satisfynode-ts
, and this dependency needs to be bumped if/whennode-ts
releases a new version that matches^8.0.2
and bumps its peer dependency version.Without this dependency, I get this at the end of
npm ls
: