Skip to content

refactor(init)!: remove --assume-fresh-project #4649

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

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

paul-soporan
Copy link
Member

What's the problem this PR addresses?

This PR removes the --assume-fresh-project flag of yarn init.

The flag has been a no-op since Yarn 3.x. Should be safe to remove now since AFAIK the only use case it breaks is initializing a Yarn 4 project using a yarn@>=2.1.0 <3.0.0 binary, which should be very uncommon.

How did you fix it?

Removed it.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@paul-soporan paul-soporan mentioned this pull request Jul 20, 2022
13 tasks
@arcanis arcanis merged commit 42a3e74 into master Jul 20, 2022
@arcanis arcanis deleted the paul/refactor/remove-assume-fresh-project branch July 20, 2022 08:03
@merceyz merceyz added this to the 4.0.0 milestone May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants