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

fix: Bump JSR version and update workflows #180

Merged
merged 6 commits into from
Oct 23, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
deno-version: v2.x

- name: install webkit2gtk (Linux)
if: matrix.os == 'ubuntu-latest'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
- name: Install stable deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
deno-version: v2.x

- name: Run check
run: deno task check

- name: Run test:doc
run: deno task test:doc
# TODO: Re-enable these tests
# - name: Run test:doc
# run: deno task test:doc

- name: Run fmt
run: deno task fmt:check
Expand Down
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webview/webview",
"version": "0.8.0",
"version": "0.8.1",
"exports": "./mod.ts",
"lock": false,
"tasks": {
Expand All @@ -17,5 +17,5 @@
"fmt": {
"exclude": ["webview/"]
},
"imports": { "@denosaurs/plug": "jsr:@denosaurs/plug@^1.0.5" }
"imports": { "@denosaurs/plug": "jsr:@denosaurs/plug@^1.0.6" }
}
1 change: 1 addition & 0 deletions examples/ssr/worker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/// <reference lib="deno.ns" />

import { serve } from "https://deno.land/[email protected]/http/server.ts";
// deno-lint-ignore verbatim-module-syntax
import { h, ssr, tw } from "https://crux.land/[email protected]";

const Hello = (props: { name: string }) => (
Expand Down
2 changes: 1 addition & 1 deletion src/ffi.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import manifest from "../deno.json" with { type: "json" };

import { dlopen, download } from "@denosaurs/plug";
import { Webview } from "./webview.ts";
import type { Webview } from "./webview.ts";

const version = manifest.version;
const cache = Deno.env.get("PLUGIN_URL") === undefined ? "use" : "reloadAll";
Expand Down
Loading