How to move a single app to a separate new repository? #7736
MaurizioCasciano
started this conversation in
Feature Requests
Replies: 2 comments 5 replies
-
@MaurizioCasciano Google has a very handy tool for that https://github.com/google/copybara Would be great to hear if NX has any capabilities for a proper moving of an app out of a monorepo. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Hi MaurizioCasciano did you find solution or got progress with that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's consider an NX workspace with different apps
A, B, C
and libs
LA, LB, LC, Shared,
belonging to the private App-Mono git repository.
I am looking for the best way to opensource a subset of the monorepo, App-C, to the community.
How can we move the app C, together with LC and Shared libs (and the other dependencies, e.g. package.json)
to a separate/open-source git repository? Maybe keeping the NX Workspace configuration, but just for that particular app and its dependencies.
How to have this new repository linked with the original monorepo repository in order to easily merge back and forth the new commits from/to the community?
A possible approach I did find is to use the Git Filter-Repo command
in order to create a new repository with only the needed files, but maybe there is another way to do it.
Beta Was this translation helpful? Give feedback.
All reactions