Repository navigation
chore(npm): update wxt to 0.21 and @vitejs/plugin-react to v6 - #371
Merged
Merged
Conversation
nownabe
force-pushed
the
chore/wxt-0.21
branch
from
September 26, 2026 01:59
1699d06 to
090c2da
Compare
WXT 0.21 makes vite a peer and its generated tsconfig now enables noImplicitOverride and noUncheckedIndexedAccess, so both Renovate PRs failed CI on their own. Vite 8 lets plugin-react move to v6, and publish-browser-extension ^5.1 || ^6 makes both overrides obsolete.
nownabe
force-pushed
the
chore/wxt-0.21
branch
from
September 26, 2026 06:21
090c2da to
5ec3178
Compare
nownabe
enabled auto-merge (squash)
September 26, 2026 06:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Renovate's #258 (wxt 0.21) and #243 (@vitejs/plugin-react v6) each fail CI alone and depend on each other:
.wxt/tsconfig.json(which ours extends) now enablesnoImplicitOverrideandnoUncheckedIndexedAccess(fix(TS)!: Update.wxt/tsconfig.jsoncompiler options, require TS >=5.4 wxt-dev/wxt#2512), sobun run typecheckfails in files the bump doesn't touch.vitea peer (^6.3.4 || ^7 || ^8). plugin-react v6 requires Vite 8, so it only works once we pick Vite 8 ourselves.What
wxt^0.21.0,vite^8.0.0 (new explicit devDependency, now a peer),@vitejs/plugin-react^6.0.0.overrides:@vitejs/plugin-react^4.3.4 pin was for Vite 6 compatibility; no longer applies.publish-browser-extension^4.0.5 pin (fix(release): pin publish-browser-extension to ^4.0.5 #263) guarded against the broken 3.x ESM entry. WXT 0.21 requires^5.1 || ^6, so 3.x can't resolve anymore and the pin would force a version outside WXT's range. It now resolves to 6.1.1, which still defaults to the Chrome API v1.1 path with the sameCHROME_*env vars and--chrome-zipflag. Removed the matching section indocs/release.md.overrideon CodeMirrorWidgetTypeeq/ignoreEvent/destroyoverrides.withRetryandfindCommentMappingsnow iterate their backoff arrays (same attempt counts),buildAllPendingSuggestionsusesObject.entries,extractSuggestionBlockusesm?.[2] ?? null;!only where bounds are already checked (loop indices, mandatory regex groups, binary search inoffsetToLineCol).?./!on indexed results.Checks
bun run test,check:lint,check:format,typecheck,build,test:e2e(4/4) pass locally.bun run zipstill emits.output/bark-<version>-chrome.zip; the manifest is unchanged;wxt submit --dry-runloads and reaches credential validation;dev/preview/vite.config.tsbuilds under Vite 8 + plugin-react 6.Supersedes #258 and #243.