Skip to content

chore(deps): upgrade wxt to 0.20.21#1325

Open
frogGuaGuaGuaGua wants to merge 1 commit intomainfrom
chore/wxt-0-20-21-upgrade
Open

chore(deps): upgrade wxt to 0.20.21#1325
frogGuaGuaGuaGua wants to merge 1 commit intomainfrom
chore/wxt-0-20-21-upgrade

Conversation

@frogGuaGuaGuaGua
Copy link
Copy Markdown
Collaborator

@frogGuaGuaGuaGua frogGuaGuaGuaGua commented Apr 13, 2026

Summary

  • upgrade wxt from 0.20.20 to 0.20.21
  • remove the stale DOTENV_CONFIG_QUIET=false prefixes from WXT build/dev/zip scripts now that WXT handles env loading natively
  • preserve WXT 0.20.21's extension-safe ASCII output in wxt.config.ts by disabling React plugin OXC overrides and escaping problematic code points during bundle generation
  • add a changeset for the patch release

Why

WXT 0.20.21 includes an ASCII-output fix for extension bundles, but in this repo Vite 8 + @vitejs/plugin-react v6 can still force OXC and bypass that protection. This PR keeps the dependency upgrade while making sure the final extension bundles do not contain raw U+2028, U+2029, U+FEFF, or U+FFFF characters.

Validation

  • pnpm install --frozen-lockfile
  • pnpm build
  • pnpm build:firefox
  • pnpm type-check
  • SKIP_FREE_API=true pnpm test
  • scanned .output/chrome-mv3/**/*.js and .output/firefox-mv3/**/*.js to confirm there are no remaining raw U+2028, U+2029, U+FEFF, or U+FFFF code points

Summary by cubic

Upgrade wxt to 0.20.21 and keep extension bundles ASCII-only to avoid invalid code points in MV3 builds. Also remove legacy dotenv flags from scripts and add a changeset.

  • Bug Fixes

    • Force Vite to use esbuild by disabling oxc from @vitejs/plugin-react so WXT’s ASCII output stays effective.
    • Escape U+2028, U+2029, U+FEFF, and U+FFFF in emitted .js chunks during bundle generation.
  • Dependencies

    • Bump wxt to 0.20.21 and update pnpm-lock.yaml.
    • Drop DOTENV_CONFIG_QUIET=false from build/dev/zip scripts since wxt loads env vars natively.

Written for commit d97e33a. Summary will update on new commits.

@github-actions github-actions bot added the chore label Apr 13, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 13, 2026

🦋 Changeset detected

Latest commit: d97e33a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@read-frog/extension Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the contrib-trust:moderate PR author trust score is 30-59. label Apr 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Contributor trust score

43/100 — Moderate

This score estimates contributor familiarity with mengxi-ream/read-frog using public GitHub signals. It is advisory only and does not block merges automatically.

Outcome

Score breakdown

Dimension Score Signals
Repo familiarity 21/35 commits in repo, merged PRs, reviews
Community standing 11/25 account age, followers, repo role
OSS influence 0/20 stars on owned non-fork repositories
PR track record 11/20 merge rate across resolved PRs in this repo

Signals used

  • Repo commits: 10 (author commits reachable from the repository default branch)
  • Repo PR history: merged 12, open 6, closed-unmerged 10
  • Repo reviews: 0
  • PR changed lines: 1050 (+586 / -464)
  • Repo permission: write
  • Followers: 0
  • Account age: 0 months
  • Owned non-fork repos considered: max 0, total 0 (none)

Policy

  • Low-score review threshold: < 30
  • Auto-close: score < 20 and changed lines > 1000
  • Policy version: v1.1

Updated automatically when the PR changes or when a maintainer reruns the workflow.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore contrib-trust:moderate PR author trust score is 30-59.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant