-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add wrangler2
as an alias
#40
Conversation
So that when wrangler2 is installed along @cloudflare/wrangler, they can each be referenced in dev scripts
So that when @cloudflare/wrangler is installed along wrangler2, they can each be referenced in npm run scripts. See cloudflare/workers-sdk#40
My current workaround is to publish a fork https://www.npmjs.com/package/@tehshrike/wrangler2 |
Pretty sure can reference wrangler v1 with |
This PR seems unnecessary. You can install wrangler locally to a project and refer to it via npm scripts, or use npx. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned
Nope, I tried that –
There is currently no way to install both I was not using any global scripts, I was only using versions of wrangler that were direct dependencies of my project. |
Noted, thanks for the investigation. Lemme think about this, but I'm leaning towards merging this atm. |
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 <spai@cloudflare.com>
So that when wrangler2 is installed along @cloudflare/wrangler, they can each be referenced in npm run scripts.
See cloudflare/wrangler-legacy#2139