Skip to content
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

Consider Lerna or Yarn Workspaces to separate platforms #80

Open
tribou opened this issue May 12, 2018 · 0 comments
Open

Consider Lerna or Yarn Workspaces to separate platforms #80

tribou opened this issue May 12, 2018 · 0 comments

Comments

@tribou
Copy link
Owner

tribou commented May 12, 2018

Problem:

  • An app may not need to span across web, RN, and desktop. Maybe it just needs web, web + desktop, or RN alone. In these cases, it would be great to only install the dependencies needed for one's particular use case.
  • A good way to handle this might be to abstract the shared business logic into its own package. However, npm link and yarn link create a lot of additional overhead that would hamper our current local development workflow.

Solution:

lerna or yarn workspaces could help with this overhead issue while at the same time provide options to choose which platforms (web, desktop, and/or React Native) to add or remove from a single repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant