I am developing a React Native App and have been benefitting from lots of different npm packages for RN.
But for some of the packages, I would like to undergo minor fixes just in order to customize for my own project.
I have done so and fixed the code previously inside the node_modules directory. But this seems to be a stupid way of solving things, because you often have to reinstall many of the packages and the custom code I've written would just be gone.
How can I fix an existing package and use it in my own project? Do I have to fork the repository and adjust the code, then publish it myself as another new npm package?