0.2.1 • Published 2 years ago
@nrwl/nx-react-workshop v0.2.1
Nx React Workshop utility
This utility is used to provide automatic lab completion during the Nx React Workshop.
Catching up with missed labs
If you fall behind or join late, we provide migrations that would bring your repository up to date with desired lab. To use the migrarions follow the next steps:
- Install
@nrwl/nx-react-workshoppackage as dev dependency (e.g.yarn add -D @nrwl/nx-react-workshop). If you finished Lab 3.1 - Migrations then you should already have it installed. - Run the generator with one of the following options:
- Provide
labyou want to complete:nx g @nrwl/nx-react-workshop:complete-labs --lab=5or - Use
fromrange to finish until end:nx g @nrwl/nx-react-workshop:complete-labs --from=2 - Use
torange to catch up with given lab:nx g @nrwl/nx-react-workshop:complete-labs --to=5 - Use
from/torange to catch up with several labs in between:nx g @nrwl/nx-react-workshop:complete-labs --from=2 --from=7 - Use
optionto specify if you want track 1 or track 2:nx g @nrwl/nx-react-workshop:complete-labs --from=19 --option=option2(default option is track 2)
- Provide
- Finnally, run the the migrations
npx nx migrate --run-migrationsto have that code generated.
This library was generated with Nx.