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

fix(build): adjust native dependencies for node 22 #2607

Closed

Conversation

gashcrumb
Copy link
Member

@gashcrumb gashcrumb commented Mar 20, 2025

Description

This change regenerates enough of the yarn.lock to adjust a few native dependency package versions to ensure the project installs properly with node 22 and can still be built offline. This fix also required bringing in a fix to the @janus-idp/cli package so that it handles manually added resolutions as expected.

Which issue(s) does this PR fix

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Copy link

openshift-ci bot commented Mar 20, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign christoph-jerolimov for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gashcrumb gashcrumb requested a review from nickboldt March 20, 2025 13:08
@gashcrumb gashcrumb changed the title fix(build): adjust native dependencies for node 23 fix(build): adjust native dependencies for node 22 Mar 20, 2025
@gashcrumb gashcrumb force-pushed the adjust-deps-cachi2-node23 branch from aac7afd to 793acf0 Compare March 20, 2025 13:14
Copy link
Contributor

This change regenerates enough of the yarn.lock to adjust a few native
dependency package versions so the project installs properly with node
22 and can still be built offline.  This change also brings in a fix to
the @janus-idp/cli package so that it handles manually added resolutions
as expected.

Signed-off-by: Stan Lewis <[email protected]>
@gashcrumb gashcrumb force-pushed the adjust-deps-cachi2-node23 branch from 793acf0 to f54ac6b Compare March 21, 2025 12:22
Copy link
Contributor

@gashcrumb
Copy link
Member Author

As regenerating the yarn.lock should sort this problem without the extra resolutions, the CLI update isn't necessary.

@gashcrumb gashcrumb closed this Mar 21, 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