fix: use npx tsx for openapi generation in build script

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Frederic Cabassut
2026-03-13 06:58:42 +01:00
co-authored by Claude Opus 4.6
parent d2bf683744
commit 9fe2705584
+2 -2
View File
@@ -12,8 +12,8 @@
},
"scripts": {
"dev": "vite dev",
"build": "tsx scripts/generate-openapi.ts && vite build",
"openapi": "tsx scripts/generate-openapi.ts",
"build": "npx tsx scripts/generate-openapi.ts && vite build",
"openapi": "npx tsx scripts/generate-openapi.ts",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",