Skip to content

refactor: make vite a default peer - #1945

Merged
aklinker1 merged 2 commits into
wxt-dev:majorfrom
lishaduck:default-peer
Oct 27, 2025
Merged

aklinker1 merged 2 commits into
wxt-dev:majorfrom
lishaduck:default-peer

Conversation

@lishaduck

Copy link
Copy Markdown
Contributor

Overview

I think this could be breaking in theory, but...

  • If you're using the default setup, you're already good.
  • If you've customized your Vite version, you probably thought it was a peer.

Manual Testing

Make some projects and ensure the correct versions are installed.

Related Issue

This PR closes #1631

@netlify

netlify Bot commented Oct 22, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 0f430b4
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/68fc37cf7f44e500087cac0c
😎 Deploy Preview https://deploy-preview-1945--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.

This was referenced Oct 22, 2025
@aklinker1
aklinker1 changed the base branch from main to major October 25, 2025 02:30
@aklinker1
aklinker1 changed the base branch from major to main October 25, 2025 02:30
@aklinker1

aklinker1 commented Oct 25, 2025 •

Copy link
Copy Markdown
Member

Could you rebase this off of major instead of main? This is a breaking change, and that's where I stage all breaking changes before the next major release. It's breaking for projects that don't hoist dependencies, like pnpm.

I think this could be breaking in theory, but...
- If you're using the default setup, you're already good.
- If you've customized your Vite version, you probably thought it was a peer.
@lishaduck

Copy link
Copy Markdown
Contributor Author

Could you rebase this off of major instead of main? This is a breaking change, and that's where I stage all breaking changes before the next major release.

Rebased! (fyi, would probably be good for major to get updated from main, it's pretty far back right now)

@lishaduck
lishaduck changed the base branch from main to major October 25, 2025 02:38
Comment thread packages/wxt/package.json Resolved
@aklinker1

aklinker1 commented Oct 27, 2025 •

Copy link
Copy Markdown
Member

I'll rebase major after merging this PR so it doesn't effect it.

@lishaduck
lishaduck requested a review from aklinker1 October 27, 2025 22:01
@codecov

codecov Bot commented Oct 27, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.97%. Comparing base (bb63004) to head (a4e55fa).
⚠️ Report is 1 commits behind head on major.

Additional details and impacted files
@@            Coverage Diff             @@
##            major    #1945      +/-   ##
==========================================
- Coverage   80.98%   80.97%   -0.02%     
==========================================
  Files         131      131              
  Lines        6679     6679              
  Branches     1094     1094              
==========================================
- Hits         5409     5408       -1     
- Misses       1259     1260       +1     
  Partials       11       11              

☔ 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 merged commit c081fed into wxt-dev:major Oct 27, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for helping make WXT better!

aklinker1 pushed a commit that referenced this pull request Oct 27, 2025
@aklinker1

aklinker1 commented Oct 27, 2025 •

Copy link
Copy Markdown
Member

Alright, major is rebased with the latest main. @lishaduck

@lishaduck
lishaduck deleted the default-peer branch October 27, 2025 22:29
aklinker1 pushed a commit that referenced this pull request Feb 7, 2026
aklinker1 pushed a commit that referenced this pull request Feb 22, 2026
aklinker1 pushed a commit that referenced this pull request Jul 26, 2026
aklinker1 pushed a commit that referenced this pull request Jul 26, 2026
aklinker1 pushed a commit that referenced this pull request Jul 26, 2026
Sign up for free to 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.

Make Vite a Peer Dependency

2 participants