Monorepo

TL;DR You can use our monorepo example as a boilerplate for your project instead.

Usage is mostly the same as described in usage section, but there are a few key differences.

1. There are two types of packages - widgets and apps.

The default RegExp patterns to match them are .*union-app.* and .*union-widget.*. Patterns can be changed in configuration.

2. The application name must reflect the directory name.

The application name uses PascalCase, the directory name uses kebab-case.

E.g. YourAppName > union-app-your-app-name.

3. You can use as many Workspaces as you want.

E.g. we use boilerplates/* and packages/* workspaces in our github repository.