-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into kbn-56558-3rd-par…
…ty-legacy-warnings
- Loading branch information
Showing
330 changed files
with
5,133 additions
and
3,329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,17 +20,14 @@ | |
const Path = require('path'); | ||
|
||
exports.distDir = Path.resolve(__dirname, 'target'); | ||
exports.distFilename = 'kbn-ui-shared-deps.js'; | ||
exports.jsDepFilenames = ['[email protected]']; | ||
exports.jsFilename = 'kbn-ui-shared-deps.js'; | ||
exports.baseCssDistFilename = 'kbn-ui-shared-deps.css'; | ||
exports.lightCssDistFilename = 'kbn-ui-shared-deps.light.css'; | ||
exports.darkCssDistFilename = 'kbn-ui-shared-deps.dark.css'; | ||
exports.externals = { | ||
// stateful deps | ||
angular: '__kbnSharedDeps__.Angular', | ||
'@elastic/charts': '__kbnSharedDeps__.ElasticCharts', | ||
'@elastic/eui': '__kbnSharedDeps__.ElasticEui', | ||
'@elastic/eui/lib/services': '__kbnSharedDeps__.ElasticEuiLibServices', | ||
'@elastic/eui/dist/eui_theme_light.json': '__kbnSharedDeps__.ElasticEuiLightTheme', | ||
'@elastic/eui/dist/eui_theme_dark.json': '__kbnSharedDeps__.ElasticEuiDarkTheme', | ||
'@kbn/i18n': '__kbnSharedDeps__.KbnI18n', | ||
'@kbn/i18n/angular': '__kbnSharedDeps__.KbnI18nAngular', | ||
'@kbn/i18n/react': '__kbnSharedDeps__.KbnI18nReact', | ||
|
@@ -39,10 +36,31 @@ exports.externals = { | |
'moment-timezone': '__kbnSharedDeps__.MomentTimezone', | ||
react: '__kbnSharedDeps__.React', | ||
'react-dom': '__kbnSharedDeps__.ReactDom', | ||
'react-dom/server': '__kbnSharedDeps__.ReactDomServer', | ||
'react-intl': '__kbnSharedDeps__.ReactIntl', | ||
'react-router': '__kbnSharedDeps__.ReactRouter', | ||
'react-router-dom': '__kbnSharedDeps__.ReactRouterDom', | ||
'@kbn/ui-shared-deps/monaco': '__kbnSharedDeps__.Monaco', | ||
// this is how plugins/consumers from npm load monaco | ||
'monaco-editor/esm/vs/editor/editor.api': '__kbnSharedDeps__.MonacoBare', | ||
|
||
/** | ||
* big deps which are locked to a single version | ||
*/ | ||
rxjs: '__kbnSharedDeps__.Rxjs', | ||
'rxjs/operators': '__kbnSharedDeps__.RxjsOperators', | ||
'@elastic/charts': '__kbnSharedDeps__.ElasticCharts', | ||
'@elastic/eui': '__kbnSharedDeps__.ElasticEui', | ||
'@elastic/eui/lib/services': '__kbnSharedDeps__.ElasticEuiLibServices', | ||
'@elastic/eui/lib/services/format': '__kbnSharedDeps__.ElasticEuiLibServicesFormat', | ||
'@elastic/eui/dist/eui_charts_theme': '__kbnSharedDeps__.ElasticEuiChartsTheme', | ||
'@elastic/eui/dist/eui_theme_light.json': '__kbnSharedDeps__.ElasticEuiLightTheme', | ||
'@elastic/eui/dist/eui_theme_dark.json': '__kbnSharedDeps__.ElasticEuiDarkTheme', | ||
|
||
/** | ||
* massive deps that we should really get rid of or reduce in size substantially | ||
*/ | ||
elasticsearch: '__kbnSharedDeps__.ElasticsearchBrowser', | ||
'elasticsearch-browser': '__kbnSharedDeps__.ElasticsearchBrowser', | ||
'elasticsearch-browser/elasticsearch': '__kbnSharedDeps__.ElasticsearchBrowser', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
{ | ||
"name": "@kbn/ui-shared-deps", | ||
"version": "1.0.0", | ||
"license": "Apache-2.0", | ||
"private": true, | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "node scripts/build", | ||
"kbn:bootstrap": "node scripts/build --dev", | ||
"kbn:watch": "node scripts/build --watch" | ||
}, | ||
"devDependencies": { | ||
"dependencies": { | ||
"@elastic/charts": "^18.1.1", | ||
"abortcontroller-polyfill": "^1.4.0", | ||
"@elastic/eui": "21.0.1", | ||
"@kbn/babel-preset": "1.0.0", | ||
"@kbn/dev-utils": "1.0.0", | ||
"@kbn/i18n": "1.0.0", | ||
"@yarnpkg/lockfile": "^1.1.0", | ||
"abortcontroller-polyfill": "^1.4.0", | ||
"angular": "^1.7.9", | ||
"core-js": "^3.2.1", | ||
"css-loader": "^3.4.2", | ||
"core-js": "^3.6.4", | ||
"custom-event-polyfill": "^0.3.0", | ||
"del": "^5.1.0", | ||
"elasticsearch-browser": "^16.7.0", | ||
"jquery": "^3.4.1", | ||
"mini-css-extract-plugin": "0.8.0", | ||
"moment": "^2.24.0", | ||
"moment-timezone": "^0.5.27", | ||
"monaco-editor": "~0.17.0", | ||
"react": "^16.12.0", | ||
"react-dom": "^16.12.0", | ||
"react-intl": "^2.8.0", | ||
"read-pkg": "^5.2.0", | ||
"react-router": "^5.1.2", | ||
"react-router-dom": "^5.1.2", | ||
"regenerator-runtime": "^0.13.3", | ||
"rxjs": "^6.5.3", | ||
"symbol-observable": "^1.2.0", | ||
"webpack": "^4.41.5", | ||
"whatwg-fetch": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@kbn/babel-preset": "1.0.0", | ||
"@kbn/dev-utils": "1.0.0", | ||
"css-loader": "^3.4.2", | ||
"del": "^5.1.0", | ||
"webpack": "^4.41.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../yarn.lock |
Oops, something went wrong.