Fix build:openapi script to use sequential commands

Replaces '&' with '&&' in the build:openapi script to ensure that 'node ./dist/schemas.mjs' runs only after 'vite build' completes successfully.
This commit is contained in:
手瓜一十雪
2026-01-27 20:34:21 +08:00
parent 15a983d392
commit 3c49dffb17

View File

@@ -5,7 +5,7 @@
"type": "module", "type": "module",
"main": "index.ts", "main": "index.ts",
"scripts": { "scripts": {
"build:openapi": "vite build & node ./dist/schemas.mjs" "build:openapi": "vite build && node ./dist/schemas.mjs"
}, },
"dependencies": { "dependencies": {
"@sinclair/typebox": "^0.34.38", "@sinclair/typebox": "^0.34.38",