I am looking for a way to packetize an adonis.js application so can put the following in a different node repo/npm package:
- Some controllers
- Possibly some config files
Basically extract the backend of my application into multiple packages. Then I need to put them all together and be able to manage their versions with node.
Haven’t been able to come up with a simple way. Ideally there should be a way to add multiple base paths for the resources so that all the controllers can get pulled from paths
['App/Controllers/','/node_modules/my_package/Controllers'], etc. Does this exist? Any other ideas?