Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ jobs:
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: ${{ matrix.node-version }}
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- run: bun install
- run: bun run format
- run: bun run lint
- run: bun run test
- uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5
with:
cache: true
run_install: true
- run: pnpm run format
- run: pnpm run lint
- run: pnpm run test

ci-build:
runs-on: ubuntu-latest
Expand All @@ -37,9 +39,11 @@ jobs:
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 24.x
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- run: bun install
- run: bun run build
- uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5
with:
cache: true
run_install: true
- run: pnpm run build

ci-windows:
runs-on: windows-latest
Expand All @@ -49,6 +53,8 @@ jobs:
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22.x
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- run: bun install
- run: bun run test
- uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5
with:
cache: true
run_install: true
- run: pnpm run test
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
with:
node-version: 24.x
registry-url: 'https://registry.npmjs.org'
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- run: npm install -g npm@11.17.0
- run: bun install --frozen-lockfile
- run: bun run build
- uses: pnpm/action-setup@8912a9102ac27614460f54aedde9e1e7f9aec20d # v6.0.5
with:
cache: true
run_install: true
- run: pnpm run build
- name: Publish to npm
run: npm stage publish --provenance --access public
run: pnpm stage publish
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,11 @@ It works on Node.js versions greater than 20.x.

## Installation

You can install it from the npm registry with `npm` command:
You can install it from the npm registry:

```sh
npm install @hono/node-server
```

Or use `yarn`:

```sh
yarn add @hono/node-server
Comment thread
BlankParticle marked this conversation as resolved.
pnpm add @hono/node-server
```

## Usage
Expand Down
5 changes: 3 additions & 2 deletions benchmarks/fetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ This benchmark uses a basic Fetch API-based application without the Hono framewo
## Usage

```bash
npm install
npm run benchmark
pnpm install
pnpm run -w build
pnpm run benchmark
```

## What's Being Tested
Expand Down
1,416 changes: 0 additions & 1,416 deletions bun.lock

This file was deleted.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"build": "tsdown --external hono",
"watch": "tsdown --watch",
"postbuild": "publint",
"prerelease": "bun run build && bun run test --run",
"prerelease": "pnpm run build && pnpm run test --run",
"release": "np --no-publish",
"lint": "eslint src test",
"lint:fix": "eslint src test --fix",
Expand All @@ -87,7 +87,8 @@
"author": "Yusuke Wada <yusuke@kamawada.com> (https://github.com/yusukebe)",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
"access": "public",
"provenance": true
},
"engines": {
"node": ">=20"
Expand All @@ -112,5 +113,5 @@
"peerDependencies": {
"hono": "^4"
},
"packageManager": "bun@1.2.20"
"packageManager": "pnpm@11.9.0"
}
Loading
Loading