[feature] migrate to monorepo
Some checks failed
Build Backend / Build Docker Image (push) Successful in 3m33s
Test Backend / test (push) Failing after 31s

This commit is contained in:
CDN 2025-02-21 00:49:20 +08:00
commit 05ddc1f783
Signed by: CDN
GPG key ID: 0C656827F9F80080
267 changed files with 75165 additions and 0 deletions

17
api/package.json Normal file
View file

@ -0,0 +1,17 @@
{
"name": "@tss-rocks/api",
"version": "0.0.1",
"private": true,
"scripts": {
"bundle:json": "redocly bundle ./schemas/openapi.yaml --output ./dist/openapi.json --ext json",
"bundle:yaml": "redocly bundle ./schemas/openapi.yaml --output ./dist/openapi.yaml --ext yaml",
"bundle": "pnpm bundle:json && pnpm bundle:yaml",
"build": "pnpm bundle",
"lint": "redocly lint ./schemas/openapi.yaml",
"preview": "redocly preview-docs ./schemas/openapi.yaml",
"docs": "redocly build-docs ./schemas/openapi.yaml --output ./dist/docs.html"
},
"devDependencies": {
"@redocly/cli": "^1.8.0"
}
}