Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What problem does this solve
When working recently on a feature it was difficult to set up a local development workflow across multiple repos. Allowing a workflow across multiple repos locally allows for early feedback on development work - helping to see changes made locally while reducing the need to publish repos to see how implementation of library might effect another that depends on it.
What this PR presents
This is something I put together to just help me work locally for change across
UI
andapp-runtime
- The question here is would this be useful to anyone else?This PR is also dependent on changes in the other PR on the
app-runtime
repoI used
yarn link
to create locally linked repos forui
andapp-runtime
- links have to be established in all the packages in the dependency monorepo and then all have to be consumed in dependent repo.With this workflow to link the repos
yarn link:all
in app-runtimeUI
you run inyarn link:app-runtime
yarn build
and those changes should be available in theUI
repoTo unlink the repos
UI
you run inyarn unlink:app-runtime
UI
runyarn install --force
to reinstall the original libs that the linking replacedapp-runtime
runyarn unlink:all
Considerations
ui
andapp-runtime
ui
- I've only seen this work in the packages I cared about for the HeaderBar work I was doing and I don't know if it will work for all packages inui
ui
andapp-runtime
this might stop this workui
,app-runtime
andapp-platform
- this might have been a dependency issue as stated above