Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Add wrangler1 as an alias (#2139)
Browse files Browse the repository at this point in the history
So that when @cloudflare/wrangler is installed along wrangler2, they can each be referenced in npm run scripts.

See cloudflare/workers-sdk#40

Co-authored-by: Sunil Pai <[email protected]>
  • Loading branch information
TehShrike and threepointone authored Dec 13, 2021
1 parent 4c2c784 commit 5131a94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"postinstall": "node ./install-wrangler.js"
},
"bin": {
"wrangler": "./run-wrangler.js"
"wrangler": "./run-wrangler.js",
"wrangler1": "./run-wrangler.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5131a94

Please sign in to comment.