[plugin-helpers] replace last few uses of old package name

This commit is contained in:
spalger 2018-02-07 15:39:53 -07:00
parent 231dd966c8
commit 489e64ef7e
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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';

View file

@ -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);