@elastic/plugin-helpers
Advanced tools
Comparing version 8.1.0 to 8.1.1
@@ -27,2 +27,16 @@ const resolve = require('path').resolve; | ||
const deprecationMsg = 'has been deprecated and is removed in the next ' + | ||
'major version of `@elastic/plugin-helpers`.\n' | ||
if (config.kibanaRoot) { | ||
process.stdout.write( | ||
'WARNING: The `kibanaRoot` config option ' + deprecationMsg | ||
); | ||
} | ||
if (process.env.KIBANA_ROOT) { | ||
process.stdout.write( | ||
'WARNING: The `KIBANA_ROOT` environment variable ' + deprecationMsg | ||
); | ||
} | ||
// use resolve to ensure correct resolution of paths | ||
@@ -29,0 +43,0 @@ const { kibanaRoot, includePlugins } = config; |
{ | ||
"name": "@elastic/plugin-helpers", | ||
"version": "8.1.0", | ||
"version": "8.1.1", | ||
"description": "Just some helpers for kibana plugin devs.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -51,4 +51,13 @@ # kibana-plugin-helpers | ||
------- | ----------- | ||
`kibanaRoot` | Path to your checkout of Kibana, relative paths are ok | ||
`kibanaRoot` | DEPRECATED. Path to your checkout of Kibana, relative paths are ok. | ||
In the next major version of the plugin helpers the `kibanaRoot` setting can no longer be specified, and plugins must be located within the sibling `kibana-extra` folder, for example: | ||
```sh | ||
. | ||
├── kibana | ||
├── kibana-extra/foo-plugin | ||
└── kibana-extra/bar-plugin | ||
``` | ||
### Settings for `start` | ||
@@ -55,0 +64,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
152893
658
77
5
19