This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
Releases: elastic/kibana-plugin-helpers
Releases · elastic/kibana-plugin-helpers
v6.1.1
v6.1.0
- 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 thekibanaRoot
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 thekibanaRoot
configrequire('@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.jsrequire('@elastic/plugin-helpers').readFtrConfigFile(log, path, settingOverrides)
Read a functional test runner config file at a path