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:
Vendored
+5
-5
@@ -6,13 +6,13 @@
|
||||
"$fresh/": "../",
|
||||
"twind": "https://esm.sh/twind@0.16.19",
|
||||
"twind/": "https://esm.sh/twind@0.16.19/",
|
||||
"preact": "https://esm.sh/preact@10.18.1",
|
||||
"preact/": "https://esm.sh/preact@10.18.1/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.1",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.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.2.2",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.1",
|
||||
"@preact/signals-core@1.2.3": "https://esm.sh/@preact/signals-core@1.2.3",
|
||||
"@preact/signals-core@1.3.0": "https://esm.sh/@preact/signals-core@1.3.0",
|
||||
"$std/": "https://deno.land/std@0.211.0/",
|
||||
"$std/": "https://deno.land/std@0.216.0/",
|
||||
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
|
||||
"$fresh-testing-library": "https://deno.land/x/fresh_testing_library@0.11.1/mod.ts",
|
||||
|
||||
+4
-4
@@ -5,10 +5,10 @@
|
||||
},
|
||||
"imports": {
|
||||
"$fresh/": "../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
|
||||
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
|
||||
"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.1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
|
||||
@@ -83,8 +83,8 @@ export default {
|
||||
+ "nodeModulesDir": true,
|
||||
"imports": {
|
||||
"$fresh/": "https://deno.land/x/fresh@1.5.2/",
|
||||
"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/",
|
||||
- "twind": "https://esm.sh/twind@0.16.19",
|
||||
- "twind/": "https://esm.sh/twind@0.16.19/",
|
||||
+ "tailwindcss": "npm:tailwindcss@3.4.1",
|
||||
|
||||
@@ -22,8 +22,8 @@ instead this one particular commit? Just make the following changes to your
|
||||
"imports": {
|
||||
- "$fresh/": "https://deno.land/x/fresh@1.2.0/",
|
||||
+ "$fresh/": "https://raw.githubusercontent.com/denoland/fresh/the-particular-commit-hash-here/",
|
||||
"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/",
|
||||
```
|
||||
|
||||
### Forked Fresh
|
||||
@@ -39,8 +39,8 @@ been merged yet (at the time of writing this):
|
||||
"imports": {
|
||||
- "$fresh/": "https://deno.land/x/fresh@1.2.0/",
|
||||
+ "$fresh/": "https://raw.githubusercontent.com/deer/fresh/state_in_props/",
|
||||
"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/",
|
||||
```
|
||||
|
||||
## Creating a new project
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
import { Plugin, PluginMiddleware, ResolvedFreshConfig } from "../server.ts";
|
||||
import type postcss from "npm:postcss@8.4.33";
|
||||
import * as path from "https://deno.land/std@0.207.0/path/mod.ts";
|
||||
import { walk } from "https://deno.land/std@0.207.0/fs/walk.ts";
|
||||
import type postcss from "npm:postcss@8.4.35";
|
||||
import * as path from "https://deno.land/std@0.216.0/path/mod.ts";
|
||||
import { walk } from "https://deno.land/std@0.216.0/fs/walk.ts";
|
||||
import { TailwindPluginOptions } from "./tailwind/types.ts";
|
||||
|
||||
async function initTailwind(
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { ResolvedFreshConfig } from "../../server.ts";
|
||||
import tailwindCss, { Config } from "tailwindcss";
|
||||
import postcss from "npm:postcss@8.4.33";
|
||||
import postcss from "npm:postcss@8.4.35";
|
||||
import cssnano from "npm:cssnano@6.0.3";
|
||||
import autoprefixer from "npm:autoprefixer@10.4.17";
|
||||
import * as path from "https://deno.land/std@0.207.0/path/mod.ts";
|
||||
import * as path from "https://deno.land/std@0.216.0/path/mod.ts";
|
||||
import { TailwindPluginOptions } from "./types.ts";
|
||||
|
||||
const CONFIG_EXTENSIONS = ["ts", "js", "mjs"];
|
||||
|
||||
+3
-3
@@ -4,7 +4,7 @@ export {
|
||||
join,
|
||||
relative,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||
export { escape as regexpEscape } from "https://deno.land/std@0.211.0/regexp/escape.ts";
|
||||
} from "https://deno.land/std@0.216.0/path/mod.ts";
|
||||
export { escape as regexpEscape } from "https://deno.land/std@0.216.0/regexp/escape.ts";
|
||||
export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.8.5/mod.ts";
|
||||
export { assertEquals } from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||
export { assertEquals } from "https://deno.land/std@0.216.0/assert/mod.ts";
|
||||
|
||||
+14
-14
@@ -7,26 +7,26 @@ export {
|
||||
join,
|
||||
relative,
|
||||
resolve,
|
||||
SEP,
|
||||
SEPARATOR,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||
export { normalize } from "https://deno.land/std@0.211.0/path/posix/mod.ts";
|
||||
export { DAY, WEEK } from "https://deno.land/std@0.211.0/datetime/constants.ts";
|
||||
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||
} from "https://deno.land/std@0.216.0/path/mod.ts";
|
||||
export { normalize } from "https://deno.land/std@0.216.0/path/posix/mod.ts";
|
||||
export { DAY, WEEK } from "https://deno.land/std@0.216.0/datetime/constants.ts";
|
||||
export * as colors from "https://deno.land/std@0.216.0/fmt/colors.ts";
|
||||
export {
|
||||
walk,
|
||||
type WalkEntry,
|
||||
WalkError,
|
||||
} from "https://deno.land/std@0.211.0/fs/walk.ts";
|
||||
export { parse } from "https://deno.land/std@0.211.0/flags/mod.ts";
|
||||
} from "https://deno.land/std@0.216.0/fs/walk.ts";
|
||||
export { parse } from "https://deno.land/std@0.216.0/flags/mod.ts";
|
||||
export {
|
||||
gte,
|
||||
lt,
|
||||
greaterOrEqual,
|
||||
lessThan,
|
||||
parse as semverParse,
|
||||
} from "https://deno.land/std@0.211.0/semver/mod.ts";
|
||||
export { emptyDir, existsSync } from "https://deno.land/std@0.211.0/fs/mod.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.211.0/jsonc/mod.ts";
|
||||
export { assertEquals } from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||
} from "https://deno.land/std@0.216.0/semver/mod.ts";
|
||||
export { emptyDir, existsSync } from "https://deno.land/std@0.216.0/fs/mod.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.216.0/jsonc/mod.ts";
|
||||
export { assertEquals } from "https://deno.land/std@0.216.0/assert/mod.ts";
|
||||
|
||||
// ts-morph
|
||||
export { Node, Project } from "https://deno.land/x/ts_morph@20.0.0/mod.ts";
|
||||
export { Node, Project } from "https://deno.land/x/ts_morph@21.0.1/mod.ts";
|
||||
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
export const RECOMMENDED_PREACT_VERSION = "10.19.2";
|
||||
export const RECOMMENDED_PREACT_SIGNALS_VERSION = "1.2.1";
|
||||
export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.5.0";
|
||||
export const RECOMMENDED_PREACT_VERSION = "10.19.5";
|
||||
export const RECOMMENDED_PREACT_SIGNALS_VERSION = "1.2.2";
|
||||
export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.5.1";
|
||||
export const RECOMMENDED_TWIND_CORE_VERSION = "1.1.3";
|
||||
export const RECOMMENDED_TWIND_PRESET_AUTOPREFIX_VERSION = "1.0.7";
|
||||
export const RECOMMENDED_TWIND_PRESET_TAILWIND_VERSION = "1.1.4";
|
||||
export const RECOMMENDED_STD_VERSION = "0.211.0";
|
||||
export const RECOMMENDED_STD_VERSION = "0.216.0";
|
||||
export const RECOMMENDED_TAILIWIND_VERSION = "3.4.1";
|
||||
|
||||
export function freshImports(imports: Record<string, string>) {
|
||||
|
||||
+14
-2
@@ -1,4 +1,11 @@
|
||||
import { gte, join, relative, semverParse, walk, WalkEntry } from "./deps.ts";
|
||||
import {
|
||||
greaterOrEqual,
|
||||
join,
|
||||
relative,
|
||||
semverParse,
|
||||
walk,
|
||||
WalkEntry,
|
||||
} from "./deps.ts";
|
||||
export { generate, type Manifest } from "./manifest.ts";
|
||||
import { generate, type Manifest } from "./manifest.ts";
|
||||
import { error } from "./error.ts";
|
||||
@@ -7,7 +14,12 @@ const TEST_FILE_PATTERN = /[._]test\.(?:[tj]sx?|[mc][tj]s)$/;
|
||||
|
||||
export function ensureMinDenoVersion() {
|
||||
// Check that the minimum supported Deno version is being used.
|
||||
if (!gte(semverParse(Deno.version.deno), semverParse(MIN_DENO_VERSION))) {
|
||||
if (
|
||||
!greaterOrEqual(
|
||||
semverParse(Deno.version.deno),
|
||||
semverParse(MIN_DENO_VERSION),
|
||||
)
|
||||
) {
|
||||
let message =
|
||||
`Deno version ${MIN_DENO_VERSION} or higher is required. Please update Deno.\n\n`;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { colors, join, lt, semverParse } from "./deps.ts";
|
||||
import { colors, join, lessThan, semverParse } from "./deps.ts";
|
||||
|
||||
export interface CheckFile {
|
||||
last_checked: string;
|
||||
@@ -118,7 +118,7 @@ export async function updateCheck(
|
||||
if (
|
||||
(!checkFile.last_shown ||
|
||||
Date.now() >= new Date(checkFile.last_shown).getTime() + interval) &&
|
||||
lt(currentVersion, latestVersion)
|
||||
lessThan(currentVersion, latestVersion)
|
||||
) {
|
||||
checkFile.last_shown = new Date().toISOString();
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SEP } from "./deps.ts";
|
||||
import { SEPARATOR } from "./deps.ts";
|
||||
import { ErrorHandler, FinalHandler, RouteResult, withBase } from "./router.ts";
|
||||
import {
|
||||
BaseRoute,
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
export const ROOT_BASE_ROUTE = toBaseRoute("/");
|
||||
|
||||
export function toBaseRoute(input: string): BaseRoute {
|
||||
input = input.replaceAll(SEP, "/");
|
||||
input = input.replaceAll(SEPARATOR, "/");
|
||||
|
||||
if (input.endsWith("_layout")) {
|
||||
input = input.slice(0, -"_layout".length);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { contentType, extname, SEP, STATUS_CODE } from "./deps.ts";
|
||||
import { contentType, extname, SEPARATOR, STATUS_CODE } from "./deps.ts";
|
||||
import * as router from "./router.ts";
|
||||
import { FreshConfig, FreshContext, Manifest } from "./mod.ts";
|
||||
import {
|
||||
@@ -353,7 +353,7 @@ export class ServerContext {
|
||||
const { localUrl, path, size, contentType, etag } of this.#extractResult
|
||||
.staticFiles
|
||||
) {
|
||||
staticRoutes[path.replaceAll(SEP, "/")] = {
|
||||
staticRoutes[path.replaceAll(SEPARATOR, "/")] = {
|
||||
baseRoute: toBaseRoute(path),
|
||||
methods: {
|
||||
"HEAD": this.#staticFileHandler(
|
||||
|
||||
+13
-13
@@ -6,30 +6,30 @@ export {
|
||||
fromFileUrl,
|
||||
isAbsolute,
|
||||
join,
|
||||
SEP,
|
||||
SEPARATOR,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.211.0/fs/walk.ts";
|
||||
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||
} from "https://deno.land/std@0.216.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.216.0/fs/walk.ts";
|
||||
export * as colors from "https://deno.land/std@0.216.0/fmt/colors.ts";
|
||||
export {
|
||||
type Handler as ServeHandler,
|
||||
serve,
|
||||
} from "https://deno.land/std@0.211.0/http/server.ts";
|
||||
export { STATUS_CODE } from "https://deno.land/std@0.211.0/http/status.ts";
|
||||
} from "https://deno.land/std@0.216.0/http/server.ts";
|
||||
export { STATUS_CODE } from "https://deno.land/std@0.216.0/http/status.ts";
|
||||
export {
|
||||
contentType,
|
||||
} from "https://deno.land/std@0.211.0/media_types/content_type.ts";
|
||||
export { encodeHex } from "https://deno.land/std@0.211.0/encoding/hex.ts";
|
||||
export { escape } from "https://deno.land/std@0.211.0/regexp/escape.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.211.0/jsonc/mod.ts";
|
||||
} from "https://deno.land/std@0.216.0/media_types/content_type.ts";
|
||||
export { encodeHex } from "https://deno.land/std@0.216.0/encoding/hex.ts";
|
||||
export { escape } from "https://deno.land/std@0.216.0/regexp/escape.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.216.0/jsonc/mod.ts";
|
||||
export { renderToString } from "https://esm.sh/*preact-render-to-string@6.3.1";
|
||||
export {
|
||||
assertEquals,
|
||||
assertThrows,
|
||||
} from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||
} from "https://deno.land/std@0.216.0/assert/mod.ts";
|
||||
export {
|
||||
isIdentifierChar,
|
||||
isIdentifierStart,
|
||||
} from "https://esm.sh/@babel/helper-validator-identifier@7.22.20";
|
||||
export { normalize } from "https://deno.land/std@0.211.0/path/posix/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts";
|
||||
export { normalize } from "https://deno.land/std@0.216.0/path/posix/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.216.0/testing/snapshot.ts";
|
||||
|
||||
@@ -26,7 +26,7 @@ import {
|
||||
dirname,
|
||||
extname,
|
||||
join,
|
||||
SEP,
|
||||
SEPARATOR,
|
||||
toFileUrl,
|
||||
walk,
|
||||
} from "./deps.ts";
|
||||
@@ -111,7 +111,7 @@ export async function extractRoutes(
|
||||
const path = url.substring(baseUrl.length + "routes".length);
|
||||
let baseRoute = path.substring(1, path.length - extname(path).length);
|
||||
baseRoute = join(state.config.basePath.slice(1), baseRoute).replaceAll(
|
||||
SEP,
|
||||
SEPARATOR,
|
||||
"/",
|
||||
);
|
||||
const name = baseRoute.replace(/\//g, "-");
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
} from "preact";
|
||||
import { assetHashingHook } from "../../runtime/utils.ts";
|
||||
import { Partial, PartialProps } from "../../runtime/Partial.tsx";
|
||||
import { join, renderToString, SEP } from "../deps.ts";
|
||||
import { join, renderToString, SEPARATOR } from "../deps.ts";
|
||||
import { RenderState } from "./state.ts";
|
||||
import { Island } from "../types.ts";
|
||||
import {
|
||||
@@ -238,7 +238,7 @@ options.vnode = (vnode) => {
|
||||
|
||||
if (url.startsWith("/") && current?.basePath) {
|
||||
const joinedPath = join("/", current.basePath, url).replaceAll(
|
||||
SEP,
|
||||
SEPARATOR,
|
||||
"/",
|
||||
);
|
||||
out.push(leading + joinedPath + trailing);
|
||||
|
||||
+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);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { asset } from "$fresh/runtime.ts";
|
||||
import { useSignal } from "@preact/signals";
|
||||
import { useEffect, useRef } from "preact/hooks";
|
||||
import IconCircleChevronsRight from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/circle-chevrons-right.tsx";
|
||||
import IconCircleChevronsLeft from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/circle-chevrons-left.tsx";
|
||||
import IconCircleChevronsRight from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/circle-chevrons-right.tsx";
|
||||
import IconCircleChevronsLeft from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/circle-chevrons-left.tsx";
|
||||
|
||||
const SLIDE_DATA = [
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import IconAlarm from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/alarm.tsx";
|
||||
import IconAirBalloon from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/air-balloon.tsx";
|
||||
import IconArmchair from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/armchair.tsx";
|
||||
import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/chevron-right.tsx";
|
||||
import IconAlarm from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/alarm.tsx";
|
||||
import IconAirBalloon from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/air-balloon.tsx";
|
||||
import IconArmchair from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/armchair.tsx";
|
||||
import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/chevron-right.tsx";
|
||||
|
||||
export default function Features() {
|
||||
const featureItems = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import LemonIcon from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/lemon-2.tsx";
|
||||
import BrandGithub from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/brand-github.tsx";
|
||||
import LemonIcon from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/lemon-2.tsx";
|
||||
import BrandGithub from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/brand-github.tsx";
|
||||
|
||||
export default function Footer() {
|
||||
const menus = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import LemonIcon from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/lemon-2.tsx";
|
||||
import LemonIcon from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/lemon-2.tsx";
|
||||
|
||||
type Props = {
|
||||
active: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/chevron-right.tsx";
|
||||
import IconChevronRight from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/chevron-right.tsx";
|
||||
|
||||
export default function Hero() {
|
||||
return (
|
||||
|
||||
+6
-6
@@ -8,13 +8,13 @@
|
||||
},
|
||||
"imports": {
|
||||
"$fresh/": "../",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"@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/",
|
||||
"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.1",
|
||||
"$std/": "https://deno.land/std@0.216.0/",
|
||||
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
|
||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
|
||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.1.7",
|
||||
"$fresh-testing-library": "https://deno.land/x/fresh_testing_library@0.8.0/mod.ts",
|
||||
"$fresh-testing-library/": "https://deno.land/x/fresh_testing_library@0.8.0/",
|
||||
"tailwindcss": "npm:tailwindcss@3.4.1",
|
||||
|
||||
@@ -8,8 +8,8 @@ import Hero from "../components/gallery/Hero.tsx";
|
||||
import Features from "../components/gallery/Features.tsx";
|
||||
import Carousel from "../components/gallery/Carousel.tsx";
|
||||
import { ComponentChildren } from "preact";
|
||||
import IconHappy from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/mood-crazy-happy.tsx";
|
||||
import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.3/tsx/heart.tsx";
|
||||
import IconHappy from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/mood-crazy-happy.tsx";
|
||||
import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.6/tsx/heart.tsx";
|
||||
import Background from "../components/gallery/Background.tsx";
|
||||
import CodeBox from "../components/gallery/CodeBox.tsx";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import puppeteer from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
|
||||
import { Image } from "https://deno.land/x/imagescript@1.2.15/mod.ts";
|
||||
import { join } from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||
import { Image } from "https://deno.land/x/imagescript@1.2.17/mod.ts";
|
||||
import { join } from "https://deno.land/std@0.216.0/path/mod.ts";
|
||||
|
||||
const url = Deno.args[0];
|
||||
const id = Deno.args[1];
|
||||
|
||||
Reference in New Issue
Block a user