constructor(opts = {}, caps = {}) {
    this.opts = { ...DEFAULT_OPTS, ...opts }
    this.caps = { ...DEFAULT_CAPS, ...caps }
    this.getVersions = this.caps.getVersionsFactory
      ? this.caps.getVersionsFactory(this.opts, this.caps)
      : this.defaultGetVersions
    this.invokePublish = this.caps.invokePublishFactory
      ? this.caps.invokePublishFactory(this.opts, this.caps)
      : this.defaultInvokePublish
  }
Initializes options & capabilities

@param {import('./types').LavernaOptions} [opts]
@param {import('./types').LavernaCapabilities} [caps]