fix: update dependency recommendations (#2320)
closes https://github.com/denoland/fresh/issues/2319 The issue is because `imports.ts` wasn't changed before releasing. I thought I would go through and bump some other versions as well. This handles everything except the esbuild stuff and `tests/`.
This commit is contained in:
+13
-13
@@ -15,13 +15,13 @@ export {
|
||||
assertRejects,
|
||||
assertStringIncludes,
|
||||
assertThrows,
|
||||
} from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts";
|
||||
} from "https://deno.land/std@0.216.0/assert/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.216.0/testing/snapshot.ts";
|
||||
export {
|
||||
TextLineStream,
|
||||
} from "https://deno.land/std@0.211.0/streams/text_line_stream.ts";
|
||||
export { delay } from "https://deno.land/std@0.211.0/async/delay.ts";
|
||||
export { retry } from "https://deno.land/std@0.211.0/async/retry.ts";
|
||||
} from "https://deno.land/std@0.216.0/streams/text_line_stream.ts";
|
||||
export { delay } from "https://deno.land/std@0.216.0/async/delay.ts";
|
||||
export { retry } from "https://deno.land/std@0.216.0/async/retry.ts";
|
||||
export {
|
||||
default as puppeteer,
|
||||
Page,
|
||||
@@ -31,10 +31,10 @@ export {
|
||||
DOMParser,
|
||||
HTMLElement,
|
||||
HTMLMetaElement,
|
||||
} from "https://esm.sh/linkedom@0.15.1";
|
||||
} from "https://esm.sh/linkedom@0.16.8";
|
||||
export { defineConfig, type Preset } from "https://esm.sh/@twind/core@1.1.3";
|
||||
export { default as presetTailwind } from "https://esm.sh/@twind/preset-tailwind@1.1.4";
|
||||
export { copy } from "https://deno.land/std@0.211.0/fs/mod.ts";
|
||||
export { copy } from "https://deno.land/std@0.216.0/fs/mod.ts";
|
||||
export {
|
||||
basename,
|
||||
dirname,
|
||||
@@ -42,10 +42,10 @@ export {
|
||||
fromFileUrl,
|
||||
join,
|
||||
relative,
|
||||
SEP,
|
||||
SEPARATOR,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.211.0/jsonc/mod.ts";
|
||||
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||
export { STATUS_CODE } from "https://deno.land/std@0.211.0/http/status.ts";
|
||||
export { stripAnsiCode } from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||
} from "https://deno.land/std@0.216.0/path/mod.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.216.0/jsonc/mod.ts";
|
||||
export * as colors from "https://deno.land/std@0.216.0/fmt/colors.ts";
|
||||
export { STATUS_CODE } from "https://deno.land/std@0.216.0/http/status.ts";
|
||||
export { stripAnsiCode } from "https://deno.land/std@0.216.0/fmt/colors.ts";
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.5",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.3.1"
|
||||
},
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { defineRoute } from "$fresh/server.ts";
|
||||
import { relative, SEP } from "$fresh/tests/deps.ts";
|
||||
import { relative, SEPARATOR } from "$fresh/tests/deps.ts";
|
||||
|
||||
export default defineRoute((_req, ctx) => {
|
||||
const value = JSON.stringify(ctx, (key, value) => {
|
||||
if (key === "outDir" || key == "staticDir") {
|
||||
return relative(Deno.cwd(), value).split(SEP).join("/");
|
||||
return relative(Deno.cwd(), value).split(SEPARATOR).join("/");
|
||||
}
|
||||
if (typeof value === "function") return value.constructor.name;
|
||||
if (value === undefined) return "<undefined>";
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { PageProps } from "$fresh/server.ts";
|
||||
import { relative, SEP } from "../../deps.ts";
|
||||
import { relative, SEPARATOR } from "../../deps.ts";
|
||||
|
||||
export default function Page(props: PageProps) {
|
||||
const value = JSON.stringify(props, (key, value) => {
|
||||
if (key === "outDir" || key == "staticDir") {
|
||||
return relative(Deno.cwd(), value).split(SEP).join("/");
|
||||
return relative(Deno.cwd(), value).split(SEPARATOR).join("/");
|
||||
}
|
||||
if (typeof value === "function") return value.constructor.name;
|
||||
if (value === undefined) return "<undefined>";
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
},
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.0",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"tailwindcss": "npm:tailwindcss@3.4.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"tailwindcss": "npm:tailwindcss@3.4.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
},
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
},
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.5",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.3.1"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
},
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.16.0",
|
||||
"preact/": "https://esm.sh/preact@10.16.0/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
},
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.19.2",
|
||||
"preact/": "https://esm.sh/preact@10.19.2/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.0"
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
},
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.19.2",
|
||||
"preact/": "https://esm.sh/preact@10.19.2/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
},
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"$fresh/": "../../",
|
||||
"twind": "https://esm.sh/twind@0.16.19",
|
||||
"twind/": "https://esm.sh/twind@0.16.19/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/"
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
},
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
|
||||
"$std/": "https://deno.land/std@0.211.0/"
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.5",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.3.1"
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"$fresh/": "../../",
|
||||
"twind": "https://esm.sh/twind@0.16.19",
|
||||
"twind/": "https://esm.sh/twind@0.16.19/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
},
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { RouteContext } from "../../../../server.ts";
|
||||
import { delay, relative, SEP } from "../../../deps.ts";
|
||||
import { delay, relative, SEPARATOR } from "../../../deps.ts";
|
||||
|
||||
export default async function Foo(_req: Request, context: RouteContext) {
|
||||
await delay(1);
|
||||
const value = JSON.stringify(context, (key, value) => {
|
||||
if (key === "outDir" || key == "staticDir") {
|
||||
return relative(Deno.cwd(), value).split(SEP).join("/");
|
||||
return relative(Deno.cwd(), value).split(SEPARATOR).join("/");
|
||||
} else if (key === "entrypoints") {
|
||||
return {};
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"tailwindcss": "npm:tailwindcss@3.4.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"tailwindcss": "npm:tailwindcss@3.4.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"tailwindcss": "npm:tailwindcss@3.4.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"lock": false,
|
||||
"imports": {
|
||||
"$fresh/": "../../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"tailwindcss": "npm:tailwindcss@3.4.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"$fresh/": "../../",
|
||||
"twind": "https://esm.sh/twind@0.16.19",
|
||||
"twind/": "https://esm.sh/twind@0.16.19/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact": "https://esm.sh/preact@10.19.5",
|
||||
"preact/": "https://esm.sh/preact@10.19.5/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
},
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
import { cleanup, fireEvent, render, setup } from "$fresh-testing-library";
|
||||
import { afterEach, beforeAll, describe, it } from "$std/testing/bdd.ts";
|
||||
import LinkButton from "../../../../www/components/gallery/LinkButton.tsx";
|
||||
import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/heart.tsx";
|
||||
import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/heart.tsx";
|
||||
|
||||
describe("components/gallery/LinkButton.tsx", () => {
|
||||
beforeAll(setup);
|
||||
|
||||
Reference in New Issue
Block a user