-
-
Notifications
You must be signed in to change notification settings - Fork 563
chore: Migrate to Vite+ unified toolchain #2340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 15 commits
f10ee2f
281a790
c59eae0
b481c74
c90cfef
2c8b7d3
ca4069e
879b4e3
5549d7e
cd20534
a1810a6
653abf8
9332789
134ed70
b84f250
914809b
12bcf69
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {"sessionId":"931fe826-259f-468a-a01f-9adc63bebc57","pid":52183,"procStart":"Fri May 8 11:56:53 2026","acquiredAt":1778247276107} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,8 +20,11 @@ jobs: | |
| - name: Setup | ||
| uses: ./.github/actions/setup | ||
|
|
||
| - name: Generate Docs | ||
| run: vpr docs:gen | ||
|
|
||
| - name: Basic Checks | ||
| run: bun run check | ||
| run: vp check | ||
|
|
||
| builds: | ||
| name: Builds | ||
|
|
@@ -34,7 +37,7 @@ jobs: | |
| uses: ./.github/actions/setup | ||
|
|
||
| - name: Build All Packages | ||
| run: bun run buildc all | ||
| run: vpr -r build | ||
|
|
||
| build-demo: | ||
| name: Build Demo | ||
|
|
@@ -47,11 +50,11 @@ jobs: | |
| uses: ./.github/actions/setup | ||
|
|
||
| - name: Build | ||
| run: bun run build:all | ||
| run: vpr build:all | ||
| working-directory: packages/wxt-demo | ||
|
|
||
| - name: ZIP | ||
| run: bun run wxt zip | ||
| run: vp exec wxt zip | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the did between this and vpr? |
||
| working-directory: packages/wxt-demo | ||
|
|
||
| tests: | ||
|
|
@@ -80,11 +83,11 @@ jobs: | |
|
|
||
| - name: Run Tests | ||
| if: ${{ ! matrix.coverage }} | ||
| run: bun run test | ||
| run: vpr -r test run | ||
|
|
||
| - name: Run Tests (Coverage) | ||
| if: matrix.coverage | ||
| run: bun run test:coverage --reporter=default --reporter=hanging-process | ||
| run: vpr -r test:coverage --reporter=default | ||
|
|
||
| - name: Upload Coverage | ||
| if: matrix.coverage | ||
|
|
@@ -112,7 +115,7 @@ jobs: | |
| uses: ./.github/actions/setup | ||
|
|
||
| - name: Pack WXT package | ||
| run: bun pm pack | ||
| run: vp pm pack | ||
| working-directory: packages/wxt | ||
|
|
||
| - name: Install Dependencies | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,3 +24,6 @@ docs/api/reference | |
| stats.html | ||
| .cache | ||
| *-stats.txt | ||
| .vite-hooks/_ | ||
| CLAUDE.md | ||
| **/CLAUDE.md | ||
|
Comment on lines
+28
to
+29
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not opposed to having context files in the repo. I'd prefer for them to be agent-agnostic, but I don't think there are any community standards around these yet. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 24.15.0 |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| vp staged |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| { | ||
| "recommendations": [ | ||
| "davidanson.vscode-markdownlint", | ||
| "esbenp.prettier-vscode", | ||
| "github.vscode-github-actions" | ||
| "github.vscode-github-actions", | ||
| "VoidZero.vite-plus-extension-pack" | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| { | ||
| // Set default formatter | ||
| "editor.defaultFormatter": "esbenp.prettier-vscode", | ||
|
|
||
| "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | ||
| "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | ||
| "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | ||
| "[markdown]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | ||
|
|
||
| // Additional guidelines for Copilot | ||
| "editor.defaultFormatter": "oxc.oxc-vscode", | ||
| "github.copilot.chat.codeGeneration.instructions": [ | ||
| { "file": "CONTRIBUTING.md" } | ||
| { | ||
| "file": "CONTRIBUTING.md" | ||
| } | ||
| ], | ||
| "oxc.enable": true | ||
| "oxc.enable": true, | ||
| "oxc.fmt.configPath": "./vite.config.ts", | ||
| "editor.formatOnSave": true, | ||
| "editor.formatOnSaveMode": "file", | ||
| "editor.codeActionsOnSave": { | ||
| "source.fixAll.oxc": "explicit" | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you pushed it, i think it shouldn't be push.