Skip to content

Commit

Permalink
Fix paths for kibana packages used by plugins (#57097)
Browse files Browse the repository at this point in the history
* Fix paths for kibana packages in prepare_project_dependencies(#40858).

* Dist/index.js after yarn build.

* chore(NA): correctly include kbm pm new dist file

* Commit after cherry-pick 985c85c from recreation branch.

Co-authored-by: Tiago Costa <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
3 people authored Feb 12, 2020
1 parent 93138a3 commit 3c3d0b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/kbn-pm/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108562,7 +108562,7 @@ __webpack_require__.r(__webpack_exports__);
* to Kibana itself.
*/

const isKibanaDep = depVersion => depVersion.includes('../../kibana/');
const isKibanaDep = depVersion => depVersion.includes('../../packages/');
/**
* This prepares the dependencies for an _external_ project.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "quux",
"version": "1.0.0",
"dependencies": {
"@kbn/foo": "link:../../kibana/packages/foo"
"@kbn/foo": "link:../../packages/foo"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { Project } from '../utils/project';
* to the Kibana root directory or `../kibana-extra/{plugin}` relative
* to Kibana itself.
*/
const isKibanaDep = (depVersion: string) => depVersion.includes('../../kibana/');
const isKibanaDep = (depVersion: string) => depVersion.includes('../../packages/');

/**
* This prepares the dependencies for an _external_ project.
Expand Down

0 comments on commit 3c3d0b5

Please sign in to comment.