Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(contributing): match the checklist to the CI gates
Yudhi Armyndharisfa7e9532c24e
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 0a913510c..414531379 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -36,15 +36,32 @@ Default storage is SQLite, so no external services are required to run locally.Please make sure these pass locally:+Backend:+```bashnpm run build # NestJS build (tsc)+npx tsc --noEmit # also type-checks specs, which the build excludesnpm test # unit tests (Jest)+npm run test:docs # docs-sync specs, a separate lane `npm test` does not runnpm run lint # ESLint-npm run format # Prettier-npm --prefix dashboard run build # dashboard type-check + build+npm run format # Prettier (CI runs `format:check`)+```++Dashboard, where CI runs each of these as its own step:++```bash+cd dashboard+npm run lint && npm run format:check && npm run typecheck+npm run i18n:check && npm run build && npm run test:unit```-- Add or update tests for behavior changes — specs are colocated as `*.spec.ts`.+If you changed a DTO, a route, or an `@ApiResponse`, also run `npm run openapi:export` and+commit the snapshot, then `npm run openapi:check` and `npm run check:contract-shapes`. The+hand-written SDK types are compared against the schemas and will fail CI by field name.++- Add or update tests for behavior changes. Backend specs are colocated as `*.spec.ts`+ and run under Jest; dashboard tests are colocated as `*.test.ts` and run under+ `node --test`, so a dashboard file named `*.spec.ts` is never executed.- Keep each PR focused on one logical change; it makes review (and credit) much easier.- Update `docs/` and the `CHANGELOG.md` `[Unreleased]` section when your change isuser-visible. (Maintainers own version stamping and release cutting.)