monorepo-builder
monorepo-builder copied to clipboard
Package with the name 'tests' in the name are always ignored?
Hi, I have a monorepo and I added a package with classes that are used for writing integration tests much more easily. However, it seems symplify/monorepo-builder was ignoring this package because the name contained the string 'tests' in it.
If I look in the source code I see a hardcoded if statement in PackageComposerFinder that is probably the culprit. https://github.com/symplify/monorepo-builder/blob/main/src/Finder/PackageComposerFinder.php#L82
Shouldn't this be at least configurable? It could be the default for the path exclude or maybe a test path exclude config?
It's not high priority to fix as I will fix it by just renaming the package for now.