Skip to content

Commit

Permalink
fix(dev-server) Missing exports for node,bun adapter (#170)
Browse files Browse the repository at this point in the history
* fix(dev-server) Missing exports in package.json for node,bun adapter

* Changing a changeset
  • Loading branch information
arisris authored Aug 29, 2024
1 parent 23ecdce commit 4137d3f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wild-countries-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hono/vite-dev-server': patch
---

(fix) missing export for initial node, bun adapter in the package.json from the previous version
18 changes: 17 additions & 1 deletion packages/dev-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@
"types": "./dist/adapter/cloudflare.d.ts",
"require": "./dist/adapter/cloudflare.cjs",
"import": "./dist/adapter/cloudflare.js"
},
"./node": {
"types": "./dist/adapter/node.d.ts",
"require": "./dist/adapter/node.cjs",
"import": "./dist/adapter/node.js"
},
"./bun": {
"types": "./dist/adapter/bun.d.ts",
"require": "./dist/adapter/bun.cjs",
"import": "./dist/adapter/bun.js"
}
},
"typesVersions": {
Expand All @@ -42,6 +52,12 @@
],
"cloudflare": [
"./dist/adapter/cloudflare.d.ts"
],
"node": [
"./dist/adapter/node.d.ts"
],
"bun": [
"./dist/adapter/bun.d.ts"
]
}
},
Expand Down Expand Up @@ -92,4 +108,4 @@
"@hono/node-server": "^1.12.0",
"minimatch": "^9.0.3"
}
}
}

0 comments on commit 4137d3f

Please sign in to comment.