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

fix(exec): use latest version when possible #2592

Closed
wants to merge 1 commit into from
Closed

Conversation

wraithgar
Copy link
Member

pull latest packument when getting info about package to run,
also install newer version if one is available and user has not
specified a version (i.e. is defaulting to @latest)

References

Requires npm/arborist#211 to be installed in the cli for the bug to be totally fixed
Closes #2395

@wraithgar wraithgar requested a review from a team as a code owner February 1, 2021 21:42
pull latest packument when getting info about package to run,
also install newer version if one is available and user has not
specified a version (i.e. is defaulting to @latest)
@darcyclarke darcyclarke added Release 7.x work is associated with a specific npm 7 release release: next These items should be addressed in the next release labels Feb 2, 2021
darcyclarke pushed a commit that referenced this pull request Feb 2, 2021
pull latest packument when getting info about package to run,
also install newer version if one is available and user has not
specified a version (i.e. is defaulting to @latest)

PR-URL: #2592
Credit: @wraithgar
Closes: #2395
Closes: #2329
Reviewed-by: @darcyclarke
@darcyclarke darcyclarke closed this Feb 2, 2021
@wraithgar wraithgar deleted the gar/init-latest branch November 2, 2021 20:05
@wesbos
Copy link

wesbos commented Jan 5, 2023

I think this is still an issue? Or was reverted? @darcyclarke let me know if you need any more info

Screenshot 2023-01-04 at 7 32 16 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: next These items should be addressed in the next release Release 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] There is no way to force "npm init" to get the latest version of the init package
3 participants