Skip to content

Commit

Permalink
docs(core): reference convert-to-monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann authored and juristr committed Aug 28, 2023
1 parent 226dfaf commit 29850b0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/shared/recipes/repo-types/standalone-to-integrated.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ In many ways, a standalone repository is an integrated repository, but with one

You can always add another app to a standalone repository the same way you would in an integrated repo. But at some point, you may want to move the primary app out of the root of your repo because the repo is no longer primarily focused on that one app. There are other apps that are equally important and you want the folder structure to align with the new reality.

## Strategy
## Run the Generator

The `convert-to-monorepo` generator will attempt to convert a standalone repo to an integrated monorepo.

```shell
nx g convert-to-monorepo
```

If you need to do the conversion manually, you can follow the steps below.

## Manual Conversion Strategy

For this recipe, we'll assume that the root-level app is named `my-app`. The high-level process we'll go through to move the app involves four stages:

Expand Down

1 comment on commit 29850b0

@vercel
Copy link

@vercel vercel bot commented on 29850b0 Aug 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev
nx-dev-nrwl.vercel.app

Please sign in to comment.