tyrion icon indicating copy to clipboard operation
tyrion copied to clipboard

Unable to 'wildcard' ignorePath

Open Sebdevar opened this issue 5 years ago • 1 comments

Mono-repo

node_modules/
packages/
  a/
    node_modules/
  b/
    node_modules/
  c/
    c-1/
      node_modules/
    c-2/
      node_modules/

Expected ignore-path

"ignorePath": [
  "node_modules",
  "**/node_modules"

Current ignore-path (so that it works)

"ignorePath": [
  "node_modules",
  "packages/a/node_modules",
  "packages/b/node_modules",
  "packages/c/c-1/node_modules",
  "packages/c/c-2/node_modules"

Either the behaviour is not currently implemented or I'm doing it wrong. If the latter, please tell me how.

Thanks ;)

Sebdevar avatar Dec 04 '20 18:12 Sebdevar

Hey @Sebdevar. It is not currently implemented. Do you want to suggest a PR? The code is in pathHelper.ts.

MaximeThoonsen avatar Dec 07 '20 19:12 MaximeThoonsen