Skip to content

Commit 66ee84e

Browse files
committed
Restore Smithery module entrypoint
1 parent 373f870 commit 66ee84e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/dev/ARCHITECTURE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,10 @@ describe('Tool Name', () => {
477477
└── *.js.map # Source maps
478478
```
479479

480+
### Smithery entrypoint
481+
482+
Smithery deployments build from source using the Smithery CLI. The CLI discovers the TypeScript entrypoint from `package.json#module`, so this repository intentionally points `module` to `src/smithery.ts`. The npm runtime entrypoint is defined by `exports` and targets the compiled `build/` output.
483+
480484
### npm Package
481485

482486
- **Name**: `xcodebuildmcp`

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"iOSTemplateVersion": "v1.0.8",
66
"macOSTemplateVersion": "v1.0.5",
77
"type": "module",
8+
"module": "src/smithery.ts",
89
"exports": {
910
".": "./build/index.js",
1011
"./package.json": "./package.json"

0 commit comments

Comments
 (0)