Skip to content

Add npm override to eliminate quarantined es5-ext#17

Merged
weshayutin merged 1 commit into
migtools:oadp-1.6from
Joeavaikath:fix-es5-ext-npm-override
May 15, 2026
Merged

Add npm override to eliminate quarantined es5-ext#17
weshayutin merged 1 commit into
migtools:oadp-1.6from
Joeavaikath:fix-es5-ext-npm-override

Conversation

@Joeavaikath

@Joeavaikath Joeavaikath commented May 15, 2026

Copy link
Copy Markdown

Summary

  • The previous fix (PR filebrowser is not passing konflux builds #15) added pnpm.overrides to replace epubjs with @likecoin/epub-ts, but Konflux hermetic builds use npm (not pnpm), so package-lock.json still resolved es5-ext
  • This adds a top-level "overrides" field (npm-compatible) and replaces the direct epubjs dependency with the fork, fully removing es5-ext from package-lock.json
  • Verified: es5-ext has 0 references in the regenerated lockfile, typecheck and tests pass

Test plan

  • Konflux prefetch-dependencies step no longer fails on quarantined es5-ext
  • Epub reader works correctly (open an .epub file, verify rendering, font size controls, dark mode)

🤖 Generated with Claude Code

The pnpm.overrides field is ignored by npm, which Konflux uses for
hermetic builds. This adds a top-level "overrides" field and replaces
the direct epubjs dependency so npm's package-lock.json also resolves
to @likecoin/epub-ts, fully eliminating the quarantined es5-ext package.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@openshift-ci openshift-ci Bot requested review from mpryc and weshayutin May 15, 2026 15:58
@coderabbitai

coderabbitai Bot commented May 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: af7c96e7-df33-4ec6-9727-498df7df5536

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mpryc

mpryc commented May 15, 2026

Copy link
Copy Markdown

/lgtm

@weshayutin weshayutin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

/LGTM

@openshift-ci

openshift-ci Bot commented May 15, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Joeavaikath, mpryc, weshayutin

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [Joeavaikath,mpryc,weshayutin]

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

@weshayutin weshayutin merged commit 8d5ada1 into migtools:oadp-1.6 May 15, 2026
10 of 11 checks passed
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.

3 participants