-
Notifications
You must be signed in to change notification settings - Fork 16
Maintaining
See .vscode/extensions.json for a list of recommended extensions.
VSCode will suggest to install them when opening the project.
See .vscode/settings.json for defined workspace settings.
Check the configurations for Rider under .idea/ folder
We use Prettier and ESLint to keep our frontend code clean. Having a ESLint warning will break the pipeline. It's
therefore always a good idea to run yarn format and yarn lint before you commit.
yarn prettieryarn formatyarn lintIf you want specific files or folders to be excluded from linting (e.g. generated files), you can add them
to .eslintignore and .prettierignore
We use Cypress for End-to-End-Testing. In order to navigate to the right folder and run Cypress you can use the following command. In order to use cypress testing the Mnestix Browser must be running.
yarn testyarn test:headlessCypress will put videos and screenshots of the tests inside the cypress folder.
In order to run your own E2E-Tests you can put your test files in /cypress/e2e.
In the fixtures folder you can put data to use in your E2E-Tests as json files.
If you have commands you want to use in multiple tests you can put them into the commands.ts file inside
the support folder.
Don't forget to write the method header of your custom commands inside the e2e.ts file as well. This way the IDE
will stop marking your custom commands as wrong.
The YARP proxy route /repo/shells now limits resource and list returns to 104 elements due to the lack of pagination
support.
This change aims to prevent server overload and ensure smoother navigation through resource lists.
If you need to regenerate the OpenAPI client, you can do so by running:
yarn openapi:generateBy adapting src/lib/api/openapitools.json, you can change the OpenAPI client generation settings e.g. the input spec and its version.