Skip to content

Commit 232a06c

Browse files
committed
chore: remove pnpx from wrangler deploy script
This is redundant because turbo and pnpm already add the bundled wrangler command to $PATH
1 parent 83863b2 commit 232a06c

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.changeset/lazy-trains-send.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@repo/tools': patch
3+
---
4+
5+
chore: remove pnpx from wrangler deploy script
6+
7+
This is redundant because turbo and pnpm already add the bundled wrangler command to $PATH

packages/tools/bin/run-wrangler-deploy

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ VERSION=$(jq -r '.version' package.json)
66

77
# Deploy with wrangler using the extracted values as binding variables
88
echo "Deploying MCP server $NAME version $VERSION"
9-
pnpx wrangler deploy --var MCP_SERVER_NAME:"$NAME" --var MCP_SERVER_VERSION:"$VERSION" "$@"
9+
wrangler deploy \
10+
--var MCP_SERVER_NAME:"$NAME" \
11+
--var MCP_SERVER_VERSION:"$VERSION" \
12+
"$@"

0 commit comments

Comments
 (0)