I have two Angular projects: main and library. Once in a time I make some changes to the library. And before uploading it to NPM I would like to check if it will run well on my main project with other packages. And what I am doing is just building my lib project after changes, take those built files(from dist folder) and replace them with one in node_modules of my main project. But my Angular app doesn`t see those changes. I know that its not good practice at all to modify node_modules but still.
I have playground in my library project where I test it but I would like to see how it works in my main project with other packages.
Is there any other ways how I can test my library BEFORE publishing it to NPM? OR Is it possible to make Angular see those changes in node_modules?