Adding redocly generation.

This commit is contained in:
Dessalines 2025-01-22 10:54:59 -05:00
parent 79d4a8cb69
commit 2b7ef3dc1c
3 changed files with 2086 additions and 1 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@ package
node_modules
docs
tsoa_build
redoc-static.html

View file

@ -13,13 +13,14 @@
"docs": "typedoc src/index.ts",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives && prettier --check src",
"prepare": "pnpm run build && husky",
"tsoa": "tsoa spec-and-routes && tsc"
"tsoa": "tsoa spec-and-routes && tsc && redocly build-docs tsoa_build/swagger.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LemmyNet/lemmy-js-client.git"
},
"devDependencies": {
"@redocly/cli": "^1.27.2",
"@types/joi": "^17.2.3",
"@types/node": "^22.7.4",
"@typescript-eslint/eslint-plugin": "^8.7.0",

File diff suppressed because it is too large Load diff