Skip to content

fix(deps): resolve WXT install compatibility - #6

Merged
jevin98 merged 1 commit into
mainfrom
codex/upgrade-wxt-install-compat
May 14, 2026
Merged

fix(deps): resolve WXT install compatibility#6
jevin98 merged 1 commit into
mainfrom
codex/upgrade-wxt-install-compat

Conversation

@jevin98

Copy link
Copy Markdown
Owner

Summary

  • Upgrade WXT to 0.20.26 and @wxt-dev/module-vue to 1.0.3.
  • Add project pnpm config with hoist=false so transitive dependencies resolve correctly under the WXT toolchain.
  • Add @vue/shared explicitly for Element Plus builds in the stricter install layout.
  • Update WXT config and TypeScript types for the newer WXT version.

Root Cause

wxt@0.19.x resolved minimatch@10 and failed during wxt prepare under the current Node runtime. After upgrading WXT, strict dependency resolution also exposed missing direct access to @vue/shared from Element Plus build output.

Validation

  • pnpm install
  • pnpm run compile
  • pnpm run build:chrome

Note: the build still prints a Browserslist data age warning, but the install, typecheck, and Chrome build complete successfully.

@jevin98

Copy link
Copy Markdown
OwnerAuthor

@codex review

@chatgpt-codex-connectorchatgpt-codex-connectorBot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit:2912f5239a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment threadpackage.json
"typescript": "5.6.3",
"vue-tsc": "^2.1.10",
"wxt": "^0.19.13"
"wxt": "^0.20.26"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Declare the new Node floor

When this project is installed or built on Node 18.x, this upgrade now pulls in wxt@0.20.26 plus locked vite@8.0.12/rolldown@1.0.0, whose lockfile entries require Node 20+ (wxt requires >=20.12.0, while Vite/Rolldown require ^20.19.0 || >=22.12.0). The previous lockfile used Vite 6 with a Node 18-compatible engine, and package.json still has no engines/toolchain pin, so developers or CI on Node 18 can get a failing postinstall/build rather than an explicit unsupported-runtime error. Please either use a WXT/Vite combination that still supports Node 18 or add a Node >=20.19 project constraint.

Useful? React with 👍 / 👎.

@jevin98jevin98 changed the title [codex] Fix WXT install compatibilityfix(deps): resolve WXT install compatibilityMay 14, 2026
@jevin98
jevin98 marked this pull request as ready for review May 14, 2026 08:54
@jevin98
jevin98 merged commit b06840b into mainMay 14, 2026
@jevin98
jevin98 deleted the codex/upgrade-wxt-install-compat branch May 15, 2026 03:51
Sign up for freeto 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.

1 participant

@jevin98