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

Add installationMethod property to package.json #1557

Merged
merged 2 commits into from Nov 1, 2016

Conversation

Daniel15
Copy link
Member

Summary
Adds an installationMethod property to package.json, and updates the packaging scripts to set it. This can be used to show the installation method as part of the CLI output (#942), or to determine which update mechanism to use when updating to a newer version of Yarn (#1429, #1139)

Test plan
Built everything and eyeballed the package.json in different scenarios (eg. looked in .deb file, .rpm file, ran Windows installer)

References #1138, #1139, #942, #1429,

@sebmck sebmck merged commit 6ca0723 into yarnpkg:master Nov 1, 2016
@Daniel15 Daniel15 deleted the install-method-2 branch November 1, 2016 21:03
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.

None yet

2 participants