From 82cfd466f21c5fd7ebd07987b56487ca3854421a Mon Sep 17 00:00:00 2001 From: ryu <114303361+ryuapp@users.noreply.github.com> Date: Sun, 26 May 2024 04:41:48 +0900 Subject: [PATCH] chore(deno): change path including deno_dist (#2788) --- benchmarks/deno/hono.ts | 3 ++- benchmarks/routers-deno/src/hono.mts | 8 ++++---- runtime_tests/deno-jsx/deno.precompile.json | 3 +-- runtime_tests/deno-jsx/deno.react-jsx.json | 3 +-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/benchmarks/deno/hono.ts b/benchmarks/deno/hono.ts index 9a52ccae..96a64a74 100644 --- a/benchmarks/deno/hono.ts +++ b/benchmarks/deno/hono.ts @@ -1,4 +1,5 @@ -import { Hono, RegExpRouter } from '../../deno_dist/mod.ts' +import { Hono } from '../../src/index.ts' +import { RegExpRouter } from '../../src/router/reg-exp-router/index.ts' const app = new Hono({ router: new RegExpRouter() }) diff --git a/benchmarks/routers-deno/src/hono.mts b/benchmarks/routers-deno/src/hono.mts index bfc07789..a77853af 100644 --- a/benchmarks/routers-deno/src/hono.mts +++ b/benchmarks/routers-deno/src/hono.mts @@ -1,7 +1,7 @@ -import type { Router } from '../../../deno_dist/router.ts' -import { RegExpRouter } from '../../../deno_dist/router/reg-exp-router/index.ts' -import { TrieRouter } from '../../../deno_dist/router/trie-router/index.ts' -import { PatternRouter } from '../../../deno_dist/router/pattern-router/index.ts' +import type { Router } from '../../../src/router.ts' +import { RegExpRouter } from '../../../src/router/reg-exp-router/index.ts' +import { TrieRouter } from '../../../src/router/trie-router/index.ts' +import { PatternRouter } from '../../../src/router/pattern-router/index.ts' import type { RouterInterface } from './tool.mts' import { routes, handler } from './tool.mts' diff --git a/runtime_tests/deno-jsx/deno.precompile.json b/runtime_tests/deno-jsx/deno.precompile.json index 31f0aec6..315f3b88 100644 --- a/runtime_tests/deno-jsx/deno.precompile.json +++ b/runtime_tests/deno-jsx/deno.precompile.json @@ -11,7 +11,6 @@ "sloppy-imports" ], "imports": { - "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts", - "../../deno_dist/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts" + "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts" } } \ No newline at end of file diff --git a/runtime_tests/deno-jsx/deno.react-jsx.json b/runtime_tests/deno-jsx/deno.react-jsx.json index 0e1fd1d3..9e0b018a 100644 --- a/runtime_tests/deno-jsx/deno.react-jsx.json +++ b/runtime_tests/deno-jsx/deno.react-jsx.json @@ -11,7 +11,6 @@ "sloppy-imports" ], "imports": { - "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts", - "../../deno_dist/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts" + "hono/jsx/jsx-runtime": "../../src/jsx/jsx-runtime.ts" } } \ No newline at end of file