Skip to content

Replace yaml library with js-yaml#4565

Merged
gusevda merged 1 commit intoweaveworks:mainfrom
gusevda:replace-yaml-library
Jan 18, 2025
Merged

Replace yaml library with js-yaml#4565
gusevda merged 1 commit intoweaveworks:mainfrom
gusevda:replace-yaml-library

Conversation

@gusevda
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@gusevda gusevda deleted the replace-yaml-library branch January 18, 2025 18:12
This was referenced Feb 4, 2025
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