fix: replace @/ path alias with relative imports in MCP server
All checks were successful
CI / ci (push) Successful in 33s
All checks were successful
CI / ci (push) Successful in 33s
The @/ alias resolves via tsconfig but not in production where Bun runs server files directly. Use relative paths instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { db as prodDb } from "@/db/index.ts";
|
||||
import type { db as prodDb } from "../../../db/index.ts";
|
||||
import {
|
||||
createCategory,
|
||||
getAllCategories,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { db as prodDb } from "@/db/index.ts";
|
||||
import type { db as prodDb } from "../../../db/index.ts";
|
||||
import {
|
||||
createItem,
|
||||
deleteItem,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { db as prodDb } from "@/db/index.ts";
|
||||
import type { db as prodDb } from "../../../db/index.ts";
|
||||
import {
|
||||
createSetup,
|
||||
getAllSetups,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { db as prodDb } from "@/db/index.ts";
|
||||
import type { db as prodDb } from "../../../db/index.ts";
|
||||
import {
|
||||
createCandidate,
|
||||
createThread,
|
||||
|
||||
Reference in New Issue
Block a user