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

chore(config): Deprecate & warn for --global (--location=global) #496

Closed
Tracked by #489
darcyclarke opened this issue May 2, 2022 · 3 comments
Closed
Tracked by #489

Comments

@darcyclarke
Copy link
Contributor

No description provided.

@darcyclarke darcyclarke mentioned this issue May 2, 2022
13 tasks
@darcyclarke darcyclarke changed the title Deprecate & warn for <code class="notranslate">--global (<code class="notranslate">--location=global) chore(config): Deprecate & warn for --global (--location=global) May 2, 2022
@fritzy
Copy link

fritzy commented May 10, 2022

npm/cli#4878

@mscdex
Copy link

mscdex commented Jun 2, 2022

Why was the cli -g/--global flag deprecated (in npm/cli#4879 and especially within the same major version as this seems pretty breaking IMO)? Having to do --location=global seems overly verbose.

@darcyclarke
Copy link
Contributor Author

@mscdex deprecation does not mean removal (so npm i -g <pkg> still works the same way). We're intending to patch this. Going to close this issue & make a new one explaining the details further there (will cross link once it's up)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants