Skip to content
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

work around publishing issue with npm v7 #5983

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

Conduitry
Copy link
Member

This is a horrible solution but I don't know what else to do now that will maintain the prepare script, maintain the separate quick build and bundled/REPL-compatible for-publishing build, and also work on Windows.

This adds another step to prepublishOnly which ensures that PUBLISH is already set. If you set it yourself, then it will still be inherited by the extra prepare-triggered build, and so the good build we want to publish won't be clobbered by a bad build.

Works around #5662, but I would want to keep that issue open even if this were merged.

@Conduitry Conduitry merged commit 9a9b934 into sveltejs:master Feb 17, 2021
@Conduitry Conduitry deleted the gh-5662 branch February 17, 2021 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant