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

--save is no longer needed #14302

Merged
merged 1 commit into from Jan 23, 2019
Merged

Conversation

SamCortopassi
Copy link
Contributor

--save is on by default as of npm 5. npm install create-subscription is equivalent to npm install --save create-subscription now

`--save` is on by default as of npm 5. `npm install create-subscription` is equivalent to `npm install --save create-subscription` now
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@raunofreiberg
Copy link
Contributor

Not everyone has/or is using NPM v5. Might be safer to keep it around?

@SamCortopassi
Copy link
Contributor Author

npm 5 came out a year and a half ago, so it would only effect npm <=4. How far back does React support npm versions?

https://blog.npmjs.org/post/161081169345/v500

@hg-pyun
Copy link

hg-pyun commented Nov 25, 2018

I think it's good to note explicitly because there may still be users using previous versions of NPM.

@devrchancay
Copy link
Contributor

And what do you think about leaving it like that?

npm install create-subscription --save

--save option for versions less than npm 5

@JoeCortopassi
Copy link
Contributor

JoeCortopassi commented Dec 1, 2018

This pr just maintains consistency in this project, and most other major projects using npm. A year and a half is an eternity in js frameworks, especially something that only lives client-side

#13756

@devrchancay
Copy link
Contributor

That said, I think you should close this PR @SamCortopassi

@JoeCortopassi
Copy link
Contributor

@devrchancay why? It's a good pr, it updates the docs

@JoeCortopassi
Copy link
Contributor

@gaearon good to merge for consistency?

@JoeCortopassi
Copy link
Contributor

???

@threepointone
Copy link
Contributor

Looks good to me, merging. Thanks @JoeCortopassi!

@threepointone threepointone merged commit 38247cb into facebook:master Jan 23, 2019
n8schloss pushed a commit to n8schloss/react that referenced this pull request Jan 31, 2019
`--save` is on by default as of npm 5. `npm install create-subscription` is equivalent to `npm install --save create-subscription` now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants