This merge request introduces support for Plugin services. A Plugin can now register a Service that will automatically get called upon start up of Greta's Luisterdoos by providing one or more services/{ServiceName}.js
files, that export a start()
method.
This branch will probably be pre-merged into !27 (merged) to allow Gretafoon to include their required libraries without having to tweak the Webpack files. It will also be required for Spotify's Web Playback API as discussed in GACLD-96 itself.
GitLab integration This merge request does not include any plugins that actually use the Service functionality at the moment. Gretafoon will be the first to actually use it. Because it didn't really make sense to cherry pick GitLab integration into this MR, I didn't. The changes from this MR have already been merged to !27 (merged) though, so you might have luck checking that out to see a demo of this functionality.
MR links !27 (merged) depends on this MR so please refrain from merging that MR before approving this one.