Skip to content

Commit 723bccf

Browse files
committed
refactor: update to fresh@1.7.3
1 parent fdf81c8 commit 723bccf

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

deno.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2121
"imports": {
2222
"@/": "./",
23-
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/60220dd33b5b0f6b5c72927c933dbc32a3c4734e/",
24-
"preact": "https://esm.sh/preact@10.19.2",
25-
"preact/": "https://esm.sh/preact@10.19.2/",
23+
"$fresh/": "https://deno.land/x/fresh@1.7.3/",
24+
"preact": "https://esm.sh/preact@10.22.0",
25+
"preact/": "https://esm.sh/preact@10.22.0/",
2626
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.2",
27-
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.1",
28-
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.0",
27+
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
28+
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
2929
"tailwindcss": "npm:tailwindcss@3.4.1",
3030
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
3131
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",

fresh.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import * as $welcome from "./routes/welcome.tsx";
2727
import * as $Chart from "./islands/Chart.tsx";
2828
import * as $ItemsList from "./islands/ItemsList.tsx";
2929
import * as $UsersTable from "./islands/UsersTable.tsx";
30-
import { type Manifest } from "$fresh/server.ts";
30+
import type { Manifest } from "$fresh/server.ts";
3131

3232
const manifest = {
3333
routes: {

plugins/blog/mod.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type { Plugin } from "$fresh/server.ts";
33
import BlogIndex from "./routes/blog/index.tsx";
44
import BlogSlug from "./routes/blog/[slug].tsx";
55
import Feed from "./routes/feed.ts";
6-
import { normalize } from "$std/url/normalize.ts";
76

87
export function blog(): Plugin {
98
return {
@@ -18,7 +17,5 @@ export function blog(): Plugin {
1817
path: "/feed",
1918
component: Feed,
2019
}],
21-
location: import.meta.url,
22-
projectLocation: normalize(import.meta.url + "../../../").href,
2320
};
2421
}

0 commit comments

Comments
 (0)