Hi. I am developing a plugin for kibana with react and typescript. I also have a separate node js backend that the plugin's backend communicates with.
These plugins and the backend have a common code, which I put in a separate project.
How can I make plugin-helpers pull a project with shared code as a dependency when building a plugin?
I was thinking of a private npm repository. But I don't think this is the right decision for me.
Upd. I'm also thinking about using webpack before building the plugin
A private npm repository doesn't sound like the worst approach, it depends a lot of your specific project - how many people are working on it? How are the individual artifacts deployed? Is there a CI and if yes how does it work? ....
Thanks for reply.
I just added my external project with shared code as git submodule to the root of plugin. Also i edited .kibana-plugin-helpers.json to this:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.