mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Renamed the build script from build:schema to build:openapi in napcat-schema and updated the workflow to use the new script. Changed OpenAPI version from 3.1.0 to 3.0.1 in the schema generator. Added napcat-vite as a dependency and integrated its version plugin into the Vite config.
20 lines
429 B
JSON
20 lines
429 B
JSON
{
|
|
"name": "napcat-schema",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "index.ts",
|
|
"scripts": {
|
|
"build:openapi": "vite build & node ./dist/schemas.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@sinclair/typebox": "^0.34.38",
|
|
"napcat-onebot": "workspace:*",
|
|
"napcat-common": "workspace:*",
|
|
"napcat-vite": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "^4.7.1",
|
|
"vite": "^6.0.0"
|
|
}
|
|
} |