Kind of a noob question here…
We’ve got a private npm module – a library – that needs to be included in other projects. So far, very simple.
Currently, we’re simply "remembering" to manually do an npm run buld
before pushing changes to our git repo, and then dependent projects when they do an npm run whatever, they’re setup to pull from our repo and use the latest version already "compiled" as a module.
So, there are issues with this approach:
So I’m not sure how to untangle this mess.
I want:
I’m only about 9mos into using git on github – so there’s a ton I don’t know…
Ideas for better ways to manage this / automate this – are most welcome!
The key to implementation is of course simplicity. If it’s easy to do, I’m sure I’ll do it, and can get others to do so. But if it’s a huge hurdle every time, well, we all know how well that goes over for other devs…