Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jsr): remove helper.ts and middleware.ts #2667

Merged
merged 2 commits into from
May 13, 2024

Conversation

nakasyou
Copy link
Contributor

@nakasyou nakasyou commented May 13, 2024

In feat/jsr, denoify has removed.
exports field of npm and jsr don't have reference to helper.ts and middleware.ts, so these files should be removed.

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun denoify to generate files for Deno
  • bun run format:fix && bun run lint:fix to format the code

@nakasyou nakasyou marked this pull request as draft May 13, 2024 12:42
@nakasyou nakasyou marked this pull request as ready for review May 13, 2024 12:46
@yusukebe
Copy link
Member

@nakasyou

You are right. We can remove them. Thanks!

@yusukebe yusukebe merged commit b8b8e70 into honojs:feat/jsr May 13, 2024
@nakasyou nakasyou deleted the feat/rm-files branch May 13, 2024 13:06
@nakasyou nakasyou restored the feat/rm-files branch May 13, 2024 13:06
@nakasyou nakasyou deleted the feat/rm-files branch May 13, 2024 13:06
@nakasyou nakasyou mentioned this pull request May 13, 2024
4 tasks
yusukebe added a commit that referenced this pull request May 24, 2024
* feat(jsr): reduce slow types (#2369)

* feat(jsr): reduce slow types

* fix: use allow function

* chore: format code

* chore: denoify

* add `deno.json`

* add `jsr-dry-run` command for CI

* don't put `JSX` on `global`

* fix test settings for deno

* don't use `dynamicClass`

* don't declare `ExecutionContext` in `global`

* goodbye denoify

* exports `./middleware`

* exports `./helper`

* exports each helper and middleware

* remove the `awslambda` implementation which is not enough

* feat(jsr): remove helper.ts and middleware.ts (#2667)

* feat(jsr): remove helper.ts and middleware.ts

* fix: fix test

* dont' use `SuperClass`

Co-authored-by: Taku Amano <[email protected]>

* feat(jsr): delete `mod.ts` (#2669)

* rename `deno.json` to `jsr.json`

* lint

* remove slow type in lambda adapter

* fixed runtime test for deno

* export all utils

* add a GitHub action to publish the package to JSR

* fixed declaring `ContextVariableMap`

* fixed the type error

* include `jsr.json` in `jsr.json`

* update `jsr.json`

---------

Co-authored-by: Shotaro Nakamura <[email protected]>
Co-authored-by: Taku Amano <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants