Details of pnpm task aliases described below is visible in doughnut/package.json
and doughnut/frontend/package.json.
1.1. Install Biome
Biome One toolchain for your web project Format, lint, and more in a fraction of a second.
From the root of your local doughnut source directory, run:
pnpm format:allFrom the root of your local doughnut source directory, run:
pnpm backend:formatFrom the root of your local doughnut source directory, run:
pnpm frontend:formatFrom the root of your local doughnut source directory, run:
pnpm cy:formatFrom the root of your local doughnut source directory, run:
pnpm openapi:lintLinting is mostly for the CI server to check for any leaked warnings or errors. Developers should use format instead of lint.
From the root of your local doughnut source directory, run:
pnpm lint:allFrom the root of your local doughnut source directory, run:
pnpm backend:lintFrom the root of your local doughnut source directory, run:
pnpm frontend:lintFrom the root of your local doughnut source directory, run:
pnpm cy:lintFrom the root of your local doughnut source directory, run:
pnpm openapi:lintNote: The OpenAPI linting uses Redocly CLI to validate the open_api_docs.yaml file. Configuration is defined in redocly.yaml.