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 yalc push always adding in pure mode for repos with workspaces #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Blasz
Copy link

@Blasz Blasz commented Oct 16, 2019

Fixes #75.

@Nantris
Copy link

Nantris commented Oct 14, 2023

It's working in pure mode even for a non-monorepo with no yarn workspaces defined. It tells me to use --no-pure to override, but when I do that it still prints out that it's operating "purely."

@wclr

@Venryx
Copy link

Venryx commented Apr 23, 2024

@Nantris Unfortunately only the "add" and "link" commands are set up to receive/process the "--pure" flag:

If you're using one of the other commands (eg. "restore"), the command doesn't look for the "pure" flag, so cannot pass it down to the underlying functions that it calls. (which I'm assuming is your scenario; I hit this issue when trying to use "yalc restore" in a monorepo, and wondering why "yalc restore --no-pure" had no difference/effect)

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.

yalc push overrides --no-pure always
4 participants