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

Document --force #870

Merged
merged 2 commits into from
Oct 13, 2016
Merged

Document --force #870

merged 2 commits into from
Oct 13, 2016

Conversation

FokkeZB
Copy link
Contributor

@FokkeZB FokkeZB commented Oct 12, 2016

Summary

Documents install/add --force, which does what #858 asks for.

Test plan

Run yarn add --help or yarn install --help and --force should be documented as refetch all packages

@sebmck
Copy link
Contributor

sebmck commented Oct 12, 2016

--force skips our integrity cache and forces execution of install scripts so it does a few more things. I think it'd be more accurate to summarise the description as "ignore all caches"

@FokkeZB
Copy link
Contributor Author

FokkeZB commented Oct 12, 2016

@kittens I changed it, although I must say I find the option name itself not very descriptive. Force what? It's also confusing that you have --offline, --prefer-offline and then to get the opposite you need --force.

@cpojer cpojer merged commit ee07644 into yarnpkg:master Oct 13, 2016
lovelypuppy0607 added a commit to lovelypuppy0607/yarn that referenced this pull request May 11, 2023
* Document install --force

* Address yarnpkg/yarn#870 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants