-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing dependency on typescript #70
Comments
To reproduce:
|
interfect
added a commit
to interfect/codechecks-monorepo
that referenced
this issue
Jan 10, 2020
This fixes codechecks#70 by adding a dependency that will pull in typescript, which node-ts demands as a peer dependency but can't install itself.
I don't think that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@codechecks/[email protected]
has a dependency onnode-ts
^8.0.2
. But[email protected]
has a peer dependency ontypescript
>=2.0
, and[email protected]
(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
:The text was updated successfully, but these errors were encountered: