Skip to content

Commit 4853cac

Browse files
committed
Revert "Merge pull request #33 from mapbox/output_schemas"
This reverts commit 158a5ac, reversing changes made to fbd9018.
1 parent 158a5ac commit 4853cac

File tree

83 files changed

+1375
-3821
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1375
-3821
lines changed

cspell.config.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

package-lock.json

Lines changed: 3 additions & 1035 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
"mapbox-mcp-devkit": "dist/esm/index.js"
1111
},
1212
"scripts": {
13-
"build": "npm run prepare && tshy && npm run generate-version && node scripts/add-shebang.cjs",
14-
"format": "prettier --check \"./src/**/*.{ts,tsx,js,json,md}\" \"./test/**/*.{ts,tsx,js,json,md}\"",
15-
"format:fix": "prettier --write \"./src/**/*.{ts,tsx,js,json,md}\" \"./test/**/*.{ts,tsx,js,json,md}\"",
16-
"generate-version": "node scripts/build-helpers.cjs generate-version",
17-
"inspect:build": "npm run build && npx @modelcontextprotocol/inspector -e MAPBOX_ACCESS_TOKEN=\"$MAPBOX_ACCESS_TOKEN\" node dist/esm/index.js",
18-
"inspect:dev": "npx @modelcontextprotocol/inspector -e MAPBOX_ACCESS_TOKEN=\"$MAPBOX_ACCESS_TOKEN\" npx -y tsx src/index.ts",
1913
"lint": "eslint \"./src/**/*.{ts,tsx}\" \"./test/**/*.{ts,tsx}\"",
2014
"lint:fix": "eslint \"./src/**/*.{ts,tsx}\" \"./test/**/*.{ts,tsx}\" --fix",
15+
"fix-lint": "npm run lint:fix && npm run format:fix",
16+
"format": "prettier --check \"./src/**/*.{ts,tsx,js,json,md}\" \"./test/**/*.{ts,tsx,js,json,md}\"",
17+
"format:fix": "prettier --write \"./src/**/*.{ts,tsx,js,json,md}\" \"./test/**/*.{ts,tsx,js,json,md}\"",
2118
"prepare": "husky && node .husky/setup-hooks.js",
22-
"spellcheck": "cspell \"*.md\" \"src/**/*.ts\" \"test/**/*.ts\"",
19+
"test": "vitest",
20+
"build": "npm run prepare && npm run sync-manifest && tshy && npm run generate-version && node scripts/build-helpers.cjs copy-json && node scripts/add-shebang.cjs",
21+
"generate-version": "node scripts/build-helpers.cjs generate-version",
2322
"sync-manifest": "node scripts/sync-manifest-version.cjs",
24-
"test": "vitest"
23+
"dev": "tsc -p tsconfig.json --watch",
24+
"dev:inspect": "npx @modelcontextprotocol/inspector -e MAPBOX_ACCESS_TOKEN=\"$MAPBOX_ACCESS_PRIVATE_TOKEN\" npx -y tsx src/index.ts"
2525
},
2626
"lint-staged": {
2727
"*.{js,jsx,ts,tsx}": "eslint --fix",
@@ -53,7 +53,6 @@
5353
"@typescript-eslint/eslint-plugin": "^8.0.0",
5454
"@typescript-eslint/parser": "^8.0.0",
5555
"@vitest/coverage-istanbul": "^3.2.4",
56-
"cspell": "^9.2.1",
5756
"eslint": "^9.0.0",
5857
"eslint-config-prettier": "^10.1.8",
5958
"eslint-plugin-n": "^17.21.3",

src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright (c) Mapbox, Inc.
2-
// Licensed under the MIT License.
3-
41
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
52
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
63
import { parseToolConfigFromArgs, filterTools } from './config/toolConfig.js';

src/schemas/style.ts

Lines changed: 0 additions & 223 deletions
This file was deleted.

0 commit comments

Comments
 (0)