From 613690f5afe7e2202e609fdd050b951425157fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Tue, 27 Jan 2026 20:34:21 +0800 Subject: [PATCH] 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. --- packages/napcat-schema/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/napcat-schema/package.json b/packages/napcat-schema/package.json index 3455497b..8ee44ad6 100644 --- a/packages/napcat-schema/package.json +++ b/packages/napcat-schema/package.json @@ -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",