-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Labels
type: code healthImprovements to readability or robustness of codebaseImprovements to readability or robustness of codebase
Description
Commands to run the root of the project:
- For convenience, devs should run
npm i -g nxduring initial setup. - Run
npm ionce in the root to install deps as before. nx lint,nx affected:lint,nx test, andnx affected:testdo what you think. Do you can also justnx lint web,nx test functions, etc.- Local emu flow: run
nx emulate, thennx serve webin a separate terminal. - To run local dev server at http://localhost:4200/ against staging (ex-dev Firebase):
nx run web:serve:staging(ornx serve web -c staging. - To deploy to staging (ex-dev):
nx deploy:staging.
Note the new configuration names:
- local --> development (*default)
- dev --> staging
- prod --> production
Also note that there's now no need to build each package in the monorepo independently; Nx tracks deps (see nx graph) and builds required packages as needed.
Metadata
Metadata
Assignees
Labels
type: code healthImprovements to readability or robustness of codebaseImprovements to readability or robustness of codebase
Type
Projects
Status
Done