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

Support | in regex #515

Closed
linonetwo opened this issue Jun 12, 2023 · 2 comments
Closed

Support | in regex #515

linonetwo opened this issue Jun 12, 2023 · 2 comments

Comments

@linonetwo
Copy link

Is your feature request related to a problem? Please describe.

    "generate-barrels-subdir": "barrelsby --delete -q -l branch -d packages --exclude \".+\\.d\\.ts|node_modules\" && dprint fmt **/index.ts",

I want to exclude node_modules in pnpm workspace, where each folder in /packages folder will have one.

Describe the solution you'd like

Auto exclude node_modules by default

Describe alternatives you've considered

Support | in regex, so it won't recognized by shell as pipe line

Additional context

@BitForger BitForger assigned BitForger and unassigned BitForger Jun 22, 2023
@BitForger
Copy link
Collaborator

A workaround currently could be to use the config file and point the barrelsby command to the config file

Copy link

No activity has been seen recently, marking as stale. If this is a mistake please reach out to a collaborator

@BitForger BitForger reopened this May 12, 2024
@BitForger BitForger closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants