Welcome to the monorepo for @lgr.dev
.
Install Node.js which includes Node Package Manager.
Install the Nx CLI globally.
The following commands may require a project-name
to be specified. For a full list of project names, please refer to
the workspace.json file.
Run nx serve project-name
for an app development server. Navigate to http://localhost:4200/. The app will
automatically reload if you change any of the source files.
Run nx build project-name
to build the project. The build artifacts will be stored in the dist/
directory. Use
the --prod
flag for a production build.
Run nx test project-name
to execute the unit tests via Jest.
Run nx affected:test
to execute the unit tests affected by a change.
Run nx e2e project-name
to execute the end-to-end tests via Cypress.
Run nx affected:e2e
to execute the end-to-end tests affected by a change.
Please adhere to the Conventional Commits specification for adding human and machine-readable meaning to commit messages.
<type>([optional scope]): <short summary>
[optional body]
[optional footer(s)]
- build: Changes to the build system or external dependencies
- ci: Changes to the continuous integration configuration
- docs: Changes to documentation
- feat: Changes which include a new feature
- fix: Changes which include a bug fix
- perf: Changes which include a performance improvement
- refactor: Changes which neither fix a bug nor add a feature
- style: Changes to styling
- test: Changes to unit tests or end-to-end tests
- workspace: Changes to the workspace
Use the summary field to provide a succinct description of the changes:
- Use the imperative, present tense (i.e. 'change', not 'changed' nor 'changes')
- Do not capitalise the first letter
- Do not include a period at the end
Run nx graph
to see a diagram of the dependencies of the projects.