Move more Kibana packages to UI shared deps (#95894)

* move @kbn/std to kbn-ui-shared-deps

* add @elastic/safer-lodash-set to kbn-ui-shared-deps

* update limits

* Revert "update limits"

This reverts commit f396d4764d.

* decrase limits for Core team owned code
This commit is contained in:
Mikhail Shustov 2021-03-31 19:52:05 +02:00 committed by GitHub
parent 178c2de5fd
commit 4c0d09acdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 8 deletions

View file

@ -9,7 +9,7 @@ pageLoadAssetSize:
charts: 195358
cloud: 21076
console: 46091
core: 692106
core: 397521
crossClusterReplication: 65408
dashboard: 374194
dashboardEnhanced: 65646
@ -24,13 +24,13 @@ pageLoadAssetSize:
enterpriseSearch: 35741
esUiShared: 326654
expressions: 224136
features: 31211
globalSearch: 43548
globalSearchBar: 62888
features: 21723
globalSearch: 29696
globalSearchBar: 50403
globalSearchProviders: 25554
graph: 31504
grokdebugger: 26779
home: 41661
home: 30182
indexLifecycleManagement: 107090
indexManagement: 140608
indexPatternManagement: 28222
@ -45,7 +45,7 @@ pageLoadAssetSize:
kibanaUtils: 198829
lens: 96624
licenseManagement: 41817
licensing: 39008
licensing: 29004
lists: 202261
logstash: 53548
management: 46112
@ -73,8 +73,8 @@ pageLoadAssetSize:
share: 99061
snapshotRestore: 79032
spaces: 387915
telemetry: 91832
telemetryManagementSection: 52443
telemetry: 51957
telemetryManagementSection: 38586
tileMap: 65337
timelion: 29920
transform: 41007

View file

@ -47,3 +47,5 @@ export const LodashFp = require('lodash/fp');
// runtime deps which don't need to be copied across all bundles
export const TsLib = require('tslib');
export const KbnAnalytics = require('@kbn/analytics');
export const KbnStd = require('@kbn/std');
export const SaferLodashSet = require('@elastic/safer-lodash-set');

View file

@ -58,5 +58,7 @@ exports.externals = {
*/
tslib: '__kbnSharedDeps__.TsLib',
'@kbn/analytics': '__kbnSharedDeps__.KbnAnalytics',
'@kbn/std': '__kbnSharedDeps__.KbnStd',
'@elastic/safer-lodash-set': '__kbnSharedDeps__.SaferLodashSet',
};
exports.publicPathLoader = require.resolve('./public_path_loader');