fix(zod-openapi): publish as cjs by default (#189)

* fix(zod-openapi): publish as cjs by default

* changeset
pull/190/head
Yusuke Wada 2023-10-05 08:40:56 +09:00 committed by GitHub
parent b96e7f25ce
commit 58167f3b7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/zod-openapi': patch
---
fix: publish as cjs by default

View File

@ -2,7 +2,6 @@
"name": "@hono/zod-openapi",
"version": "0.7.1",
"description": "A wrapper class of Hono which supports OpenAPI.",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
@ -15,6 +14,13 @@
"publint": "publint",
"release": "yarn build && yarn test && yarn publint && yarn publish"
},
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"license": "MIT",
"private": false,
"publishConfig": {
@ -42,4 +48,4 @@
"engines": {
"node": ">=16.0.0"
}
}
}