mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Filters out any x-pack workspaces from OSS builds. Fixes an issue introduced by #22618 that was causing the Infra plugin code to be included in the node_modules for OSS builds.
This commit is contained in:
parent
517b6dd631
commit
3ae2b81acc
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export const CreatePackageJsonTask = {
|
||||||
|
|
||||||
if (build.isOss()) {
|
if (build.isOss()) {
|
||||||
delete newPkg.dependencies['x-pack'];
|
delete newPkg.dependencies['x-pack'];
|
||||||
newPkg.workspaces.packages = newPkg.workspaces.packages.filter(p => p !== 'x-pack');
|
newPkg.workspaces.packages = newPkg.workspaces.packages.filter(p => !p.startsWith('x-pack'));
|
||||||
}
|
}
|
||||||
|
|
||||||
await write(
|
await write(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue