Skip to content

Commit 47a5b26

Browse files
committed
🎉 feat: type
1 parent 055fa57 commit 47a5b26

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
# 0.6.2 - 11 Sep 2023
2+
- Ship lodash.cloneDeep type
3+
4+
# 0.6.1 - 17 Aug 2023
5+
- Add support for user provided components
16

27
# 0.6.0 - 6 Aug 2023
38
- Add support for Elysia 0.6
49

5-
610
# 0.6.0-rc.0 - 6 Aug 2023
711
- Add support for Elysia 0.6
812
# 0.5.0 - 15 May 2023

bun.lockb

0 Bytes
Binary file not shown.

example/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { swagger } from '../src/index'
33
import { plugin } from './plugin'
44

55
const app = new Elysia({
6-
aot: false
6+
// aot: false
77
})
88
.use(
99
swagger({

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elysiajs/swagger",
3-
"version": "0.6.1",
3+
"version": "0.6.2",
44
"description": "Plugin for Elysia to auto-generate Swagger page",
55
"author": {
66
"name": "saltyAom",
@@ -29,7 +29,7 @@
2929
"license": "MIT",
3030
"scripts": {
3131
"dev": "bun run --watch example/index.ts",
32-
"test": "bun wiptest && npm run test:node",
32+
"test": "bun test && npm run test:node",
3333
"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",
3434
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
3535
"release": "npm run build && npm run test && npm publish --access public"
@@ -38,15 +38,15 @@
3838
"elysia": ">= 0.6.7"
3939
},
4040
"devDependencies": {
41-
"@types/lodash.clonedeep": "^4.5.7",
4241
"@types/node": "^20.1.4",
4342
"bun-types": "^0.7.0",
44-
"elysia": "^0.6.10",
43+
"elysia": "^0.6.20",
4544
"eslint": "^8.40.0",
4645
"rimraf": "4.3",
4746
"typescript": "^5.0.4"
4847
},
4948
"dependencies": {
49+
"@types/lodash.clonedeep": "^4.5.7",
5050
"lodash.clonedeep": "^4.5.0"
5151
}
5252
}

0 commit comments

Comments
 (0)