mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
* fix(NA): support legacy plugins path in plugins * chore(NA): add newly build dist
This commit is contained in:
parent
8b8e258a89
commit
5d37ec6905
2 changed files with 8 additions and 2 deletions
4
packages/kbn-pm/dist/index.js
vendored
4
packages/kbn-pm/dist/index.js
vendored
|
@ -108545,7 +108545,9 @@ __webpack_require__.r(__webpack_exports__);
|
|||
* to Kibana itself.
|
||||
*/
|
||||
|
||||
const isKibanaDep = depVersion => depVersion.includes('../../packages/');
|
||||
const isKibanaDep = depVersion => // For ../kibana-extra/ directory (legacy only)
|
||||
depVersion.includes('../../kibana/packages/') || // For plugins/ directory
|
||||
depVersion.includes('../../packages/');
|
||||
/**
|
||||
* This prepares the dependencies for an _external_ project.
|
||||
*/
|
||||
|
|
|
@ -25,7 +25,11 @@ import { Project } from '../utils/project';
|
|||
* to the Kibana root directory or `../kibana-extra/{plugin}` relative
|
||||
* to Kibana itself.
|
||||
*/
|
||||
const isKibanaDep = (depVersion: string) => depVersion.includes('../../packages/');
|
||||
const isKibanaDep = (depVersion: string) =>
|
||||
// For ../kibana-extra/ directory (legacy only)
|
||||
depVersion.includes('../../kibana/packages/') ||
|
||||
// For plugins/ directory
|
||||
depVersion.includes('../../packages/');
|
||||
|
||||
/**
|
||||
* This prepares the dependencies for an _external_ project.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue