mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Remove Angular (#115464)
Co-authored-by: Tim Roes <tim.roes@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
ffeadc5241
commit
65f3a8458a
8 changed files with 1 additions and 43 deletions
|
@ -184,11 +184,6 @@
|
|||
"JSONStream": "1.3.5",
|
||||
"abort-controller": "^3.0.0",
|
||||
"abortcontroller-polyfill": "^1.7.3",
|
||||
"angular": "^1.8.0",
|
||||
"angular-aria": "^1.8.0",
|
||||
"angular-recursion": "^1.0.5",
|
||||
"angular-route": "^1.8.0",
|
||||
"angular-sanitize": "^1.8.0",
|
||||
"antlr4ts": "^0.5.0-alpha.3",
|
||||
"archiver": "^5.2.0",
|
||||
"axios": "^0.21.1",
|
||||
|
@ -488,7 +483,6 @@
|
|||
"@testing-library/react": "^11.2.6",
|
||||
"@testing-library/react-hooks": "^5.1.1",
|
||||
"@testing-library/user-event": "^13.1.1",
|
||||
"@types/angular": "^1.6.56",
|
||||
"@types/apidoc": "^0.22.3",
|
||||
"@types/archiver": "^5.1.0",
|
||||
"@types/babel__core": "^7.1.16",
|
||||
|
|
|
@ -277,7 +277,7 @@ export function getWebpackConfig(bundle: Bundle, bundleRefs: BundleRefs, worker:
|
|||
terserOptions: {
|
||||
compress: true,
|
||||
keep_classnames: true,
|
||||
mangle: !['kibanaLegacy', 'monitoring'].includes(bundle.id),
|
||||
mangle: true,
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
|
|
@ -36,7 +36,6 @@ RUNTIME_DEPS = [
|
|||
"@npm//@elastic/numeral",
|
||||
"@npm//@emotion/react",
|
||||
"@npm//abortcontroller-polyfill",
|
||||
"@npm//angular",
|
||||
"@npm//babel-loader",
|
||||
"@npm//babel-plugin-transform-react-remove-prop-types",
|
||||
"@npm//core-js",
|
||||
|
@ -76,7 +75,6 @@ TYPES_DEPS = [
|
|||
"@npm//@elastic/numeral",
|
||||
"@npm//@emotion/react",
|
||||
"@npm//abortcontroller-polyfill",
|
||||
"@npm//angular",
|
||||
"@npm//babel-loader",
|
||||
"@npm//core-js",
|
||||
"@npm//css-loader",
|
||||
|
|
|
@ -50,7 +50,6 @@ module.exports = (_, argv) => {
|
|||
'@elastic/eui/dist/eui_theme_amsterdam_dark.json',
|
||||
'@elastic/numeral',
|
||||
'@emotion/react',
|
||||
'angular',
|
||||
'classnames',
|
||||
'fflate',
|
||||
'history',
|
||||
|
|
|
@ -16,7 +16,6 @@ require('./flot_charts');
|
|||
// stateful deps
|
||||
export const KbnI18n = require('@kbn/i18n');
|
||||
export const KbnI18nReact = require('@kbn/i18n/react');
|
||||
export const Angular = require('angular');
|
||||
export const EmotionReact = require('@emotion/react');
|
||||
export const Moment = require('moment');
|
||||
export const MomentTimezone = require('moment-timezone/moment-timezone');
|
||||
|
|
|
@ -30,7 +30,6 @@ exports.externals = {
|
|||
/**
|
||||
* stateful deps
|
||||
*/
|
||||
angular: '__kbnSharedDeps__.Angular',
|
||||
'@kbn/i18n': '__kbnSharedDeps__.KbnI18n',
|
||||
'@kbn/i18n/react': '__kbnSharedDeps__.KbnI18nReact',
|
||||
'@emotion/react': '__kbnSharedDeps__.EmotionReact',
|
||||
|
|
|
@ -45,7 +45,6 @@ export const canvasWebpack = {
|
|||
test: [
|
||||
resolve(KIBANA_ROOT, 'x-pack/plugins/canvas/public/components/embeddable_flyout'),
|
||||
resolve(KIBANA_ROOT, 'x-pack/plugins/reporting/public'),
|
||||
resolve(KIBANA_ROOT, 'src/plugins/kibana_legacy/public/angular'),
|
||||
resolve(KIBANA_ROOT, 'src/plugins/kibana_legacy/public/paginate'),
|
||||
],
|
||||
use: 'null-loader',
|
||||
|
|
30
yarn.lock
30
yarn.lock
|
@ -5782,11 +5782,6 @@
|
|||
dependencies:
|
||||
"@turf/helpers" "6.x"
|
||||
|
||||
"@types/angular@^1.6.56":
|
||||
version "1.6.56"
|
||||
resolved "https://registry.yarnpkg.com/@types/angular/-/angular-1.6.56.tgz#20124077bd44061e018c7283c0bb83f4b00322dd"
|
||||
integrity sha512-HxtqilvklZ7i6XOaiP7uIJIrFXEVEhfbSY45nfv2DeBRngncI58Y4ZOUMiUkcT8sqgLL1ablmbfylChUg7A3GA==
|
||||
|
||||
"@types/anymatch@*":
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a"
|
||||
|
@ -7854,31 +7849,6 @@ amdefine@>=0.0.4:
|
|||
resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5"
|
||||
integrity sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=
|
||||
|
||||
angular-aria@^1.8.0:
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/angular-aria/-/angular-aria-1.8.0.tgz#97aec9b1e8bafd07d5fab30f98d8ec832e18e25d"
|
||||
integrity sha512-eCQI6EwgY6bYHdzIUfDABHnZjoZ3bNYpCsnceQF4bLfbq1QtZ7raRPNca45sj6C9Pfjde6PNcEDvuLozFPYnrQ==
|
||||
|
||||
angular-recursion@^1.0.5:
|
||||
version "1.0.5"
|
||||
resolved "https://registry.yarnpkg.com/angular-recursion/-/angular-recursion-1.0.5.tgz#cd405428a0bf55faf52eaa7988c1fe69cd930543"
|
||||
integrity sha1-zUBUKKC/Vfr1Lqp5iMH+ac2TBUM=
|
||||
|
||||
angular-route@^1.8.0:
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/angular-route/-/angular-route-1.8.0.tgz#cb8066c5d34284ffd6a15ac7be1b3d51c5ad7bb2"
|
||||
integrity sha512-ORvXAdVfCCA6XFwyjSkVQFFGufj0mNGiCvBR93Qsii8+7t/6Ioy6wheUoCj1x4NWUv7hAq3nYYGCVO6QEKb1BQ==
|
||||
|
||||
angular-sanitize@^1.8.0:
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/angular-sanitize/-/angular-sanitize-1.8.0.tgz#9f80782d3afeec3bcc0bb92b3ca6f1f421cfbca6"
|
||||
integrity sha512-j5GiOPCvfcDWK5svEOVoPb11X3UDVy/mdHPRWuy14Iyw86xaq+Bb+x/em2sAOa5MQQeY5ciLXbF3RRp8iCKcNg==
|
||||
|
||||
angular@^1.8.0:
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/angular/-/angular-1.8.0.tgz#b1ec179887869215cab6dfd0df2e42caa65b1b51"
|
||||
integrity sha512-VdaMx+Qk0Skla7B5gw77a8hzlcOakwF8mjlW13DpIWIDlfqwAbSSLfd8N/qZnzEmQF4jC4iofInd3gE7vL8ZZg==
|
||||
|
||||
ansi-align@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue