0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-25 13:19:30 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Yusuke Wada
42294d9f1c
chore: tweak jest.config.js (#1274)
* chore: tweak `jest.config.js`

* fix for lagon test
2023-07-28 16:26:04 +09:00
Horie Issei
7a146a6f3f
chore: remove unnecessary config testPathIgnorePatterns (#697) 2022-12-02 02:18:00 +09:00
Taishi Naritomi
95973a5b95
fix(package.json): add "type": "module" (#679) 2022-11-26 15:45:24 +09:00
Yusuke Wada
d2fa90f0fe
fix(package.json): exports types correctly (#669)
* fix(package.json): exports types correctly

* make jest config commonjs
2022-11-20 15:46:18 +09:00
Yusuke Wada
ca52dd898e
fix(build): fix ESM support in Node.js / use esbuild (#631)
* fix(build): fix ESM support in Node.js / use `esbuild`

* add tsx

* denoify ignore
2022-10-28 08:46:02 +09:00
Yusuke Wada
6ddba47cb5
chore: absolute import to relative import (#228) 2022-05-14 12:55:01 +09:00
Yusuke Wada
ac713c0659
refactor: refine directory structure (#156)
* refactor: refine importing mechanism

* refactor: move `CODE_OF_CONDUCT.md`
2022-04-20 14:06:04 +09:00
Yusuke Wada
7dd486ad7b
feat: builtin middleware as sub module (#81)
# BREAKING CHANGES!!

Now, builtin middleware are not in main package. You can't use `Middleware.logger()` method. Call sub modules if needed:

```js
import { Hono } from 'hono'
import { poweredBy } from 'hono/powered-by'
import { logger } from 'hono/logger'

const app = new Hono()

app.use('*', poweredBy())
app.use('*', logger())
```

Closes: #80

---

* feat: builtin middleware as sub module

* fixed middleware

* Update readme

* Add types

* New gif
2022-02-01 22:15:00 +09:00
Yusuke Wada
29f67c5b72
feat: Mustache Middleware (#72)
* [WIP] feat: Mustache Middleware

Dirty code.
A Big problem is tests for Workers Site KV does not work well...

* feat: mustache middleware

* Add readme
2022-01-29 09:09:37 +09:00
Minghe
52b56e6ddb
feat(miniflare): repalce service-worker-mock with miniflare (#41)
* feat(miniflare): repalce service-worker-mock with miniflare

* feat(ci): add build step
2022-01-12 02:14:53 +09:00
Yusuke Wada
511c0ebd7e
Feature/example blog (#39)
* Add blog CRUD example

* Fixed some

* Exclude example test
2022-01-10 23:30:19 +09:00
Minghe
cb4f3d6282
feat(basic-auth): basic-auth middleware (#28)
* feat(basic-auth): basic-auth middleware

* fix(dep): update yarn.lock

* refactor(review): resolove some comments
2022-01-07 17:44:08 +09:00
Yusuke Wada
e6039f69f9
Migrate to TypeScript (#21)
* Migrate to TypeScript

* ready for publish
2022-01-05 18:41:29 +09:00