-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Remove unused deps #230630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused deps #230630
Conversation
/ci |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Page load bundle
cc @rmyz |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
"@npm//@formatjs/intl-pluralrules", | ||
"@npm//@formatjs/intl-relativetimeformat", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Became obsolete after #186519.
Starting backport for target branches: 8.17, 8.18, 8.19, 9.0, 9.1 https://github.com/elastic/kibana/actions/runs/16775787506 |
(cherry picked from commit 62fa2c7)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 62fa2c7) # Conflicts: # package.json # yarn.lock
(cherry picked from commit 62fa2c7) # Conflicts: # yarn.lock
(cherry picked from commit 62fa2c7) # Conflicts: # package.json # yarn.lock
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 62fa2c7) # Conflicts: # package.json # renovate.json # yarn.lock
(cherry picked from commit 62fa2c7)
# Backport This will backport the following commits from `main` to `9.1`: - [Remove unused deps (#230630)](#230630) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Sergi Romeu","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-06T11:35:50Z","message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Team:obs-ux-infra_services","v9.2.0","dependency-reduction"],"title":"Remove unused deps","number":230630,"url":"https://github.com/elastic/kibana/pull/230630","mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230630","number":230630,"mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}}]}] BACKPORT--> Co-authored-by: Sergi Romeu <[email protected]>
# Backport This will backport the following commits from `main` to `9.0`: - [Remove unused deps (#230630)](#230630) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Sergi Romeu","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-06T11:35:50Z","message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Team:obs-ux-infra_services","v9.2.0","dependency-reduction"],"title":"Remove unused deps","number":230630,"url":"https://github.com/elastic/kibana/pull/230630","mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230630","number":230630,"mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},{"url":"https://github.com/elastic/kibana/pull/230767","number":230767,"branch":"9.1","state":"OPEN"}]}] BACKPORT-->
# Backport This will backport the following commits from `main` to `8.17`: - [Remove unused deps (#230630)](#230630) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Sergi Romeu","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-06T11:35:50Z","message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Team:obs-ux-infra_services","v9.2.0","dependency-reduction"],"title":"Remove unused deps","number":230630,"url":"https://github.com/elastic/kibana/pull/230630","mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230630","number":230630,"mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},{"url":"https://github.com/elastic/kibana/pull/230767","number":230767,"branch":"9.1","state":"OPEN"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
# Backport This will backport the following commits from `main` to `8.18`: - [Remove unused deps (#230630)](#230630) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Sergi Romeu","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-06T11:35:50Z","message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Team:obs-ux-infra_services","v9.2.0","dependency-reduction"],"title":"Remove unused deps","number":230630,"url":"https://github.com/elastic/kibana/pull/230630","mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230630","number":230630,"mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},{"url":"https://github.com/elastic/kibana/pull/230767","number":230767,"branch":"9.1","state":"OPEN"}]}] BACKPORT-->
# Backport This will backport the following commits from `main` to `8.19`: - [Remove unused deps (#230630)](#230630) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Sergi Romeu","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-08-06T11:35:50Z","message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Team:obs-ux-infra_services","v9.2.0","dependency-reduction"],"title":"Remove unused deps","number":230630,"url":"https://github.com/elastic/kibana/pull/230630","mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/230630","number":230630,"mergeCommit":{"message":"Remove unused deps (#230630)","sha":"62fa2c76d735f591e8cf1e8946142a0b8a78c560"}},{"url":"https://github.com/elastic/kibana/pull/230767","number":230767,"branch":"9.1","state":"OPEN"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
Summary
Closes #230622
As part of https://github.com/elastic/observability-dev/issues/4757.
I'm currently investigating the status of Kibana's dependencies. I found out that some are no longer used, so this PR removes them.
Dependencies removed:
@aws-crypto/sha256-js
@aws-crypto/util
@formatjs/intl-pluralrules
@formatjs/intl-relativetimeformat
@langtrase/trace-attributes
ansi-regex
d3-shape
d3-time
re-resizable
@types/d3-shape
@types/d3-time