Skip to content

feat: New @wxt-dev/is-background package#2152

Merged
aklinker1 merged 9 commits intomainfrom
is-background-package
Feb 22, 2026
Merged

feat: New @wxt-dev/is-background package#2152
aklinker1 merged 9 commits intomainfrom
is-background-package

Conversation

@aklinker1
Copy link
Copy Markdown
Member

@aklinker1 aklinker1 commented Feb 22, 2026

Overview

Pulled out of #1808 into a separate package so it's easier to test and use by other packages in the ecosystem.

  • Test Chromium MV2 manually Not possible anymore
  • Test Chromium MV3 manually
  • Test Firefox MV2 manually
  • Test Firefox MV3 manually
  • Test Safari MV2 manually
  • Test Safari MV3 manually
  • Update docs
  • Update CI
  • Add co-author

Manual Testing

I have setup unit tests for each browser/manifest version combo, but this relies on my stubbed env being correct.

You could create a new extension and test it in all browsers manually.

Related Issue

Apart of #1807

@aklinker1 aklinker1 self-assigned this Feb 22, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 22, 2026

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 2e08c0c
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/699b5f189cc40700081997f7
😎 Deploy Preview https://deploy-preview-2152--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.28%. Comparing base (05e23e7) to head (2e08c0c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2152      +/-   ##
==========================================
+ Coverage   76.26%   76.28%   +0.01%     
==========================================
  Files         113      114       +1     
  Lines        3055     3065      +10     
  Branches      686      693       +7     
==========================================
+ Hits         2330     2338       +8     
- Misses        641      642       +1     
- Partials       84       85       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aklinker1 aklinker1 marked this pull request as ready for review February 22, 2026 18:00
@aklinker1 aklinker1 requested a review from Timeraa as a code owner February 22, 2026 18:00
@aklinker1 aklinker1 merged commit c9205bb into main Feb 22, 2026
17 of 18 checks passed
@aklinker1 aklinker1 deleted the is-background-package branch February 22, 2026 19:57
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for helping make WXT better!

aklinker1 added a commit that referenced this pull request Feb 22, 2026
Co-authored-by: Smit <sm17p@users.noreply.github.com>
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.

1 participant