If the projects option is undefined, search up parent directories for nearest package.json or pnpm-workspace.yaml. If a package.json is found, check for a workspaces field (which implies a Yarn workspace). If a pnpm-workspace.yaml file is found, parse it and use its packages field. In both cases, resolve the array of globs into a list of directories. Then crawl each directory that isn't a descendant of the (explicit or implicit) root option of this plugin, in search of tsconfig.json files.
If the
projects
option is undefined, search up parent directories for nearestpackage.json
orpnpm-workspace.yaml
. If apackage.json
is found, check for aworkspaces
field (which implies a Yarn workspace). If apnpm-workspace.yaml
file is found, parse it and use itspackages
field. In both cases, resolve the array of globs into a list of directories. Then crawl each directory that isn't a descendant of the (explicit or implicit)root
option of this plugin, in search oftsconfig.json
files.