I have two projects. Let’s call them Project A and Project B.
Project A has some test files that I use files array to ignore them so they won’t be published to the registry.
Project B also has some tests, which extend the test from Project A. I tried to install Project A from Github as the dev dependency, but it seems that even if the package is installed from Github, test files are still excluded.
Here are the questions:
- When installing packages from Github, file exclusion still works. Is this intended? I thought file exclusion only works when you publish the package.
- How do I make Project B depend on the test of Project A? Should I publish the test as a new package?