Skip to content

Commit

Permalink
chore(hello): update CI, dependencies, and build scripts (#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe authored Jul 7, 2024
1 parent 95289e6 commit 61cd9b6
Show file tree
Hide file tree
Showing 3 changed files with 423 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-hello.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
21 changes: 13 additions & 8 deletions packages/hello/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@hono/hello",
"version": "0.1.1",
"description": "An example of third-party middleware for Hono",
"main": "dist/index.js",
"module": "dist/index.mjs",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
Expand All @@ -16,9 +16,14 @@
},
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"license": "MIT",
Expand All @@ -35,8 +40,8 @@
"hono": "*"
},
"devDependencies": {
"hono": "^3.11.7",
"tsup": "^8.0.1",
"vitest": "^1.0.4"
"hono": "^4.4.12",
"tsup": "^8.1.0",
"vitest": "^1.6.0"
}
}
Loading

0 comments on commit 61cd9b6

Please sign in to comment.