How to include local node package in custom API
Summary
Need to add a local node package to custom APIContent
Hi All,
I developer a custom API for AMCe and that one is using a local node package that contains some utilities. How do I include it in my custom API so it is deployed properly using omce-deploy ?
This is the situation: Custom API depends on my utilities package.
Utilities package's package.json contains : "name": "eproseed-js-utils",
When using it locally, it can refer to it in my API's package.json as follows:
"dependencies": {
"eproseed-js-utils": "file:eproseed-js-utils"}
However, when using omce-deploy, this (obviously) does not work. Runtime cannot find my utils package. I am not "willing" to install my package in a 'global' or 'private' npm repo. Is there any way to make this work?
0