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

Revert default installer location change and release 1.14.1 #1798

Merged
merged 1 commit into from
Mar 5, 2021
Merged

Conversation

xortive
Copy link
Contributor

@xortive xortive commented Mar 5, 2021

I had tested this using npm pack, but it seems that when installing using the actual npm package, this change is causing issues for folks on npm@7. Let's revert to the known-good homedir install location until we figure out what's going on.

I also included some edits to the release checklist that involve tagging the release after the release PR is merged. This makes fix and release PRs like this one work better, and it fixes some parts of github's CI that expect release tags to be tagged on the default branch

closes #1796

@xortive xortive requested a review from a team as a code owner March 5, 2021 14:51
@xortive xortive changed the title placeholder Revert default installer-location change and release 1.14.1 Mar 5, 2021
@xortive xortive changed the title Revert default installer-location change and release 1.14.1 Revert default installer location change and release 1.14.1 Mar 5, 2021
@@ -38,7 +38,7 @@ const getBinary = () => {
const customPath =
process.env.WRANGLER_INSTALL_PATH ||
process.env.npm_config_wrangler_install_path;
const installDirectory = join(customPath || __dirname, "wrangler");
const installDirectory = join(customPath || os.homedir(), ".wrangler");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xortive xortive merged commit c6b61cd into master Mar 5, 2021
@delete-merged-branch delete-merged-branch bot deleted the 1.14.1 branch March 5, 2021 15:15
@Siilwyn
Copy link

Siilwyn commented Mar 5, 2021

Another approach could be using optionalDependencies like described here: evanw/esbuild#789 (comment)

@jasikpark
Copy link
Contributor

I'm still getting an error when using 1.14.1 instead of 1.14.0 ... cloudflare/wrangler-action#50 (comment)

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.

Unable to install wrangler
4 participants