- Automatic Generation
- Manual Creation
Automatic Generation
Turborepo has a very powerful tool to automatically generate new packages/apps based on any of your exisiting packages. For example: Suppose, we have to add an addition NextJS app calledadmin
, for our admin panel.
We can just run
landing
NextJS app and the interactive CLI will let you choose what all packages to include and even to make this a package or an app.
You can specify the name of the app using the
--name
flag.Manual Generation
We encourage you to use the Turborepo code generator to automatically generate packages.
pnpm-workspace.yaml
.
By default, the file includes all the packages and apps in the
/apps
and /packages
folder using a glob matcher.