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

Use workspace globs to infer projects option #73

Closed
aleclarson opened this issue Oct 27, 2022 · 0 comments
Closed

Use workspace globs to infer projects option #73

aleclarson opened this issue Oct 27, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@aleclarson
Copy link
Owner

aleclarson commented Oct 27, 2022

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.

@aleclarson aleclarson added enhancement New feature or request help wanted Extra attention is needed labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant