mirror of
https://github.com/zoriya/elysia-swagger.git
synced 2025-12-06 00:36:10 +00:00
🎉 feat: type
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
|
# 0.6.2 - 11 Sep 2023
|
||||||
|
- Ship lodash.cloneDeep type
|
||||||
|
|
||||||
|
# 0.6.1 - 17 Aug 2023
|
||||||
|
- Add support for user provided components
|
||||||
|
|
||||||
# 0.6.0 - 6 Aug 2023
|
# 0.6.0 - 6 Aug 2023
|
||||||
- Add support for Elysia 0.6
|
- Add support for Elysia 0.6
|
||||||
|
|
||||||
|
|
||||||
# 0.6.0-rc.0 - 6 Aug 2023
|
# 0.6.0-rc.0 - 6 Aug 2023
|
||||||
- Add support for Elysia 0.6
|
- Add support for Elysia 0.6
|
||||||
# 0.5.0 - 15 May 2023
|
# 0.5.0 - 15 May 2023
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { swagger } from '../src/index'
|
|||||||
import { plugin } from './plugin'
|
import { plugin } from './plugin'
|
||||||
|
|
||||||
const app = new Elysia({
|
const app = new Elysia({
|
||||||
aot: false
|
// aot: false
|
||||||
})
|
})
|
||||||
.use(
|
.use(
|
||||||
swagger({
|
swagger({
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@elysiajs/swagger",
|
"name": "@elysiajs/swagger",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"description": "Plugin for Elysia to auto-generate Swagger page",
|
"description": "Plugin for Elysia to auto-generate Swagger page",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "saltyAom",
|
"name": "saltyAom",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "bun run --watch example/index.ts",
|
"dev": "bun run --watch example/index.ts",
|
||||||
"test": "bun wiptest && npm run test:node",
|
"test": "bun test && npm run test:node",
|
||||||
"test:node": "npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js",
|
"test:node": "npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js",
|
||||||
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
|
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
|
||||||
"release": "npm run build && npm run test && npm publish --access public"
|
"release": "npm run build && npm run test && npm publish --access public"
|
||||||
@@ -38,15 +38,15 @@
|
|||||||
"elysia": ">= 0.6.7"
|
"elysia": ">= 0.6.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/lodash.clonedeep": "^4.5.7",
|
|
||||||
"@types/node": "^20.1.4",
|
"@types/node": "^20.1.4",
|
||||||
"bun-types": "^0.7.0",
|
"bun-types": "^0.7.0",
|
||||||
"elysia": "^0.6.10",
|
"elysia": "^0.6.20",
|
||||||
"eslint": "^8.40.0",
|
"eslint": "^8.40.0",
|
||||||
"rimraf": "4.3",
|
"rimraf": "4.3",
|
||||||
"typescript": "^5.0.4"
|
"typescript": "^5.0.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@types/lodash.clonedeep": "^4.5.7",
|
||||||
"lodash.clonedeep": "^4.5.0"
|
"lodash.clonedeep": "^4.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user