File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -108545,7 +108545,9 @@ __webpack_require__.r(__webpack_exports__);
108545108545 * to Kibana itself.
108546108546 */
108547108547
108548- const isKibanaDep = depVersion => depVersion.includes('../../packages/');
108548+ const isKibanaDep = depVersion => // For ../kibana-extra/ directory (legacy only)
108549+ depVersion.includes('../../kibana/packages/') || // For plugins/ directory
108550+ depVersion.includes('../../packages/');
108549108551/**
108550108552 * This prepares the dependencies for an _external_ project.
108551108553 */
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ import { Project } from '../utils/project';
2525 * to the Kibana root directory or `../kibana-extra/{plugin}` relative
2626 * to Kibana itself.
2727 */
28- const isKibanaDep = ( depVersion : string ) => depVersion . includes ( '../../packages/' ) ;
28+ const isKibanaDep = ( depVersion : string ) =>
29+ // For ../kibana-extra/ directory (legacy only)
30+ depVersion . includes ( '../../kibana/packages/' ) ||
31+ // For plugins/ directory
32+ depVersion . includes ( '../../packages/' ) ;
2933
3034/**
3135 * This prepares the dependencies for an _external_ project.
You can’t perform that action at this time.
0 commit comments