* 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>
76 lines
2 KiB
JSON
76 lines
2 KiB
JSON
{
|
|
"name": "@kbn/ui-framework",
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"build": "grunt prodBuild",
|
|
"docSiteStart": "grunt docSiteStart",
|
|
"docSiteBuild": "grunt docSiteBuild",
|
|
"createComponent": "yo ./generator-kui/app/component.js",
|
|
"documentComponent": "yo ./generator-kui/app/documentation.js"
|
|
},
|
|
"kibana": {
|
|
"build": {
|
|
"intermediateBuildDirectory": "target"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"classnames": "2.2.6",
|
|
"focus-trap-react": "^3.1.1",
|
|
"lodash": "npm:@elastic/lodash@3.10.1-kibana3",
|
|
"prop-types": "15.6.0",
|
|
"react": "^16.12.0",
|
|
"react-ace": "^5.9.0",
|
|
"react-color": "^2.13.8",
|
|
"tabbable": "1.1.3",
|
|
"uuid": "3.3.2"
|
|
},
|
|
"peerDependencies": {
|
|
"enzyme": "^3.8.0",
|
|
"enzyme-adapter-react-16": "^1.9.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.5.5",
|
|
"@elastic/eui": "0.0.55",
|
|
"@kbn/babel-preset": "1.0.0",
|
|
"autoprefixer": "^9.7.4",
|
|
"babel-loader": "^8.0.6",
|
|
"brace": "0.11.1",
|
|
"chalk": "^2.4.2",
|
|
"chokidar": "3.2.1",
|
|
"core-js": "^3.2.1",
|
|
"css-loader": "^3.4.2",
|
|
"expose-loader": "^0.7.5",
|
|
"file-loader": "^4.2.0",
|
|
"grunt": "1.0.4",
|
|
"grunt-babel": "^8.0.0",
|
|
"grunt-contrib-clean": "^1.1.0",
|
|
"grunt-contrib-copy": "^1.0.0",
|
|
"highlight.js": "9.15.10",
|
|
"html": "1.0.0",
|
|
"html-loader": "^0.5.5",
|
|
"imports-loader": "^0.8.0",
|
|
"jquery": "^3.4.1",
|
|
"keymirror": "0.1.1",
|
|
"moment": "^2.24.0",
|
|
"node-sass": "^4.13.1",
|
|
"postcss": "^7.0.26",
|
|
"postcss-loader": "^3.0.0",
|
|
"raw-loader": "^3.1.0",
|
|
"react-dom": "^16.12.0",
|
|
"react-redux": "^5.1.2",
|
|
"react-router": "^3.2.0",
|
|
"react-router-redux": "^4.0.8",
|
|
"redux": "3.7.2",
|
|
"redux-thunk": "2.2.0",
|
|
"regenerator-runtime": "^0.13.3",
|
|
"sass-loader": "^8.0.2",
|
|
"sinon": "^7.4.2",
|
|
"style-loader": "^1.1.3",
|
|
"webpack": "^4.41.5",
|
|
"webpack-dev-server": "^3.8.2",
|
|
"yeoman-generator": "1.1.1",
|
|
"yo": "2.0.6"
|
|
}
|
|
}
|