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): support JSR #2662

Merged
merged 30 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
24dde8a
feat(jsr): reduce slow types (#2369)
nakasyou May 12, 2024
7ac6306
add `deno.json`
yusukebe May 12, 2024
376c5ad
Merge branch 'main' into feat/jsr
yusukebe May 12, 2024
8b24707
add `jsr-dry-run` command for CI
yusukebe May 12, 2024
5bd2b71
don't put `JSX` on `global`
yusukebe May 12, 2024
c45fa0f
fix test settings for deno
yusukebe May 12, 2024
b902590
don't use `dynamicClass`
yusukebe May 12, 2024
cf020c6
don't declare `ExecutionContext` in `global`
yusukebe May 12, 2024
0c776fa
goodbye denoify
yusukebe May 12, 2024
0ef5bb1
exports `./middleware`
yusukebe May 12, 2024
498c4f2
exports `./helper`
yusukebe May 12, 2024
90892be
exports each helper and middleware
yusukebe May 12, 2024
804f32b
remove the `awslambda` implementation which is not enough
yusukebe May 12, 2024
b8b8e70
feat(jsr): remove helper.ts and middleware.ts (#2667)
nakasyou May 13, 2024
145d4f2
dont' use `SuperClass`
yusukebe May 13, 2024
0442b9a
feat(jsr): delete `mod.ts` (#2669)
nakasyou May 13, 2024
dd84b83
rename `deno.json` to `jsr.json`
yusukebe May 15, 2024
4e94939
Merge branch 'main' into feat/jsr
yusukebe May 15, 2024
a939e5c
lint
yusukebe May 15, 2024
dc823c9
remove slow type in lambda adapter
yusukebe May 15, 2024
8854119
fixed runtime test for deno
yusukebe May 15, 2024
0d59d11
export all utils
yusukebe May 15, 2024
e91d92e
add a GitHub action to publish the package to JSR
yusukebe May 15, 2024
779f157
Merge branch 'main' into feat/jsr
yusukebe May 15, 2024
b2a485d
fixed declaring `ContextVariableMap`
yusukebe May 18, 2024
7fc0ec3
fixed the type error
yusukebe May 22, 2024
e9d6442
Merge branch 'main' into feat/jsr
yusukebe May 22, 2024
4068967
include `jsr.json` in `jsr.json`
yusukebe May 22, 2024
78d9cc5
Merge branch 'next' into feat/jsr
yusukebe May 24, 2024
9849612
update `jsr.json`
yusukebe May 24, 2024
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
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

- [ ] Add tests
- [ ] Run tests
- [ ] `bun denoify` to generate files for Deno
- [ ] `bun run format:fix && bun run lint:fix` to format the code
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,15 @@ jobs:
- run: bun run build
- run: bun run test

denoify:
name: "Checking if you've done denoify"
jsr-dry-run:
name: "Checking if it's valid for JSR"
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- uses: oven-sh/setup-bun@v1
- uses: denoland/setup-deno@v1
with:
bun-version: '1.0.25'
- run: bun install
- run: |
bun run denoify
if [[ `git status --porcelain` ]]; then
exit 1
fi
deno-version: v1.x
- run: deno publish --dry-run

deno:
name: 'Deno'
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ci

on: [push]

jobs:
deno:
name: publish-to-jsr
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- name: Install deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Publish to JSR
run: deno run -A jsr:@david/publish-on-tag@0.1.3
Binary file modified bun.lockb
Binary file not shown.
21 changes: 0 additions & 21 deletions deno_dist/LICENSE

This file was deleted.

92 changes: 0 additions & 92 deletions deno_dist/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions deno_dist/adapter/deno/conninfo.ts

This file was deleted.

24 changes: 0 additions & 24 deletions deno_dist/adapter/deno/deno.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions deno_dist/adapter/deno/index.ts

This file was deleted.

32 changes: 0 additions & 32 deletions deno_dist/adapter/deno/serve-static.ts

This file was deleted.

27 changes: 0 additions & 27 deletions deno_dist/adapter/deno/ssg.ts

This file was deleted.

30 changes: 0 additions & 30 deletions deno_dist/adapter/deno/websocket.ts

This file was deleted.

17 changes: 0 additions & 17 deletions deno_dist/adapter/netlify/handler.ts

This file was deleted.

1 change: 0 additions & 1 deletion deno_dist/adapter/netlify/index.ts

This file was deleted.

2 changes: 0 additions & 2 deletions deno_dist/adapter/netlify/mod.ts

This file was deleted.

Loading