🎉 feat: type

This commit is contained in:
saltyaom
2023-09-11 13:48:56 +07:00
parent 055fa57b06
commit 47a5b26abc
4 changed files with 10 additions and 6 deletions

View File

@@ -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
- Add support for Elysia 0.6
# 0.6.0-rc.0 - 6 Aug 2023
- Add support for Elysia 0.6
# 0.5.0 - 15 May 2023

BIN
bun.lockb

Binary file not shown.

View File

@@ -3,7 +3,7 @@ import { swagger } from '../src/index'
import { plugin } from './plugin'
const app = new Elysia({
aot: false
// aot: false
})
.use(
swagger({

View File

@@ -1,6 +1,6 @@
{
"name": "@elysiajs/swagger",
"version": "0.6.1",
"version": "0.6.2",
"description": "Plugin for Elysia to auto-generate Swagger page",
"author": {
"name": "saltyAom",
@@ -29,7 +29,7 @@
"license": "MIT",
"scripts": {
"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",
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
"release": "npm run build && npm run test && npm publish --access public"
@@ -38,15 +38,15 @@
"elysia": ">= 0.6.7"
},
"devDependencies": {
"@types/lodash.clonedeep": "^4.5.7",
"@types/node": "^20.1.4",
"bun-types": "^0.7.0",
"elysia": "^0.6.10",
"elysia": "^0.6.20",
"eslint": "^8.40.0",
"rimraf": "4.3",
"typescript": "^5.0.4"
},
"dependencies": {
"@types/lodash.clonedeep": "^4.5.7",
"lodash.clonedeep": "^4.5.0"
}
}