@nrwl/nx-workshop
v0.4.11
Published
> This library was generated with [Nx](https://nx.dev).
Keywords
Readme
Nx Workshop Utility
This library was generated with Nx.
This library contains migrations, generators and executors used during the Nx Workshop.
How to use lab migrations generator
- Install
@nrwl/nx-workshoppackage as dev dependency (e.g.npm i -D @nrwl/nx-workshop) - Run the generator with one of the following options:
- Provide
labyou want to complete:nx g @nrwl/nx-workshop:complete-labs --lab=5 - Use
fromrange to finish until end:nx g @nrwl/nx-workshop:complete-labs --from=2 - Use
torange to catch up with given lab:nx g @nrwl/nx-workshop:complete-labs --to=5 - Use
from/torange to catch up with several labs in between:nx g @nrwl/nx-workshop:complete-labs --from=2 --from=7 - Use
optionto specify if you want track 1 or track 2:nx g @nrwl/nx-workshop:complete-labs --from=19 --option=option2
- Provide
- Run the generated migrations:
npx nx migrate --run-migrations
