open-wc / custom-elements-manifest

Custom Elements Manifest is a file format that describes custom elements in your project.
https://custom-elements-manifest.open-wc.org/
227 stars 37 forks source link

Backtracking into dependency packages in mono repos. #156

Closed PaulHMason closed 2 years ago

PaulHMason commented 2 years ago

Checklist

Completing the items above will greatly improve triaging time of your issue.

Expected behavior I suspect this is just the way globs work, but anyway. I have a package that depends on another package (core) in a mono repo and would like to create a merged manifest for 'something' and 'core'.

packages --- core --- something (analyze script is in this package)

globs: ['../core/**/*.js', '**/*.js'] just hangs.

EDIT: The issue was the node_modules folder was being analyzed for the backtracked glob as well - excluding it fixes the problem.

PaulHMason commented 2 years ago

The issue was the node_modules folder was being analyzed for the backtracked glob as well - excluding it fixes the problem.