Skip to content

Commit 1ba02b1

Browse files
authored
refactor: update to fresh@1.7.3 (#709)
1 parent ecd01d5 commit 1ba02b1

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
@@ -19,7 +19,9 @@
1919
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
2020
"imports": {
2121
"@/": "./",
22-
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/60220dd33b5b0f6b5c72927c933dbc32a3c4734e/",
22+
"$fresh/": "https://deno.land/x/fresh@1.7.3/",
23+
"preact": "https://esm.sh/preact@10.22.1",
24+
"preact/": "https://esm.sh/preact@10.22.1/",
2325
"@std/assert": "jsr:@std/assert@^1.0.13",
2426
"@std/datetime": "jsr:@std/datetime@^0.225.5",
2527
"@std/front-matter": "jsr:@std/front-matter@^1.0.9",
@@ -28,11 +30,9 @@
2830
"@std/path": "jsr:@std/path@^1.1.0",
2931
"@std/testing": "jsr:@std/testing@^1.0.14",
3032
"@std/ulid": "jsr:@std/ulid@^1.0.0",
31-
"preact": "https://esm.sh/preact@10.19.2",
32-
"preact/": "https://esm.sh/preact@10.19.2/",
3333
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.2",
34-
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.1",
35-
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.0",
34+
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
35+
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
3636
"tailwindcss": "npm:tailwindcss@3.4.1",
3737
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
3838
"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/path/normalize";
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 + "../../../"),
2320
};
2421
}

0 commit comments

Comments
 (0)