-
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
chore(NA): add resolution for chokidar to prevent fsevents@1.x #85171
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
chokidar
to prevent fsevents@1.x
chokidar
to prevent fsevents@1.x
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.
Based on the release notes for chokidar 3 it seems we shouldn't have any problems relying on it instead of 2, LGTM
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
Distributable file count
Page load bundle
History
To update your PR or re-run it, just comment with: |
7.x: c3a0e29 |
…ic#85171) * chore(NA): add fsevents resolution to 2.x * chore(NA): add fsevents as an optionalDepedency to allow resolutions to be set for it * chore(NA): remove fsevents resolution from package.json * chore(NA): remove optionalDependencies from being declared * chore(NA): update kbn pm dist Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
… (#85501) * chore(NA): add fsevents resolution to 2.x * chore(NA): add fsevents as an optionalDepedency to allow resolutions to be set for it * chore(NA): remove fsevents resolution from package.json * chore(NA): remove optionalDependencies from being declared * chore(NA): update kbn pm dist Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
The
fsevents 1.x
requires a native module to be built every time yarn install runs which invalidates bazel remote cache as discovered as part of #74105.In order to avoid that in our effort for the future new build tools #69706 we want to prevent this happening with that PR which adds resolutions for
chokidar
who was the package being responsible to install multiple versions offsevents
.Currently we cannot add a resolution for
fsevents
due to yarnpkg/yarn#6834 and as yarn is currently not handling it right, due to a bug, setting the resolution will make yarn try to install the optional dependency anyway underlinux
andwindows
which are not os system not supported forfsevents
.