diff --git a/packages/shared/exports.ts b/packages/shared/exports.ts index a5bb77cb4..d22a48456 100644 --- a/packages/shared/exports.ts +++ b/packages/shared/exports.ts @@ -1,5 +1,4 @@ export * from "./src/bridge" -export * from "./src/env" export { type AppType } from "./src/hono" export * from "./src/hono" export * from "./src/language" diff --git a/packages/shared/src/env.desktop.ts b/packages/shared/src/env.desktop.ts index 46463d10d..6766b80b4 100644 --- a/packages/shared/src/env.desktop.ts +++ b/packages/shared/src/env.desktop.ts @@ -1,10 +1,11 @@ /** * This env for apps/desktop */ -import { DEFAULT_VALUES } from "@follow/shared/env.common" import { createEnv } from "@t3-oss/env-core" import { z } from "zod" +import { DEFAULT_VALUES } from "./env.common" + export const env = createEnv({ clientPrefix: "VITE_", client: { diff --git a/packages/shared/src/env.rn.ts b/packages/shared/src/env.rn.ts index 0f70b54cf..1cd5f6c04 100644 --- a/packages/shared/src/env.rn.ts +++ b/packages/shared/src/env.rn.ts @@ -1,7 +1,7 @@ /** * This env for apps/mobile */ -import { DEFAULT_VALUES } from "@follow/shared/env.common" +import { DEFAULT_VALUES } from "./env.common" const profile = "prod" diff --git a/packages/shared/src/env.ssr.ts b/packages/shared/src/env.ssr.ts index a3357d62b..484067872 100644 --- a/packages/shared/src/env.ssr.ts +++ b/packages/shared/src/env.ssr.ts @@ -1,10 +1,11 @@ /** * This env for apps/ssr */ -import { DEFAULT_VALUES } from "@follow/shared/env.common" import { createEnv } from "@t3-oss/env-core" import { z } from "zod" +import { DEFAULT_VALUES } from "./env.common" + export const env = createEnv({ clientPrefix: "VITE_", client: { diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index e268b9b23..ee2eae8e1 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts @@ -1,4 +1,3 @@ export * from "./constants" -export * from "./env" export type { AppType, languageSchema, users } from "./hono" export * from "./language"