Skip to content

Commit

Permalink
remove deps and esm imports, swap over to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjofrank committed Nov 5, 2024
1 parent 5fe3912 commit 9376ea7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 50 deletions.
8 changes: 4 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"@denoland/htm/plugins/unocss": "https://deno.land/x/[email protected]/plugins/unocss.ts",
"@denoland/g_a": "https://deno.land/x/[email protected]/mod.ts",
"@githubcontent/kt3k/callsites": "https://raw.githubusercontent.com/kt3k/callsites/v1.0.0/mod.ts",
"@esm/feed": "https://esm.sh/[email protected]",
"@esm/remove-markdown": "https://esm.sh/[email protected]",
"@esm/prism-c": "https://esm.sh/[email protected]/components/prism-c?no-check",
"@outdated/std-http": "https://deno.land/[email protected]/http/mod.ts"
"@outdated/std-http": "https://deno.land/[email protected]/http/mod.ts",
"feed": "npm:feed@^4.2.2",
"prismjs": "npm:prismjs@^1.29.0",
"remove-markdown": "npm:remove-markdown@^0.5.5"
}
}
25 changes: 24 additions & 1 deletion deno.lock

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

42 changes: 0 additions & 42 deletions deps.ts

This file was deleted.

6 changes: 3 additions & 3 deletions src/blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { default as html, type HtmlOptions } from "@denoland/htm";

import { createReporter } from "@denoland/g_a";
import { default as callsites } from "@githubcontent/kt3k/callsites";
import { Feed, type Item as FeedItem } from "@esm/feed";
import { default as removeMarkdown } from "@esm/remove-markdown";
import { Feed, type Item as FeedItem } from "feed";
import { default as removeMarkdown } from "remove-markdown";

import UnoCSS from "@denoland/htm/plugins/unocss";
import ColorScheme from "@denoland/htm/plugins/color-scheme";
Expand All @@ -36,7 +36,7 @@ import type {
import { WalkEntry } from "@std/fs";

// Add syntax highlighting support for C by default
import "@esm/prism-c";
import "prismjs";

export { Fragment, h };

Expand Down

0 comments on commit 9376ea7

Please sign in to comment.