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

Use binary-install for npm #862

Merged
merged 4 commits into from Dec 13, 2019
Merged

Use binary-install for npm #862

merged 4 commits into from Dec 13, 2019

Conversation

EverlastingBugstopper
Copy link
Contributor

@EverlastingBugstopper EverlastingBugstopper commented Nov 8, 2019

Use binary-install for npm installs of wrangler.

The overarching goal is to have this package also be used by wasm-pack, and by extension, wasm-pack-plugin, so that we no longer need to install wasm-pack on webpack builds.

This PR also includes logic for uninstalling the downloaded binary after uninstalling.

Testing

To test this, uninstall all versions of wrangler

npm uninstall -g @cloudflare/wrangler
cargo uninstall wrangler

Check to make sure which wrangler says wrangler not found

Then cd npm and npm install -g, and try running which wrangler.

@EverlastingBugstopper EverlastingBugstopper modified the milestones: 1.6.0, 1.7.0 Nov 14, 2019
@EverlastingBugstopper EverlastingBugstopper changed the title [WIP] Use binary-install for npm Use binary-install for npm Dec 12, 2019
@ashleygwilliams ashleygwilliams merged commit 3f752c6 into master Dec 13, 2019
@ashleygwilliams ashleygwilliams deleted the avery/use-binstall branch December 13, 2019 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants