Skip to content

Commit

Permalink
jsr support
Browse files Browse the repository at this point in the history
  • Loading branch information
DjDeveloperr committed Mar 3, 2024
1 parent a25f270 commit 06b500d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "skia_canvas",
"name": "@gfx/canvas",
"github": "https://github.com/DjDeveloperr/skia_canvas",
"verision": "0.5.5",
"verision": "0.5.6",

"tasks": {
"build": "cd native/build && CC=clang CXX=clang++ cmake .. && cmake --build . --config Release",
Expand Down
19 changes: 6 additions & 13 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
export { dlopen } from "https://deno.land/x/[email protected].0-rc.3/mod.ts";
export { dlopen } from "jsr:@denosaurs/[email protected].5";
export {
createDownloadURL,
ensureCacheLocation,
} from "https://deno.land/x/[email protected]/download.ts";
export {
isFile,
urlToFilename,
} from "https://deno.land/x/[email protected]/util.ts";
export type { FetchOptions } from "https://deno.land/x/[email protected]/mod.ts";
export {
dirname,
extname,
join,
} from "https://deno.land/[email protected]/path/mod.ts";
export { ensureDir } from "https://deno.land/[email protected]/fs/mod.ts";
} from "jsr:@denosaurs/[email protected]/download";
export { isFile, urlToFilename } from "jsr:@denosaurs/[email protected]/util";
export type { FetchOptions } from "jsr:@denosaurs/plug@1";
export { dirname, extname, join } from "jsr:@std/[email protected]";
export { ensureDir } from "jsr:@std/[email protected]";
2 changes: 1 addition & 1 deletion src/ffi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
join,
urlToFilename,
} from "../deps.ts";
import meta from "../deno.json" assert { type: "json" };
import meta from "../deno.json" with { type: "json" };

const SYMBOLS = {
sk_canvas_create: {
Expand Down

0 comments on commit 06b500d

Please sign in to comment.