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

favor using latest when documenting npx commands #821

Merged

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented Dec 15, 2021

Related Issue

N / A

Summary of Changes

To avoid any caching issues or confusion for users, making it explicit with npx commands to reference @latest npm alias

# before
npx @greenwood/init

# after
npx @greenwood/init@latest

edit: found this Reddit thread where other user's are reporting similar situations in needed to use @latest, and that this helps avoid caching issues, which appears to be the default behavior of npx (now?)

If any requested packages are not present in the local project dependencies, then they are installed to a folder in the npm cache

@thescientist13 thescientist13 added website Tasks related to the projects website / documentation documentation Greenwood specific docs v0.20.0 labels Dec 15, 2021
@thescientist13 thescientist13 added this to the 1.0 milestone Dec 15, 2021
@thescientist13 thescientist13 merged commit 0012656 into release/0.20.0 Dec 18, 2021
@thescientist13 thescientist13 deleted the docs/favor-latest-version-for-npx-commands branch December 18, 2021 16:55
@thescientist13 thescientist13 moved this from IN REVIEW to DONE in 7 - SSR and External Data Sources Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Greenwood specific docs v0.20.0 website Tasks related to the projects website / documentation
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant