Skip to content

Commit

Permalink
fix(zod-openapi): publish as cjs by default (#189)
Browse files Browse the repository at this point in the history
* fix(zod-openapi): publish as cjs by default

* changeset
  • Loading branch information
yusukebe authored Oct 4, 2023
1 parent b96e7f2 commit 58167f3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-seas-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hono/zod-openapi': patch
---

fix: publish as cjs by default
10 changes: 8 additions & 2 deletions packages/zod-openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": {
Expand Down Expand Up @@ -42,4 +48,4 @@
"engines": {
"node": ">=16.0.0"
}
}
}

0 comments on commit 58167f3

Please sign in to comment.