From 2c81a69a539ce94fc448d5e0f13e45cd4178373f Mon Sep 17 00:00:00 2001 From: Devin Villarosa Date: Wed, 5 Feb 2025 13:06:33 -0800 Subject: [PATCH] [UI v2] feat: Adds npm script to check only typescript types --- ui-v2/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-v2/package.json b/ui-v2/package.json index df415c712834d..f8e20e07e585c 100644 --- a/ui-v2/package.json +++ b/ui-v2/package.json @@ -14,7 +14,8 @@ "preview": "vite preview", "service-sync": "uv run --with-editable ../. ../scripts/generate_oss_openapi_schema.py && npx openapi-typescript oss_schema.json -o src/api/prefect.ts && rm oss_schema.json", "storybook": "storybook dev -p 6006", - "build-storybook": "storybook build" + "build-storybook": "storybook build", + "validate:types": "tsc -b" }, "dependencies": { "@codemirror/lang-json": "^6.0.1",