bencoveney / barrelsby

Automatic TypeScript barrels (index.ts files) for your entire code base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support | in regex

linonetwo opened this issue · comments

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

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

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