Nx commands
The repository is monorepo built on Nx. It contains a list of packages for developing and testing libraries.
Clone the repository
git clone git@github.com:belom88/visgl.git
Install dependencies
yarn
VehicleLayer library
The VehicleLayer library (packages/vehicle-layer) is npm library. Is is possible to run build
, publish
, lint
and test
tasks.
Build VehicleLayer
nx run vehicle-layer:build
Lint VehicleLayer
Check code quality with linter
nx run vehicle-layer:lint
Test VehicleLayer
Run unit tests
nx run vehicle-layer:test
Publish VehicleLayer
TBD
Website
Docusaurus documentation application.
Serve Website App
Run application in a web browser for debug
nx run website:serve
Build Website App
nx run website:build
Testing app
The Testing App (packages/vehicle-layer-test-app) is developed to do manual testing of VehicleLayer
. At this moment it is not intended to publish in production.
Serve Testing App
Run application in a web browser for debug
nx run vehicle-layer-test-app:serve:development
Lint Testing App
Check code quality with linter
nx run vehicle-layer-test-app:lint
Test Testing App
Run unit tests
nx run vehicle-layer-test-app:test
Testing App E2E
The "Testing App E2E" is a cypress testing app with e2e tests for "Testing App"
Run Tesing APP e2e tests
nx run vehicle-layer-test-app-e2e:e2e
Lint Testing App E2E
Check code quality with linter
nx run vehicle-layer-test-app-e2e:lint
Global commands
Check code format
nx format:check