Skip to content

Commit c8300bc

Browse files
committed
fix: lint and typecheck
1 parent de78f76 commit c8300bc

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_modules
55
.vercel
66
.netlify
77
.wrangler
8-
/.svelte-kit
8+
/**/.svelte-kit
99
/build
1010

1111
# OS

apps/mcp-remote/src/hooks.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { http_transport } from '$lib/mcp/index.js';
2-
import { db } from '$lib/server/db';
2+
import { db } from '$lib/server/db/index.js';
33

44
export async function handle({ event, resolve }) {
55
const mcp_response = await http_transport.respond(event.request, {

apps/mcp-remote/src/lib/server/db/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { createClient } from '@libsql/client';
22
import { drizzle } from 'drizzle-orm/libsql';
33
import * as schema from './schema.js';
4+
// let's disable it for the moment...i can't figure out a way to make it wotk with eslint
5+
// eslint-disable-next-line import/extensions
46
import { DATABASE_TOKEN, DATABASE_URL } from '$env/static/private';
57
if (!DATABASE_URL) throw new Error('DATABASE_URL is not set');
68
if (!DATABASE_TOKEN) throw new Error('DATABASE_TOKEN is not set');

packages/mcp-schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"license": "ISC",
1515
"packageManager": "[email protected]",
1616
"type": "module",
17-
"peerDependencies": {
17+
"dependencies": {
1818
"drizzle-orm": "^0.40.1"
1919
}
2020
}

packages/mcp-schema/src/utils.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { sql, Column } from 'drizzle-orm';
1+
/**
2+
* @import { Column } from 'drizzle-orm';
3+
*/
4+
import { sql } from 'drizzle-orm';
25
import { customType } from 'drizzle-orm/sqlite-core';
36

47
/**

0 commit comments

Comments
 (0)