Skip to content

[Bug?]: yarn up seems to also look at files when using glob patterns #6770

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

Closed
1 task
kpervin opened this issue Apr 17, 2025 · 2 comments
Closed
1 task

[Bug?]: yarn up seems to also look at files when using glob patterns #6770

kpervin opened this issue Apr 17, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@kpervin
Copy link

kpervin commented Apr 17, 2025

Self-service

  • I'd be willing to implement a fix

Describe the bug

When running yarn up *eslint* I get the following message:

Usage Error: Pattern eslint.config.mjs doesn't match any packages referenced by any workspace

For some reason it is attempting to match against files in the project instead of solely packages.

To reproduce

  1. Run (npx | yarn dlx) create-next-app@latest --ts --eslint --app --src-dir --use-yarn to create sample project. Enter project.
  2. Run yarn set version stable
  3. Run yarn up *eslint* and see issue.

Environment

Windows WSL 2

System:
    OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
  Binaries:
    Node: 22.14.0 - /tmp/xfs-530c5581/node
    Yarn: 4.9.1 - /tmp/xfs-530c5581/yarn
    npm: 10.9.2 - ~/.volta/tools/image/node/22.14.0/bin/npm
    bun: 1.0.25 - /usr/local/bin/bun

Additional context

No response

@kpervin kpervin added the bug Something isn't working label Apr 17, 2025
@kpervin kpervin changed the title [Bug?]: yarn up seems to also look at files in a monorepo when using glob patterns [Bug?]: yarn up seems to also look at files when using glob patterns Apr 17, 2025
@arcanis
Copy link
Member

arcanis commented Apr 17, 2025

That's your shell. Wrap the argument between single quotes.

@arcanis arcanis closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2025
@kpervin
Copy link
Author

kpervin commented Apr 17, 2025

That's your shell. Wrap the argument between single quotes.

I'll be honest I feel like a bit of an idiot 😅

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

2 participants