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

feat: implement monorepo support #8

Merged
merged 8 commits into from
Feb 11, 2024

Conversation

AndreaPontrandolfo
Copy link
Contributor

Description

This PR add support for monorepos.
Now when the fallbackToRoot option is true, this plugin will keep searching for .gitignore files up towards the root of the monorepo.

fixes #7

Linked Issues

fix #7

Additional context

I tried to keep compatibility with the existing API and not change the existing code too much.
I also made a lot of tests that should cover most cases, but i didn't fully understand your naming logic for the name of the tests, so i went with something of my own.

@AndreaPontrandolfo
Copy link
Contributor Author

@antfu let me know what you think! :)

@AndreaPontrandolfo
Copy link
Contributor Author

Hey @antfu thank you for the review and the changes! I had a look at your changes and it looks good to me.
What's missing to get this merged? Anything i can help with?

@antfu antfu merged commit aadca59 into antfu:main Feb 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Monorepo support
2 participants