Skip to content

Conversation

@Feiyang1
Copy link
Member

@firebase/{component} has a peer dependency on @firebase/app-types and some has peer dependency on @firebase/util.

Since firebase depends on @firebase/{component} directly, it should list all the peer dependencies from @firebase/{component} as its dependency, otherwise yarn will complain with unmet peer dependency warning.
The fact that @firebase/app-types is a dependency of @firebase/app is not enough as explained in yarnpkg/yarn#5347 (comment)

This is not a problem with npm because npm doesn't care how the peer dependencies are installed as long as they are there.

@Feiyang1 Feiyang1 merged commit 1811518 into master May 21, 2019
@Feiyang1 Feiyang1 deleted the fei-peerdep branch May 21, 2019 18:37
@firebase firebase locked and limited conversation to collaborators Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants