0.0.1 • Published 3 years ago
@nrwl/nx-workshop-node v0.0.1
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-workshop-nodepackage as dev dependency (e.g.npm i -D @nrwl/nx-workshop-node) - Run the generator with one of the following options:
- Provide
labyou want to complete:nx g @nrwl/nx-workshop-node:complete-labs --lab=5 - Use
fromrange to finish until end:nx g @nrwl/nx-workshop-node:complete-labs --from=2 - Use
torange to catch up with given lab:nx g @nrwl/nx-workshop-node:complete-labs --to=5 - Use
from/torange to catch up with several labs in between:nx g @nrwl/nx-workshop-node:complete-labs --from=2 --from=7 - Use
optionto specify if you want track 1 or track 2:nx g @nrwl/nx-workshop-node:complete-labs --from=19 --option=option2
- Provide
- Run the generated migrations:
npx nx migrate --run-migrations