From 66f378f4aff2ce8d210132663dbe1c047504cb50 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Tue, 25 Feb 2025 18:36:45 +0100 Subject: [PATCH] Fix JSR issues --- deno.json | 5 +++-- plug-api/syscalls/editor.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deno.json b/deno.json index 7c21d4f3..c53c8763 100644 --- a/deno.json +++ b/deno.json @@ -24,7 +24,8 @@ "publish": { "exclude": [ "website", - "CHANGELOG.md" + "CHANGELOG.md", + "**/*.md" ] }, "tasks": { @@ -149,7 +150,7 @@ "fuse": "https://deno.land/x/fuse@v6.4.1/dist/fuse.esm.min.js", "gitignore-parser": "https://esm.sh/gitignore-parser@0.0.2", "hono/": "https://deno.land/x/hono@v3.12.2/", - "js-yaml": "https://esm.sh/js-yaml@4.1.0", + "js-yaml": "npm:js-yaml@4.1.0", "mimetypes": "https://deno.land/x/mimetypes@v1.0.0/mod.ts", "porter-stemmer": "https://esm.sh/porter-stemmer@0.9.1", "preact": "https://esm.sh/preact@10.23.1", diff --git a/plug-api/syscalls/editor.ts b/plug-api/syscalls/editor.ts index c477aaa6..1dc82492 100644 --- a/plug-api/syscalls/editor.ts +++ b/plug-api/syscalls/editor.ts @@ -121,7 +121,7 @@ export function reloadUI(): Promise { /** * Rebuilds the editor state to ensure the dispatch updates the state. */ -export function rebuildEditorState() { +export function rebuildEditorState(): Promise { return syscall("editor.rebuildEditorState"); }