contract testing

This commit is contained in:
2025-12-24 00:01:01 +01:00
parent 43a8afe7a9
commit 5e491d9724
52 changed files with 2058 additions and 612 deletions

View File

@@ -61,6 +61,11 @@
"api:sync-types": "npm run api:generate-spec && npm run api:generate-types",
"api:test": "vitest run --config vitest.api.config.ts",
"api:coverage": "vitest run --config vitest.api.config.ts --coverage",
"test:api:contracts": "vitest run --config vitest.api.config.ts apps/api/src/shared/testing/contractValidation.test.ts",
"test:contract:compatibility": "tsx scripts/contract-compatibility.ts",
"test:contracts": "tsx scripts/run-contract-tests.ts",
"test:website:types": "vitest run --config vitest.website.config.ts apps/website/lib/types/contractConsumption.test.ts",
"test:type-generation": "vitest run --config vitest.scripts.config.ts scripts/test/type-generation.test.ts",
"build": "echo 'Build all packages placeholder - to be configured'",
"chrome:debug": "open -a 'Google Chrome' --args --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug",
"companion:build": "npm run build --workspace=@gridpilot/companion",