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

[Bug?]: --exclude doesn't work when used together with --since #6609

Open
1 task done
FezVrasta opened this issue Nov 21, 2024 · 0 comments
Open
1 task done

[Bug?]: --exclude doesn't work when used together with --since #6609

FezVrasta opened this issue Nov 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@FezVrasta
Copy link

FezVrasta commented Nov 21, 2024

Self-service

  • I'd be willing to implement a fix

Describe the bug

If I use yarn workspaces foreach --parallel --interlaced --recursive --from '{backend,web-client}' --exclude '{backend,web-client}' run build all the packages needed by backend and web-client workspaces are built, and backend and web-client aren't. All good!

But if I add the --since flag, also the backend and web-client workspaces are built. This is unexpected.

To reproduce

yarn workspaces foreach --parallel --interlaced --recursive --from '{backend,web-client}' --exclude '{backend,web-client} --since run build

Environment

System:
    OS: macOS 15.1
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 22.11.0 - /private/var/folders/c6/klv3h1_977v_x6t45d515kzc0000gn/T/xfs-d63df4c4/node
    Yarn: 4.5.1 - /private/var/folders/c6/klv3h1_977v_x6t45d515kzc0000gn/T/xfs-d63df4c4/yarn
    npm: 10.9.0 - ~/.local/share/mise/installs/node/22.11.0/bin/npm

Additional context

No response

@FezVrasta FezVrasta added the bug Something isn't working label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant