-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ignore flag doesn't work #445
Comments
If it's helpful I can't get this to work either. I've tried...
I'm having to resort to exhaustively listing the packages I do want to build with Thanks! |
Just wanted to type up some thoughts. I've ran into multiple issues with this. Looking into this a bit further, it should be possible to achieve this using a glob on For example, to exclude packages beginning with
However, the glob library that Turborepo uses appears to be limited, and doesn't support This seems to be at odds with what the documentation says because the negation operator
sort of works, but excludes all packages beginning with In addition, because of a function called
would not work because If the glob doesn't match any packages, Turbrorepo seems to build everything - which feels bit unintuitive to me. I would expect it to build nothing or error. Maybe there is some historical context I am missing. Apologies if I'm missing something obvious here! |
agree, basically i would summarize that it would be nice to have an opposite flag for |
@jeetiss would be nice if you can share some workaround you found for this |
I did not find any workaround for this. It is still broken |
Still having this issue as well, nothing I've tried has successfully been able to ignore individual For example, we have a bunch of Like the the first replier, I've tried it with the path name, package.json Currently tried it with:
|
@jaredpalmer please check this out 😇 |
For the time being it looks like this has been fixed in #696 I think the From the release notes:
|
on mac with
--
and it runs on webapp1 and webapp2 --
and it runs only on webapp1 |
The issue still appears. I wasn't able to ignore packages using:
|
I'm having same issue, ignore does not seem to work. Using this to negate the scope --no-deps --scope='!excluded-app' Should ignore work without the
@morriq Is that not zsh related? try with single quotes |
I am experiencing the same issues as above. This is currently a blocker bug in my dev workflow :( |
I posted this originally: #398 Still having issues ignoring packages in my build with 1.1.5 unfornunately. |
Same issue here, ignore does not work. |
I can also confirm. We are also encountering this issue in our projects. |
I managed to get this working using This also worked with single quotes with no escape, as in |
I'm having the same issue. Been running this command line |
@emroot You might need to add |
that helped thanks! |
I suspect this issue could probably be closed now the new |
thanks, everything works like a charm with the |
For everyone who experiences this even with the |
What version of Turborepo are you using?
1.0.23
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
turbo run build --ignore='package/path'
doesn't ignore build forpackage/path
Expected Behavior
turbo run build --ignore='package/path'
run build for all packages exceptpackage/path
To Reproduce
ignore some package and run build
The text was updated successfully, but these errors were encountered: