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

package.json: Remove "preferGlobal" option #820

Merged
merged 1 commit into from
Dec 1, 2015
Merged

package.json: Remove "preferGlobal" option #820

merged 1 commit into from
Dec 1, 2015

Conversation

feross
Copy link
Contributor

@feross feross commented Nov 30, 2015

We use js-beautify internally, as part of standard. Our users get this warning whenever they npm install standard:

npm WARN prefer global [email protected] should be installed with -g

It's no longer a best-practice to use preferGlobal for npm packages that merely contain a command line program. The command line program should be the only way to use the package.

Thoughts?

@bitwiseman bitwiseman added this to the v1.6.0 milestone Dec 1, 2015
@bitwiseman
Copy link
Member

Seems reasonable. it is up to the user if they want to install global or not.

bitwiseman added a commit that referenced this pull request Dec 1, 2015
package.json: Remove "preferGlobal" option
@bitwiseman bitwiseman merged commit 91e00f0 into beautifier:master Dec 1, 2015
@feross
Copy link
Contributor Author

feross commented Dec 1, 2015

Cool, thanks!

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.

2 participants