diff --git a/src/hono.test.ts b/src/hono.test.ts index b1f36ca2f..6a6007066 100644 --- a/src/hono.test.ts +++ b/src/hono.test.ts @@ -7,7 +7,7 @@ import { Hono } from './hono' import { HTTPException } from './http-exception' import { logger } from './middleware/logger' import { poweredBy } from './middleware/powered-by' -import { SmartRouter } from './mod' +import { SmartRouter } from './router/smart-router' import { RegExpRouter } from './router/reg-exp-router' import { TrieRouter } from './router/trie-router' import type { Handler, MiddlewareHandler, Next } from './types' diff --git a/src/mod.ts b/src/mod.ts deleted file mode 100644 index 674f8de64..000000000 --- a/src/mod.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Hono } from './hono' - -export type { - Env, - ErrorHandler, - Handler, - MiddlewareHandler, - Next, - NotFoundHandler, - ValidationTargets, - Input, - Schema, - ToSchema, - TypedResponse, -} from './types' -export type { Context, ContextVariableMap, ContextRenderer, ExecutionContext } from './context' -export type { HonoRequest } from './request' -export { Hono } -export { HTTPException } from './http-exception' - -// Router -export { RegExpRouter } from './router/reg-exp-router' -export { TrieRouter } from './router/trie-router' -export { SmartRouter } from './router/smart-router' -export { PatternRouter } from './router/pattern-router' -export { LinearRouter } from './router/linear-router' - -// Validator -export { validator } from './validator' - -// Client -export { hc } from './client' -export type { InferRequestType, InferResponseType, ClientRequestOptions } from './client'