From 07db10773a26e94768160c87f1009281c9427506 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Wed, 9 Nov 2022 11:55:41 +0100 Subject: [PATCH] Fix deps --- common/deps.ts | 13 +++++-------- import_map.json | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/common/deps.ts b/common/deps.ts index c0c943e..aaecc9e 100644 --- a/common/deps.ts +++ b/common/deps.ts @@ -1,10 +1,3 @@ -export { - autocompletion, - CompletionContext, - completionKeymap, -} from "@codemirror/autocomplete"; -export type { Completion, CompletionResult } from "@codemirror/autocomplete"; - export { history, historyKeymap, @@ -12,9 +5,13 @@ export { standardKeymap, } from "@codemirror/commands"; export { + autocompletion, closeBrackets, closeBracketsKeymap, -} from "https://esm.sh/@codemirror/autocomplete@6.3.0?external=@codemirror/state,@codemirror/commands,@lezer/common,@codemirror/view"; + CompletionContext, + completionKeymap, +} from "@codemirror/autocomplete"; +export type { Completion, CompletionResult } from "@codemirror/autocomplete"; export { styleTags, Tag, tagHighlighter, tags } from "@lezer/highlight"; diff --git a/import_map.json b/import_map.json index 5d518e3..ee52198 100644 --- a/import_map.json +++ b/import_map.json @@ -8,7 +8,7 @@ "@codemirror/commands": "https://esm.sh/@codemirror/commands@6.1.1?external=@codemirror/state,@codemirror/view", "@codemirror/view": "https://esm.sh/@codemirror/view@6.3.0?external=@codemirror/state,@lezer/common", "@lezer/highlight": "https://esm.sh/@lezer/highlight@1.1.1?external=@lezer/common", - "@codemirror/autocomplete": "https://esm.sh/@codemirror/autocomplete@6.3.0?external=@codemirror/state,@lezer/common", + "@codemirror/autocomplete": "https://esm.sh/@codemirror/autocomplete@6.3.0?external=@codemirror/state,@codemirror/commands,@lezer/common,@codemirror/view", "@codemirror/lint": "https://esm.sh/@codemirror/lint@6.0.0?external=@codemirror/state,@lezer/common", "preact": "https://esm.sh/preact@10.11.1", "yjs": "https://esm.sh/yjs@13.5.42",