-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Upgrade EUI to v33.0.0 #99382
Upgrade EUI to v33.0.0 #99382
Changes from all commits
063b0dc
7865c2c
0a67885
ece02e4
1570e0e
738bfe8
c319815
e254d09
e27f5ab
a2791b8
f4aa961
8a6b280
ed27ab5
8522942
74d0c2c
6847767
2ddfafa
adc3538
30ade23
9698262
6c7a985
9a11711
3c3d305
b08d126
8ab0702
e38ff12
100ee39
f0610f5
a204098
a0e9e65
0c6a580
20945d3
7d36031
98ac42c
5da9966
c453220
66dc715
b6b9533
22c4477
7ae359f
b6150fb
3eb5f21
ff527bb
894a022
e145ae9
b9b06d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ TYPES_DEPS = [ | |
"@npm//@types/node", | ||
"@npm//@types/normalize-path", | ||
"@npm//@types/testing-library__jest-dom", | ||
"@npm//resize-observer-polyfill" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a server-side package. It shouldn't depend on |
||
] | ||
|
||
DEPS = SRC_DEPS + TYPES_DEPS | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
This is a server-side package. It shouldn't depend on
resize-observer-polyfill
.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.
@spalger Did you happen to open an issue for this?
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.
I didn't, remind me, this is because of the customizations to the
tsconfig.base.json
file right? IIRC I was surprised to find that we actually have atsconfig.browser.json
file, but I'm guessing if we add the right types there the file isn't being used by enough places?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.
Correct on both accounts. I did try scoping to
tsconfig.browser.json
but almost all plugins extendtsconfig.base.json
directly.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.
@mshustov do you think it would make sense for the issue to be "migrate any ts project with browser code to
tsconfig.browser.json
"?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.
We also discussed that we'd be willing to maintain these types in EUI and not rely on a third-party package. If that resolves some hesitation here, I can follow up in a future EUI release (prior to 7.14) to remove these type deps.
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.
@spalger I think so. As I can see, we already started separating compilation targets in the packages migrated to Bazel.
kibana/packages/kbn-i18n/BUILD.bazel
Lines 64 to 79 in 881d89f
@mistic Coul you confirm it's how we are going to compile sources in the new build toolchain? I can approve the PR, providing we are going to fix the problem later.