-
Notifications
You must be signed in to change notification settings - Fork 76
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
Explicit peer dependencies #108
Conversation
@adidahiya why |
I guess it is similar to microsoft/tslint-microsoft-contrib#371 |
Meh, this is kind of the reason I never listed explicit peer dependencies in the first place (it gets tedious to maintain and doesn't provide many benefits). The whole idea here is to prevent multiple versions of |
I agree, it is good reason.
But |
And now with |
@ajafff do you have any opinions here? |
As @timocov said, tsutils has typescript in peerDependencies. Hence there will only be one version of typescript installed. The only reason to put tsutils in peerDependencies is to avoid different (major) versions of it in tslint and rules packages. But I don't think that's necessary. |
@ajafff given that logic, it should probably be safe to make |
I think that |
I agree with @timocov. A plugin should not bring it's own version of the library it plugs into. Take |
Fixes #106