mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[plugin-helpers] replace last few uses of old package name
This commit is contained in:
parent
231dd966c8
commit
489e64ef7e
3 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ To get started copy and paste this example to `test/functional/config.js`:
|
|||
["source","js"]
|
||||
-----------
|
||||
import { resolve } from 'path';
|
||||
import { resolveKibanaPath } from '@elastic/plugin-helpers';
|
||||
import { resolveKibanaPath } from '@kbn/plugin-helpers';
|
||||
|
||||
import { MyServiceProvider } from './services/my_service';
|
||||
import { MyAppPageProvider } from './services/my_app_page;
|
||||
|
|
|
@ -26,7 +26,7 @@ module.exports = function (root) {
|
|||
}
|
||||
});
|
||||
|
||||
const deprecationMsg = 'has been removed from `@elastic/plugin-helpers`. ' +
|
||||
const deprecationMsg = 'has been removed from `@kbn/plugin-helpers`. ' +
|
||||
'During development your plugin must be located in `../kibana-extra/{pluginName}` ' +
|
||||
'relative to the Kibana directory to work with this package.\n';
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ const utils = require('./utils');
|
|||
|
||||
module.exports = function () {
|
||||
console.error(
|
||||
'running tasks with the default export of @elastic/plugin-helpers is deprecated.' +
|
||||
'use `require(\'@elastic/plugin-helpers\').run()` instead'
|
||||
'running tasks with the default export of @kbn/plugin-helpers is deprecated.' +
|
||||
'use `require(\'@kbn/plugin-helpers\').run()` instead'
|
||||
);
|
||||
|
||||
return run.apply(this, arguments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue