This package provides generators for initializing a workspace with pre-configured settings. It includes a preset generator to set up a new workspace and an init generator to coerce peer dependencies. The preset generator leverages `@rxap/plugin-workspace` to initialize the workspace based on provided options.
Add the package to your workspace:
yarn add @rxap/preset-workspace
Execute the init generator:
yarn nx g @rxap/preset-workspace:init
preset generator
nx g @rxap/preset-workspace:preset
Option | Type | Default | Description |
---|---|---|---|
packages | boolean | If true, the workspace will be initialized for package development | |
standalone | boolean | If true, the workspace will be initialized for standalone development | |
license | string | gpl | |
repositoryUrl | string | The URL of the repository | |
skipInstall | boolean |
Initialize the package in the workspace
nx g @rxap/preset-workspace:init