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

Replace yaml library with js-yaml #4565

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

gusevda
Copy link
Contributor

@gusevda gusevda commented Jan 18, 2025

What changed?
In this PR:

  • yaml library was replaced with js-yaml library;
  • scope hoisting was enabled for parcel build;

Why was this change made?

There is a problem with yaml package that causes builds for production to fail. As a temporal solution, parcel scope hoisting was disabled in the PR. This PR fixes production builds.

How did you validate the change?
Tested locally by running with yarn start and separately with tilt up.

@gusevda gusevda requested a review from a team January 18, 2025 12:39
@gusevda gusevda marked this pull request as ready for review January 18, 2025 12:39
@gusevda gusevda enabled auto-merge (squash) January 18, 2025 12:39
Copy link
Contributor

@erikgb erikgb left a comment

Choose a reason for hiding this comment

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

LGTM, but someone with more frontend experience should review this. 😉

@erikgb erikgb requested a review from mproffitt January 18, 2025 12:42
Copy link
Contributor

@mproffitt mproffitt left a comment

Choose a reason for hiding this comment

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

LGTM

@erikgb erikgb force-pushed the replace-yaml-library branch from 2669a01 to 4602ebf Compare January 18, 2025 14:03
@erikgb erikgb force-pushed the replace-yaml-library branch from 4602ebf to ec32dfc Compare January 18, 2025 14:15
@gusevda gusevda merged commit ae3a0d1 into weaveworks:main Jan 18, 2025
14 checks passed
@gusevda gusevda deleted the replace-yaml-library branch January 18, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants