Skip to content

Commit 1c69974

Browse files
committed
Fix
1 parent 13f64f0 commit 1c69974

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"format": "prettier --write 'src/**/*.{js,ts}'",
2525
"format:check": "prettier --check 'src/**/*.{js,ts}'",
2626
"typecheck": "npx tsc --noEmit",
27-
"verify:smithery-bundle": "scripts/verify-smithery-bundle.sh",
27+
"verify:smithery-bundle": "bash scripts/verify-smithery-bundle.sh",
2828
"inspect": "npx @modelcontextprotocol/inspector node build/index.js",
2929
"doctor": "node build/doctor-cli.js",
3030
"tools": "npx tsx scripts/tools-cli.ts",

scripts/verify-smithery-bundle.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,26 @@ FRAMEWORK_DIR="$BUNDLE_DIR/Frameworks"
99

1010
if [ ! -f "$AXE_BIN" ]; then
1111
echo "❌ Missing AXe binary at $AXE_BIN"
12+
if [ -d "$PROJECT_ROOT/.smithery" ]; then
13+
echo "🔍 .smithery contents:"
14+
ls -la "$PROJECT_ROOT/.smithery"
15+
fi
1216
exit 1
1317
fi
1418

1519
if [ ! -d "$FRAMEWORK_DIR" ]; then
1620
echo "❌ Missing Frameworks directory at $FRAMEWORK_DIR"
21+
if [ -d "$BUNDLE_DIR" ]; then
22+
echo "🔍 bundled contents:"
23+
ls -la "$BUNDLE_DIR"
24+
fi
1725
exit 1
1826
fi
1927

2028
FRAMEWORK_COUNT="$(find "$FRAMEWORK_DIR" -maxdepth 2 -type d -name "*.framework" | wc -l | tr -d ' ')"
2129
if [ "$FRAMEWORK_COUNT" -eq 0 ]; then
2230
echo "❌ No frameworks found in $FRAMEWORK_DIR"
31+
find "$FRAMEWORK_DIR" -maxdepth 2 -type d | head -n 50
2332
exit 1
2433
fi
2534

0 commit comments

Comments
 (0)