Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Releases: elastic/kibana-plugin-helpers

v6.1.1

28 Apr 15:16
Compare
Choose a tag to compare

Minor bug fix

v6.1.0

28 Apr 14:52
Compare
Choose a tag to compare
  • Deprecation: Rather than exporting the run function as the default export, it is now one of many helpers (though it still works but logs a deprecation warning).
  • The KIBANA_ROOT environment variable is now used to override the kibanaRoot setting in .kibana-plugin-helpers.json and .kibana-plugin-helpers.dev.json
  • This module previously focused on sharing specific build operations with plugins, but there is more to the build tooling in Kibana than tasks. The components we use to build the build tasks are often reusable, and often useful outside of just running the task, especially as we move toward elastic/kibana#11095. To help plugins use these reusable components this module now exports little functions that will share create/call them in the Kibana repo from the plugin, using the kibanaRoot config. These helpers are:
    • require('@elastic/plugin-helpers').babelRegister()
      Hook into Kibana's babel register config.
    • require('@elastic/plugin-helpers').resolveKibanaPath(path)
      Resolve a path relative to the Kibana repository, taking into account the kibanaRoot config
    • require('@elastic/plugin-helpers').createToolingLog(level)
      Create an instance of the Kibana ToolingLog, see https://github.com/elastic/kibana/blob/master/src/utils/tooling_log/tooling_log.js
    • require('@elastic/plugin-helpers').readFtrConfigFile(log, path, settingOverrides)
      Read a functional test runner config file at a path

v6.0.2

24 Feb 20:32
Compare
Choose a tag to compare
  • Fix passing plugin ids to kibana in test:browser task

v5.0.1

17 Nov 10:36
Compare
Choose a tag to compare