4e8ab56497
* build immutable bundles for new platform plugins * only inspect workers if configured to do so * [navigation] use an index.scss file * add yarn.lock symlink * set pluginScanDirs in test so fixtures stay consistent * cleanup helpers a little * fix type error * support KBN_OPTIMIZER_MAX_WORKERS for limiting workers via env * test support for KBN_OPTIMIZER_MAX_WORKERS * expand the available memory for workers when only running one or two * add docs about KBN_OPTIMIZER_MAX_WORKERS environment variable * fix README link * update kbn/pm dist * implement bundle caching/reuse * update kbn/pm dist * don't check for cache if --no-cache is passed * update renovate config * standardize on index.scss, move console styles over * add support for --no-cache to cli * include worker config vars in optimizer version * ignore concatenated modules * update integration test * add safari to browserslist to avoid user-agent warnings in dev * update docs, clean up optimizer message/misc naming * always handle initialized messages, don't ignore states that are attached to specific events * reword caching docs, add environment var to disable caching * tweak logging and don't use optimizer.useBundleCache as that's disabled in dev * handle change notifications * batch changes for 1 second * rename CompilerState type to CompilerMsg * getChanges() no longer needs to assign changes to dirs * remove unused deps * split up run_worker.ts and share cacheKey generation logic * add a couple docs * update tests and remove unused imports * specify files when creating bundle cache key * remove one more unused import * match existing dev cli output more closely * update kbn/pm dist * set KBN_NP_PLUGINS_BUILT to avoid warning in CI * avoid extending global window type * add note to keep pluginScanDirs in sync * pass browserslistEnv in workerConfig so it is used for cache key * load commons.bundle.js in parallel too * emit initialized+success states if all bundles are cached * load bootstraps as quickly as possible * skip flaky suite * bump * update jest snapshots * remove hashing from cache key generation * remove unnecessary non-null assertion * improve docs and break up Optimizer#run() * remove unused import * refactor kbn/optimizer to break up observable logic, implement more helpful cache invalidation logic with logging * fix tests * add initializing phase * avoid rxjs observable constructor * remove unnecessary rxjs helper, add tests for bundle cache * update consumers of optimizer * update readme with new call style * replace "new platform" with "kibana platform" * fix a couple more renames * add support for several plain-text file formats * fix naming of OptimizerMsg => OptimizerUpdate, use "store" naming too * one more OptimizerMsg update * ensure bundles are not cached when cache config is false * test for initializing states and bundle cache events * remove unnecessary timeout change * Remove unnecessary helpers * Add tests for BundleCache class * Add tests for Bundle class * test summarizeEvent$ * missing paths are no longer listed in mtimes map * add tests for optimizer/cache_keys * Add some extra docs * Remove labeled loop * add integration test for kbn-optimizer watcher components * querystring-browser removed * tweak logging a smidge, improve info and final message * remove unused imports * remove duplication of getModuleCount() method * move type annotation that validates things * clear up the build completion message Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
79 lines
3 KiB
JavaScript
79 lines
3 KiB
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { xpackMain } from './legacy/plugins/xpack_main';
|
|
import { graph } from './legacy/plugins/graph';
|
|
import { monitoring } from './legacy/plugins/monitoring';
|
|
import { reporting } from './legacy/plugins/reporting';
|
|
import { security } from './legacy/plugins/security';
|
|
import { ml } from './legacy/plugins/ml';
|
|
import { tilemap } from './legacy/plugins/tilemap';
|
|
import { grokdebugger } from './legacy/plugins/grokdebugger';
|
|
import { dashboardMode } from './legacy/plugins/dashboard_mode';
|
|
import { logstash } from './legacy/plugins/logstash';
|
|
import { beats } from './legacy/plugins/beats_management';
|
|
import { apm } from './legacy/plugins/apm';
|
|
import { maps } from './legacy/plugins/maps';
|
|
import { licenseManagement } from './legacy/plugins/license_management';
|
|
import { indexManagement } from './legacy/plugins/index_management';
|
|
import { indexLifecycleManagement } from './legacy/plugins/index_lifecycle_management';
|
|
import { spaces } from './legacy/plugins/spaces';
|
|
import { canvas } from './legacy/plugins/canvas';
|
|
import { infra } from './legacy/plugins/infra';
|
|
import { taskManager } from './legacy/plugins/task_manager';
|
|
import { rollup } from './legacy/plugins/rollup';
|
|
import { siem } from './legacy/plugins/siem';
|
|
import { remoteClusters } from './legacy/plugins/remote_clusters';
|
|
import { crossClusterReplication } from './legacy/plugins/cross_cluster_replication';
|
|
import { upgradeAssistant } from './legacy/plugins/upgrade_assistant';
|
|
import { uptime } from './legacy/plugins/uptime';
|
|
import { fileUpload } from './legacy/plugins/file_upload';
|
|
import { encryptedSavedObjects } from './legacy/plugins/encrypted_saved_objects';
|
|
import { snapshotRestore } from './legacy/plugins/snapshot_restore';
|
|
import { transform } from './legacy/plugins/transform';
|
|
import { actions } from './legacy/plugins/actions';
|
|
import { alerting } from './legacy/plugins/alerting';
|
|
import { lens } from './legacy/plugins/lens';
|
|
import { triggersActionsUI } from './legacy/plugins/triggers_actions_ui';
|
|
|
|
module.exports = function(kibana) {
|
|
return [
|
|
xpackMain(kibana),
|
|
graph(kibana),
|
|
monitoring(kibana),
|
|
reporting(kibana),
|
|
spaces(kibana),
|
|
security(kibana),
|
|
ml(kibana),
|
|
tilemap(kibana),
|
|
grokdebugger(kibana),
|
|
dashboardMode(kibana),
|
|
logstash(kibana),
|
|
beats(kibana),
|
|
apm(kibana),
|
|
maps(kibana),
|
|
canvas(kibana),
|
|
licenseManagement(kibana),
|
|
indexManagement(kibana),
|
|
indexLifecycleManagement(kibana),
|
|
infra(kibana),
|
|
taskManager(kibana),
|
|
rollup(kibana),
|
|
transform(kibana),
|
|
siem(kibana),
|
|
remoteClusters(kibana),
|
|
crossClusterReplication(kibana),
|
|
upgradeAssistant(kibana),
|
|
uptime(kibana),
|
|
fileUpload(kibana),
|
|
encryptedSavedObjects(kibana),
|
|
lens(kibana),
|
|
snapshotRestore(kibana),
|
|
actions(kibana),
|
|
alerting(kibana),
|
|
triggersActionsUI(kibana),
|
|
];
|
|
};
|