diff --git a/packages/http/src/components/createReminder.tsx b/packages/http/src/components/createReminder.tsx index ac77c32..7be43a4 100644 --- a/packages/http/src/components/createReminder.tsx +++ b/packages/http/src/components/createReminder.tsx @@ -1,4 +1,4 @@ -import { Form } from "nano-remix" +import { Form } from "@the-rabbit-hole/nano-remix" import { users } from "@the-rabbit-hole/shared/reminders" type Props = { diff --git a/packages/http/src/routes/index.tsx b/packages/http/src/routes/index.tsx index 6fffbe1..42a64de 100644 --- a/packages/http/src/routes/index.tsx +++ b/packages/http/src/routes/index.tsx @@ -1,5 +1,5 @@ import KV from "@the-rabbit-hole/shared/kv" -import { Form, type Head, type LoaderProps, useAction } from "nano-remix" +import { Form, type Head, type LoaderProps, useAction } from "@the-rabbit-hole/nano-remix" import { addReminder, deleteReminder, type Reminder } from "@the-rabbit-hole/shared/reminders" import { CreateReminder } from "@/components/createReminder" diff --git a/packages/nano-remix/src/nanoRemix.ts b/packages/nano-remix/src/nanoRemix.ts index c449f3c..c52cd09 100644 --- a/packages/nano-remix/src/nanoRemix.ts +++ b/packages/nano-remix/src/nanoRemix.ts @@ -55,7 +55,7 @@ const buildDynamicRoute = async (distDir: string, routeName: string, filepath: s // Only import the Component so that tree-shaking will get rid of the server-side code const code = ` import Component from "${filepath}" -import { wrapComponentWithLoader} from "nano-remix" +import { wrapComponentWithLoader} from "@the-rabbit-hole/nano-remix" import { render } from 'hono/jsx/dom' const root = document.getElementById('root') diff --git a/packages/spike/src/ai.ts b/packages/spike/src/ai.ts index e7d6b8f..3010da9 100644 --- a/packages/spike/src/ai.ts +++ b/packages/spike/src/ai.ts @@ -1,8 +1,8 @@ import OpenAI from "openai" -import { ensure } from "shared/utils" -import KV from "shared/kv" +import { ensure } from "@the-rabbit-hole/shared/utils" +import KV from "@the-rabbit-hole/shared/kv" import { buildInstructions } from "@/instructions" -import { log } from "shared/log" +import { log } from "@the-rabbit-hole/shared/log" import { getToolsJSON, type CustomTool } from "@/tools" import { zodFunction } from "openai/helpers/zod.mjs" diff --git a/packages/spike/src/cli/index.ts b/packages/spike/src/cli/index.ts index afd976d..ec9d995 100644 --- a/packages/spike/src/cli/index.ts +++ b/packages/spike/src/cli/index.ts @@ -2,7 +2,7 @@ import { createInterface } from "node:readline" import { aiErrorMessage, getAIResponse } from "@/ai" import { buildInstructions } from "@/instructions" import type OpenAI from "openai" -import { currentLocalTime } from "shared/utils" +import { currentLocalTime } from "@the-rabbit-hole/shared/utils" import { tools } from "@/tools" // Setup readline interface diff --git a/packages/spike/src/discord/respond.ts b/packages/spike/src/discord/respond.ts index 500e00e..c3bb154 100644 --- a/packages/spike/src/discord/respond.ts +++ b/packages/spike/src/discord/respond.ts @@ -1,7 +1,7 @@ import { aiErrorMessage, getAIResponse } from "@/ai" import { buildInstructions } from "@/instructions" import { tools } from "@/tools" -import { currentLocalTime } from "shared/utils" +import { currentLocalTime } from "@the-rabbit-hole/shared/utils" import type { Message } from "discord.js" import type OpenAI from "openai" diff --git a/packages/spike/src/tools.ts b/packages/spike/src/tools.ts index db81395..c280352 100644 --- a/packages/spike/src/tools.ts +++ b/packages/spike/src/tools.ts @@ -1,4 +1,4 @@ -import { addReminder, getPendingReminders, updateReminder, users } from "shared/reminders" +import { addReminder, getPendingReminders, updateReminder, users } from "@the-rabbit-hole/shared/reminders" import OpenAI from "openai" import { zodFunction } from "openai/helpers/zod" import { z } from "zod"