Skip to content
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: Revert Downgrade to esbuild 0.24.0 #30120

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Dec 20, 2024

Reverts #30116

Greptile Summary

This PR reverts a previous downgrade of esbuild dependency, restoring more flexible version constraints across multiple package.json files in the Storybook monorepo.

  • Changed esbuild version from 0.24.0 to ^0.24.0 in code/package.json resolutions
  • Updated esbuild dependency range in code/core/package.json to allow patch updates within 0.24.x
  • Modified esbuild version in scripts/package.json to use caret range instead of fixed version
  • Reverts PR Build: Downgrade to esbuild 0.24.0 #30116 which originally downgraded esbuild to fix CI issues, potentially reintroducing those issues

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

@@ -83,7 +83,7 @@
"@types/babel__traverse@npm:^7.18.0": "patch:@types/babel__traverse@npm%3A7.20.6#~/.yarn/patches/@types-babel__traverse-npm-7.20.6-fac4243243.patch",
"@types/node": "^22.0.0",
"@vitest/expect@npm:2.0.5": "patch:@vitest/expect@npm%3A2.0.5#~/.yarn/patches/@vitest-expect-npm-2.0.5-8933466cce.patch",
"esbuild": "0.24.0",
"esbuild": "^0.24.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Making esbuild resolution less strict could reintroduce CI instability that the original PR fixed

@@ -54,7 +54,7 @@
]
},
"resolutions": {
"esbuild": "0.24.0",
"esbuild": "^0.24.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: changing from fixed to caret version may reintroduce original CI issues that prompted the downgrade

Copy link

nx-cloud bot commented Dec 20, 2024

View your CI Pipeline Execution ↗ for commit 63423fd.

Command Status Duration Result
nx run-many -t build -c production --parallel=3 ✅ Succeeded 5s View ↗
nx affected -t check -c production --parallel=7 ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2024-12-22 09:20:14 UTC

@valentinpalkovic valentinpalkovic changed the title Revert: "Downgrade to esbuild 0.24.0" Build: Revert Downgrade to esbuild 0.24.0 Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants