Skip to content

Commit

Permalink
💚 fix package check from skypack
Browse files Browse the repository at this point in the history
  • Loading branch information
jellydn committed May 8, 2021
1 parent 8acc991 commit c778507
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Welcome to next-swagger-doc 👋

![Version](https://img.shields.io/badge/version-0.1.3-blue.svg?cacheSeconds=2592000)
![Version](https://img.shields.io/badge/version-0.1.5-blue.svg?cacheSeconds=2592000)
![Prerequisite](https://img.shields.io/badge/node-%3E%3D10-blue.svg)
[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](http://next-swagger-doc.productsway.com/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)
[![Twitter: jellydn](https://img.shields.io/twitter/follow/jellydn.svg?style=social)](https://twitter.com/jellydn)

> Generate Swagger JSON API from NextJS Api Routes
### 🏠 [Homepage](https://github.com/jellydn/next-swagger-doc)
## 🏠 [Homepage](https://github.com/jellydn/next-swagger-doc)

### [Demo](https://next-swagger-doc-demo.productsway.com/api-doc)

Expand Down
19 changes: 17 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"src"
],
"engines": {
"node": ">=10"
"node": ">=12"
},
"scripts": {
"start": "tsdx watch",
Expand All @@ -35,8 +35,22 @@
"trailingComma": "es5"
},
"name": "next-swagger-doc",
"keywords": [
"next-swagger",
"next-swagger-doc",
"nextjs",
"swagger"
],
"author": "Huynh Duc Dung",
"repository": {
"type": "git",
"url": "https://github.com/jellydn/next-swagger-doc"
},
"module": "dist/next-swagger-doc.esm.js",
"exports": {
"require": "./dist/index.js",
"import": "./dist/next-swagger-doc.esm.js"
},
"size-limit": [
{
"path": "dist/next-swagger-doc.cjs.production.min.js",
Expand All @@ -49,6 +63,7 @@
],
"devDependencies": {
"@size-limit/preset-small-lib": "4.10.2",
"@skypack/package-check": "^0.2.2",
"@types/swagger-jsdoc": "6.0.0",
"husky": "6.0.0",
"next": "10.2.0",
Expand All @@ -61,4 +76,4 @@
"dependencies": {
"swagger-jsdoc": "^6.1.0"
}
}
}
20 changes: 20 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,14 @@
webpack "^4.44.1"
webpack-bundle-analyzer "^4.4.0"

"@skypack/package-check@^0.2.2":
version "0.2.2"
resolved "https://registry.yarnpkg.com/@skypack/package-check/-/package-check-0.2.2.tgz#92e1cb1864e7ed9aef9076f92a45fc285a0abef3"
integrity sha512-T4Wyi9lUuz0a1C2OHuzqZ0aFOCI0AmaGTb2LP9sHgWdoHXlB3JU02gfBpa0Y081G/gFsJYpQ/R0iCJRzF/nknw==
dependencies:
kleur "^4.1.3"
yargs-parser "^20.2.3"

"@types/babel__core@^7.1.7":
version "7.1.14"
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.14.tgz#faaeefc4185ec71c389f4501ee5ec84b170cc402"
Expand Down Expand Up @@ -5635,6 +5643,11 @@ kleur@^3.0.3:
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==

kleur@^4.1.3:
version "4.1.4"
resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.4.tgz#8c202987d7e577766d039a8cd461934c01cda04d"
integrity sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==

language-subtag-registry@~0.3.2:
version "0.3.21"
resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.21.tgz#04ac218bea46f04cb039084602c6da9e788dd45a"
Expand Down Expand Up @@ -9172,8 +9185,10 @@ watchpack@^1.7.4:
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.5.tgz#1267e6c55e0b9b5be44c2023aed5437a2c26c453"
integrity sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==
dependencies:
chokidar "^3.4.1"
graceful-fs "^4.1.2"
neo-async "^2.5.0"
watchpack-chokidar2 "^2.0.1"
optionalDependencies:
chokidar "^3.4.1"
watchpack-chokidar2 "^2.0.1"
Expand Down Expand Up @@ -9415,6 +9430,11 @@ [email protected], yargs-parser@^18.1.2:
camelcase "^5.0.0"
decamelize "^1.2.0"

yargs-parser@^20.2.3:
version "20.2.7"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.7.tgz#61df85c113edfb5a7a4e36eb8aa60ef423cbc90a"
integrity sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw==

yargs@^15.3.1:
version "15.4.1"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8"
Expand Down

0 comments on commit c778507

Please sign in to comment.