Organizer and productivity tools mono-repository.
Trigger | Badge | |
---|---|---|
:information_source: | Manual, Scheduled (weekly) | |
:information_source: | Manual | |
:information_source: | PR merge event (destination: trunk) | |
:information_source: | Scheduled (weekly) | |
:information_source: | PR open event (destination: trunk) |
In order to run own copy of the project one must fulfill the following requirements.
recommended
yarn install:all:linux
should install everything needed to work with the project;should work due to the similarities with Linux
yarn install:all:osx
should install everything needed to work with the project;should work, but no guarantees
shellcheck
via PowerShell;Example :iwr -useb get.scoop.sh | iex
scoop install shellcheck
Git BASH
;git config --global core.autocrlf false
git config --global core.eol lf
functions
folder.The project has lots of package scripts, check it in the package.json
located in the project root, or use the following command (see terminal output for usage tips)
yarn workspace:help
Using commitizen cli is mandatory.
Provided all dependencies are installed, and commitizen cli is installed as a global dependency, this command must be used.
Example :git cz
The GitBook documentation is generated based on this GitHub repo.
Application deployments and autogenerated engineering documentation.
feature
librarynpx nx generate client-feature client-<feature-name> --tags=scope:client-<feature-name>,type:feature
ui
librarynpx nx generate client-ui client-ui-<feature-name> --tags=scope:client-ui-<feature-name>,type:ui
data-access
librarynpx nx generate client-store client-store-<feature-name> --tags=scope:client-store-<feature-name>,type:data-access
util
librarynpx nx generate client-util client-util-<feature-name> --tags=scope:client-util-<feature-name>,type:util
npx nx generate module-boundaries
This project was generated using Nx.
🔎 Nx is a set of Angular CLI power-ups for modern development.
Nx supports many plugins which add capabilities for developing different types of applications and different tools.
These capabilities include generating applications, libraries, .etc as well as the devtools to test, and build projects as well.
Below are plugins which are added to the workspace:
Application type | Command | Domain |
---|---|---|
Angular | nx add @nx/angular |
Web client |
Nest | nx add @nx/nest |
API |
Node | nx add @nx/node |
Automation |
Storybook | nx add @nx/storybook |
UI testing |
Cypress | nx add @nx/cypress |
E2E testing |
Jest | nx add @nx/jest |
Unit testing |
To generate an application run:
Example :npx nx g @nx/angular:app my-app
You can use any of the plugins above to generate applications as well.
When using Nx, you can create multiple applications and libraries in the same workspace.
To generate a library run:
Example :npx nx g @nx/angular:lib my-lib
You can also use any of the plugins above to generate libraries as well.
Libraries are sharable across libraries and applications.
It can be imported from @upgraded-enigma/mylib
.
To start a dev server run:
Example :npx nx serve my-app
Navigate to http://localhost:4200/.
The app will automatically reload if you change any of the source files.
To generate a new component run:
Example :npx nx g @nx/angular:component my-component --project=my-app
To build the project run:
Example :npx nx build my-app
The build artifacts will be stored in the dist/
directory.
Use the --prod
flag for a production build.
To execute the unit tests run:
Example :npx nx test my-app
To execute the unit tests affected by a change run:
Example :npx nx affected:test
To execute the end-to-end tests run:
Example :npx nx e2e my-app
To execute the end-to-end tests affected by a change run:
Example :npx nx affected:e2e
To see a diagram of the dependencies of the projects run:
Example :npx nx dep-graph
npx nx g @nx/angular:storybook-configuration project-name
npx nx run tools:help
Visit the Nx Documentation to learn more.