Skip to content

Commit 484a89a

Browse files
committed
Revert "style: format existing files"
This reverts commit 16654dd.
1 parent 16654dd commit 484a89a

File tree

22 files changed

+60
-55
lines changed

22 files changed

+60
-55
lines changed

packages/mcp-server-postgrest/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"prepublishOnly": "npm run build",
1313
"test": "vitest"
1414
},
15-
"files": ["dist/**/*"],
15+
"files": [
16+
"dist/**/*"
17+
],
1618
"bin": {
1719
"mcp-server-postgrest": "./dist/stdio.js"
1820
},

packages/mcp-server-postgrest/src/stdio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

3-
import { parseArgs } from 'node:util';
43
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
4+
import { parseArgs } from 'node:util';
55
import { createPostgrestMcpServer } from './server.js';
66

77
async function main() {

packages/mcp-server-supabase/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"test:coverage": "vitest --coverage",
1818
"generate:management-api-types": "openapi-typescript https://api.supabase.com/api/v1-json -o ./src/management-api/types.ts"
1919
},
20-
"files": ["dist/**/*"],
20+
"files": [
21+
"dist/**/*"
22+
],
2123
"bin": {
2224
"mcp-server-supabase": "./dist/transports/stdio.js"
2325
},

packages/mcp-server-supabase/src/eszip.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { type FileHandle, open } from 'node:fs/promises';
21
import { codeBlock } from 'common-tags';
2+
import { open, type FileHandle } from 'node:fs/promises';
33
import { describe, expect, test } from 'vitest';
44
import { bundleFiles, extractFiles } from './eszip.js';
55

packages/mcp-server-supabase/src/eszip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { build, Parser } from '@deno/eszip';
12
import { join, relative } from 'node:path/posix';
23
import { fileURLToPath } from 'node:url';
3-
import { Parser, build } from '@deno/eszip';
44
import { z } from 'zod';
55

66
const parser = await Parser.createInstance();

packages/mcp-server-supabase/src/platform/api-platform.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { fileURLToPath } from 'node:url';
21
import type { InitData } from '@supabase/mcp-utils';
2+
import { fileURLToPath } from 'node:url';
33
import packageJson from '../../package.json' with { type: 'json' };
44
import { getDeploymentId, getPathPrefix } from '../edge-function.js';
55
import { extractFiles } from '../eszip.js';
@@ -14,6 +14,13 @@ import {
1414
getCountryCoordinates,
1515
} from '../regions.js';
1616
import {
17+
applyMigrationOptionsSchema,
18+
createBranchOptionsSchema,
19+
createProjectOptionsSchema,
20+
deployEdgeFunctionOptionsSchema,
21+
executeSqlOptionsSchema,
22+
getLogsOptionsSchema,
23+
resetBranchOptionsSchema,
1724
type ApplyMigrationOptions,
1825
type CreateBranchOptions,
1926
type CreateProjectOptions,
@@ -23,13 +30,6 @@ import {
2330
type GetLogsOptions,
2431
type ResetBranchOptions,
2532
type SupabasePlatform,
26-
applyMigrationOptionsSchema,
27-
createBranchOptionsSchema,
28-
createProjectOptionsSchema,
29-
deployEdgeFunctionOptionsSchema,
30-
executeSqlOptionsSchema,
31-
getLogsOptionsSchema,
32-
resetBranchOptionsSchema,
3333
} from './index.js';
3434

3535
const { version } = packageJson;

packages/mcp-server-supabase/src/platform/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { InitData } from '@supabase/mcp-utils';
21
import { z } from 'zod';
32
import { AWS_REGION_CODES } from '../regions.js';
3+
import type { InitData } from '@supabase/mcp-utils';
44

55
export const organizationSchema = z.object({
66
id: z.string(),

packages/mcp-server-supabase/src/regions.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { http, HttpResponse } from 'msw';
2-
import { setupServer } from 'msw/node';
31
import { describe, expect, it } from 'vitest';
42
import {
53
EARTH_RADIUS,
6-
TRACE_URL,
74
getClosestAwsRegion,
85
getCountryCode,
96
getCountryCoordinates,
107
getDistance,
8+
TRACE_URL,
119
} from './regions.js';
10+
import { http, HttpResponse } from 'msw';
11+
import { setupServer } from 'msw/node';
1212

1313
const COUNTRY_CODE = 'US';
1414

packages/mcp-server-supabase/src/regions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type UnionToTuple, type ValueOf, parseKeyValueList } from './util.js';
1+
import { parseKeyValueList, type UnionToTuple, type ValueOf } from './util.js';
22

33
export type AwsRegion = {
44
code: string;

packages/mcp-server-supabase/src/server.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
22
import {
3-
type CallToolRequest,
43
CallToolResultSchema,
4+
type CallToolRequest,
55
} from '@modelcontextprotocol/sdk/types.js';
66
import { StreamTransport } from '@supabase/mcp-utils';
77
import { codeBlock } from 'common-tags';
@@ -11,10 +11,10 @@ import {
1111
ACCESS_TOKEN,
1212
API_URL,
1313
CLOSEST_REGION,
14-
MCP_CLIENT_NAME,
15-
MCP_CLIENT_VERSION,
1614
createOrganization,
1715
createProject,
16+
MCP_CLIENT_NAME,
17+
MCP_CLIENT_VERSION,
1818
mockBranches,
1919
mockManagementApi,
2020
mockOrgs,

0 commit comments

Comments
 (0)