Skip to content

Commit

Permalink
use latest fresh
Browse files Browse the repository at this point in the history
  • Loading branch information
ycmjason committed Sep 8, 2024
1 parent 4c68838 commit 3ef6bd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
"imports": {
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/60220dd33b5b0f6b5c72927c933dbc32a3c4734e/",
"$fresh/": "https://deno.land/x/fresh@1.7.1/",
"@/": "./",
"@deno/gfm": "jsr:@deno/gfm@^0.9.0",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
Expand All @@ -36,13 +36,10 @@
"fresh_charts/": "https://deno.land/x/[email protected]/",
"kv_oauth/": "https://deno.land/x/[email protected]/",
"preact": "https://esm.sh/[email protected]",
"preact-render-to-string": "https://esm.sh/*[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"stripe": "npm:/[email protected]",
"tabler_icons_tsx/": "https://deno.land/x/[email protected]/tsx/",
"tailwindcss": "npm:[email protected]",
"tailwindcss/": "npm:/[email protected]/",
"tailwindcss/plugin": "npm:/[email protected]/plugin.js"
"tailwindcss": "npm:[email protected]"
},
"exclude": ["coverage/", "_fresh/", "**/_fresh/*"],
"lint": { "rules": { "tags": ["fresh", "recommended"] } }
Expand Down
2 changes: 1 addition & 1 deletion plugins/blog/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import BlogSlug from "./routes/blog/[slug].tsx";
import Feed from "./routes/feed.ts";
import { normalize } from "@std/url";

export function blog(): Plugin {
export function blog(): Plugin & { location: string; projectLocation: string } {
return {
name: "blog",
routes: [{
Expand Down

0 comments on commit 3ef6bd0

Please sign in to comment.