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 a60d8d109c
commit 613690f5af

View File

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