-
-
Notifications
You must be signed in to change notification settings - Fork 9.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
Build: Upgrade esbuild
(0.20.1
)
#26255
Conversation
@@ -52,7 +52,7 @@ | |||
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10", | |||
"browser-assert": "^1.2.1", | |||
"ejs": "^3.1.8", | |||
"esbuild": "^0.18.0", |
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.
@valentinpalkovic do you remember why we are on 0.18? I reckon something happened in the past but I just don't remember
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 honestly have no clue.
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.
whats the best way to prove everything is fine other than CI being happy?
if you can point me in the right direction, i can try do further testing
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 upgraded it last 9 months ago.
It might just have been a hiccup with mixed versions.
This LGTM
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.
Hmm,.. maybe this:
#26112
esbuild
(0.20.1
)
@@ -52,7 +52,7 @@ | |||
"@yarnpkg/libzip": "2.3.0", | |||
"chalk": "^4.1.0", | |||
"cross-spawn": "^7.0.3", | |||
"esbuild": "^0.18.0", | |||
"esbuild": "^18.0.0 || ^19.0.0 || ^0.20.0", |
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.
Typo?
18.0.0
-> 0.18.0
19.0.0
-> 0.19.0
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.
it is a typo! 👀 this was added by @ndelangen i think, probably trying to account for mixed versions in dependency trees. should be easy enough to fix at least
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.
@ndelangen already takes care of it: #26405
Thanks for letting us know!
This just upgrades esbuild to 0.20.1
Do you have any concerns with doing this?
The reason (other than staying up to date) is that many other peers are now on 0.20.x, so storybook's various packages are resulting in our dependency tree have many copies of esbuild instead of a single de-duped copy.