Skip to content

Commit 8131547

Browse files
committed
chore: fix formatting
1 parent 6825000 commit 8131547

4 files changed

Lines changed: 82 additions & 64 deletions

File tree

apps/mcp-server/package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "@ooxml-dev/mcp-server",
3-
"private": true,
4-
"version": "0.1.0",
5-
"type": "module",
6-
"main": "./src/index.ts",
7-
"scripts": {
8-
"dev": "wrangler dev",
9-
"build": "wrangler deploy --dry-run",
10-
"deploy": "wrangler deploy",
11-
"typecheck": "tsc --noEmit"
12-
},
13-
"dependencies": {
14-
"@ooxml-dev/shared": "workspace:*",
15-
"@modelcontextprotocol/sdk": "^1.25.3",
16-
"@neondatabase/serverless": "^1.0.2"
17-
},
18-
"devDependencies": {
19-
"@cloudflare/workers-types": "^4.20260127.0",
20-
"typescript": "~5.9.3",
21-
"wrangler": "^4.61.0"
22-
}
2+
"name": "@ooxml-dev/mcp-server",
3+
"private": true,
4+
"version": "0.1.0",
5+
"type": "module",
6+
"main": "./src/index.ts",
7+
"scripts": {
8+
"dev": "wrangler dev",
9+
"build": "wrangler deploy --dry-run",
10+
"deploy": "wrangler deploy",
11+
"typecheck": "tsc --noEmit"
12+
},
13+
"dependencies": {
14+
"@ooxml-dev/shared": "workspace:*",
15+
"@modelcontextprotocol/sdk": "^1.25.3",
16+
"@neondatabase/serverless": "^1.0.2"
17+
},
18+
"devDependencies": {
19+
"@cloudflare/workers-types": "^4.20260127.0",
20+
"typescript": "~5.9.3",
21+
"wrangler": "^4.61.0"
22+
}
2323
}

apps/web/package.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"name": "@ooxml-dev/web",
3-
"private": true,
4-
"version": "0.1.0",
5-
"type": "module",
6-
"scripts": {
7-
"dev": "vite",
8-
"build": "tsc && vite build",
9-
"preview": "vite preview",
10-
"typecheck": "tsc --noEmit",
11-
"deploy": "bun run build && wrangler pages deploy dist --project-name=ooxml-dev"
12-
},
13-
"dependencies": {
14-
"clsx": "^2.1.1",
15-
"fumadocs-core": "^16.4.9",
16-
"fumadocs-ui": "^16.4.9",
17-
"jszip": "^3.10.1",
18-
"lucide-react": "^0.563.0",
19-
"react": "^19.2.4",
20-
"react-dom": "^19.2.4",
21-
"react-router-dom": "^7.13.0"
22-
},
23-
"devDependencies": {
24-
"@tailwindcss/vite": "^4.1.18",
25-
"@types/node": "^25.0.10",
26-
"@types/react": "^19.2.10",
27-
"@types/react-dom": "^19.2.3",
28-
"@vitejs/plugin-react": "^5.1.2",
29-
"tailwindcss": "^4.1.18",
30-
"typescript": "~5.9.3",
31-
"vite": "^7.3.1",
32-
"wrangler": "^4.61.0"
33-
}
2+
"name": "@ooxml-dev/web",
3+
"private": true,
4+
"version": "0.1.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc && vite build",
9+
"preview": "vite preview",
10+
"typecheck": "tsc --noEmit",
11+
"deploy": "bun run build && wrangler pages deploy dist --project-name=ooxml-dev"
12+
},
13+
"dependencies": {
14+
"clsx": "^2.1.1",
15+
"fumadocs-core": "^16.4.9",
16+
"fumadocs-ui": "^16.4.9",
17+
"jszip": "^3.10.1",
18+
"lucide-react": "^0.563.0",
19+
"react": "^19.2.4",
20+
"react-dom": "^19.2.4",
21+
"react-router-dom": "^7.13.0"
22+
},
23+
"devDependencies": {
24+
"@tailwindcss/vite": "^4.1.18",
25+
"@types/node": "^25.0.10",
26+
"@types/react": "^19.2.10",
27+
"@types/react-dom": "^19.2.3",
28+
"@vitejs/plugin-react": "^5.1.2",
29+
"tailwindcss": "^4.1.18",
30+
"typescript": "~5.9.3",
31+
"vite": "^7.3.1",
32+
"wrangler": "^4.61.0"
33+
}
3434
}

apps/web/src/pages/Home.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export function Home() {
3232
NEW
3333
</span>
3434
<span className="text-[var(--color-text-secondary)]">Search the spec via MCP</span>
35-
<Link to="/mcp" className="text-[var(--color-accent)] hover:text-[var(--color-accent-hover)] font-medium text-xs">
35+
<Link
36+
to="/mcp"
37+
className="text-[var(--color-accent)] hover:text-[var(--color-accent-hover)] font-medium text-xs"
38+
>
3639
Learn more →
3740
</Link>
3841
</div>

apps/web/src/pages/Mcp.tsx

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,18 @@ export function Mcp() {
5959
</div>
6060
<h1 className="text-3xl font-bold mb-4">Search the ECMA-376 spec with AI</h1>
6161
<p className="text-[var(--color-text-secondary)] max-w-xl mx-auto">
62-
Connect your MCP-compatible client to search 18,000+ specification chunks using natural language queries.
62+
Connect your MCP-compatible client to search 18,000+ specification chunks using natural
63+
language queries.
6364
</p>
6465
</div>
6566

6667
{/* Endpoint */}
6768
<div className="bg-[var(--color-bg-secondary)] border border-[var(--color-border)] rounded-xl p-6 mb-8">
6869
<h2 className="font-semibold mb-3">Endpoint</h2>
6970
<div className="flex items-center gap-3 bg-[var(--color-bg-primary)] border border-[var(--color-border)] rounded-lg px-4 py-3">
70-
<code className="text-[var(--color-text-primary)] font-mono flex-1">{MCP_ENDPOINT}</code>
71+
<code className="text-[var(--color-text-primary)] font-mono flex-1">
72+
{MCP_ENDPOINT}
73+
</code>
7174
<button
7275
onClick={copyEndpoint}
7376
className="text-xs font-medium bg-[var(--color-accent)] text-white px-3 py-1.5 rounded hover:bg-[var(--color-accent-hover)] transition-colors"
@@ -98,9 +101,13 @@ export function Mcp() {
98101
<div className="p-4 bg-[var(--color-bg-primary)]">
99102
{activeTab === "claude" && (
100103
<>
101-
<p className="text-sm text-[var(--color-text-secondary)] mb-3">Run this command in your terminal:</p>
104+
<p className="text-sm text-[var(--color-text-secondary)] mb-3">
105+
Run this command in your terminal:
106+
</p>
102107
<div className="flex items-center gap-2 bg-[var(--color-bg-code)] rounded-lg px-4 py-3">
103-
<code className="text-[var(--color-syntax-value)] font-mono text-sm flex-1">{CLAUDE_COMMAND}</code>
108+
<code className="text-[var(--color-syntax-value)] font-mono text-sm flex-1">
109+
{CLAUDE_COMMAND}
110+
</code>
104111
<button
105112
onClick={copyCommand}
106113
className="text-[var(--color-text-muted)] hover:text-white text-sm transition shrink-0"
@@ -141,10 +148,13 @@ export function Mcp() {
141148
Use the endpoint URL with any MCP-compatible client:
142149
</p>
143150
<div className="flex items-center gap-2 bg-[var(--color-bg-code)] rounded-lg px-4 py-3">
144-
<code className="text-[var(--color-syntax-value)] font-mono text-sm flex-1">{MCP_ENDPOINT}</code>
151+
<code className="text-[var(--color-syntax-value)] font-mono text-sm flex-1">
152+
{MCP_ENDPOINT}
153+
</code>
145154
</div>
146155
<p className="text-xs text-[var(--color-text-muted)] mt-3">
147-
This server uses HTTP transport. Check your client's documentation for configuration details.
156+
This server uses HTTP transport. Check your client's documentation for
157+
configuration details.
148158
</p>
149159
</>
150160
)}
@@ -198,11 +208,13 @@ export function Mcp() {
198208
>
199209
Model Context Protocol
200210
</a>{" "}
201-
(MCP) is an open standard that lets AI assistants connect to external data sources and tools.
211+
(MCP) is an open standard that lets AI assistants connect to external data sources and
212+
tools.
202213
</p>
203214
<p className="text-sm text-[var(--color-text-secondary)]">
204-
By connecting to this MCP server, your AI assistant gains the ability to search and retrieve information from
205-
the ECMA-376 specification—making it much easier to work with Office Open XML.
215+
By connecting to this MCP server, your AI assistant gains the ability to search and
216+
retrieve information from the ECMA-376 specification—making it much easier to work with
217+
Office Open XML.
206218
</p>
207219
</div>
208220
</main>
@@ -221,7 +233,10 @@ export function Mcp() {
221233
SuperDoc
222234
</a>
223235
</span>
224-
<Link to="/docs" className="text-sm text-[var(--color-text-muted)] hover:text-[var(--color-text-primary)]">
236+
<Link
237+
to="/docs"
238+
className="text-sm text-[var(--color-text-muted)] hover:text-[var(--color-text-primary)]"
239+
>
225240
Back to Docs →
226241
</Link>
227242
</div>

0 commit comments

Comments
 (0)