Skip to content

Commit

Permalink
import ansi-to-html and monaco-editor from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
magurotuna committed May 6, 2024
1 parent bb1021d commit 0a69b97
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 6 deletions.
49 changes: 47 additions & 2 deletions www/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion www/islands/Linter.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { instantiate, run } from "../static/deno_lint.generated.js";
import { useEffect, useMemo } from "preact/hooks";
import { type Signal, useComputed, useSignal } from "@preact/signals";
import Convert from "https://esm.sh/v130/[email protected]";
import Convert from "npm:[email protected]";
import { type SupportedLanguages } from "./MonacoEditor.tsx";
import { unreachable } from "@std/assert/unreachable";

Expand Down
4 changes: 1 addition & 3 deletions www/islands/MonacoEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { useEffect, useRef } from "preact/hooks";
import { type Signal, useSignal } from "@preact/signals";
import loader, {
type Monaco,
} from "https://esm.sh/v130/@monaco-editor/[email protected]";
import loader, { type Monaco } from "npm:@monaco-editor/[email protected]";

export const supportedLanguages = [
"TypeScript",
Expand Down

0 comments on commit 0a69b97

Please sign in to comment.