Skip to content

Starter project - UI deps should be owned by the app or the package #484

Closed Answered by jaredpalmer
fibonacid asked this question in Help
Discussion options

You must be logged in to vote

I guess you could do what you're describing with peerDependencies. However, I think it will be easier to simply keep them as dependencies of the ui package as then you can collocate and encapsulate real dependency needs of the package. Also, if you ever do need to publish the package, then it's ready to go. It's also going to be less work as you add more applications to only need to specify deps for ui in one place instead of in each app that consumes it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fibonacid
Comment options

Answer selected by jaredpalmer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants