fix(frontend): generate MSW mocks that satisfy their Zod schemas
This commit is contained in:
1 parent
ad4bb94426
commit
1aa505c743
18 files changed
+1439
-133
No files matched your search
@@ -8,7 +8,7 @@
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"generate": "orval --config ./codegen/orval.config.ts",
|
||||
"generate": "orval --config ./codegen/orval.config.ts && node ./codegen/mock-patterns.ts --spec ../api/core/openapi.bundle.yml --endpoints ./src/shared/api/endpoints",
|
||||
"fmt": "prettier --write .",
|
||||
"fmt:check": "prettier --check .",
|
||||
"lint": "pnpm run lint:eslint && pnpm run lint:css",
|
||||
@@ -48,6 +48,7 @@
|
||||
"typescript": "npm:@typescript/typescript6@6.0.2",
|
||||
"typescript-eslint": "8.71.0",
|
||||
"vite": "8.3.2",
|
||||
"vitest": "5.0.3"
|
||||
"vitest": "5.0.3",
|
||||
"yaml": "2.9.1"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user