Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-rsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
- uses: actions/setup-node@v6
with:
node-version: 22
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
- uses: actions/setup-node@v6
with:
node-version: 22
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0

- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v6
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0

- name: Set node version to 20
uses: actions/setup-node@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
- uses: actions/setup-node@v6
with:
node-version: 22
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0

- name: Set node version
uses: actions/setup-node@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0

- uses: actions/setup-node@v6
with:
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@
"@types/node": "^24.12.0",
"@vitejs/release-scripts": "^1.6.0",
"eslint": "^9.39.4",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-n": "^17.24.0",
"eslint-plugin-regexp": "^3.0.0",
"eslint-plugin-regexp": "^3.1.0",
"fs-extra": "^11.3.4",
"globals": "^17.4.0",
"lint-staged": "^16.3.2",
"oxfmt": "^0.36.0",
"lint-staged": "^16.4.0",
"oxfmt": "^0.40.0",
"picocolors": "^1.1.1",
"playwright-chromium": "^1.58.2",
"simple-git-hooks": "^2.13.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"vite": "^8.0.0-beta.16",
"typescript-eslint": "^8.57.0",
"vite": "^8.0.0",
"vite-plugin-inspect": "^11.3.3",
"vitest": "^4.0.18"
"vitest": "^4.1.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
Expand All @@ -71,5 +71,5 @@
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"packageManager": "pnpm@10.31.0"
"packageManager": "pnpm@10.32.1"
}
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"./refresh-runtime": "./refresh-runtime.js"
},
"dependencies": {
"@rolldown/pluginutils": "1.0.0-rc.7"
"@rolldown/pluginutils": "1.0.0-rc.9"
},
"peerDependencies": {
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-react-oxc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"@rolldown/pluginutils": "1.0.0-rc.7"
"@rolldown/pluginutils": "1.0.0-rc.9"
},
"devDependencies": {
"@vitejs/react-common": "workspace:*",
"tsdown": "^0.21.0",
"tsdown": "^0.21.3",
"vite": "catalog:rolldown-vite"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-react-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test": "playwright test"
},
"dependencies": {
"@rolldown/pluginutils": "1.0.0-rc.7",
"@rolldown/pluginutils": "1.0.0-rc.9",
"@swc/core": "^1.15.11"
},
"devDependencies": {
Expand All @@ -39,7 +39,7 @@
"@vitejs/react-common": "workspace:*",
"fs-extra": "^11.3.4",
"prettier": "^3.0.3",
"tsdown": "^0.21.0",
"tsdown": "^0.21.3",
"typescript": "^5.9.3"
},
"peerDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/plugin-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@
"test-unit": "vitest run"
},
"dependencies": {
"@rolldown/pluginutils": "1.0.0-rc.7"
"@rolldown/pluginutils": "1.0.0-rc.9"
},
"devDependencies": {
"@babel/core": "8.0.0-rc.2",
"@rolldown/plugin-babel": "^0.2.0",
"@rolldown/plugin-babel": "^0.2.1",
"@vitejs/react-common": "workspace:*",
"babel-plugin-react-compiler": "^1.0.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rolldown": "1.0.0-rc.7",
"tsdown": "^0.21.0",
"vite": "^8.0.0-beta.16"
"rolldown": "1.0.0-rc.9",
"tsdown": "^0.21.3",
"vite": "^8.0.0"
},
"peerDependencies": {
"@rolldown/plugin-babel": "^0.1.7 || ^0.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-rsc/examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"@vitejs/test-dep-transitive-use-sync-external-store": "file:./test-dep/transitive-use-sync-external-store",
"rsc-html-stream": "^0.0.7",
"tailwindcss": "^4.2.1",
"vite": "^8.0.0-beta.16",
"wrangler": "^4.71.0"
"vite": "^8.0.0",
"wrangler": "^4.73.0"
},
"stackblitz": {
"installDependencies": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-rsc/examples/browser-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"vite": "^8.0.0-beta.16",
"vite": "^8.0.0",
"vite-dev-rpc": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-rsc/examples/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"vite": "^8.0.0-beta.16",
"vite": "^8.0.0",
"vite-dev-rpc": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-rsc/examples/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"devDependencies": {
"@rolldown/plugin-babel": "^0.2.0",
"@rolldown/plugin-babel": "^0.2.1",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"babel-plugin-react-compiler": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-rsc/examples/no-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"vite": "^8.0.0-beta.16"
"vite": "^8.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-rsc/examples/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"react-router": "7.13.1"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.26.1",
"@cloudflare/vite-plugin": "^1.28.0",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"tailwindcss": "^4.2.1",
"vite": "^8.0.0-beta.16",
"wrangler": "^4.71.0"
"vite": "^8.0.0",
"wrangler": "^4.73.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-rsc/examples/ssg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"rsc-html-stream": "^0.0.7",
"vite": "^8.0.0-beta.16"
"vite": "^8.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-rsc/examples/starter-cf-single/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"react-dom": "^19.2.4"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.26.1",
"@cloudflare/vite-plugin": "^1.28.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"rsc-html-stream": "^0.0.7",
"vite": "^8.0.0-beta.16",
"wrangler": "^4.71.0"
"vite": "^8.0.0",
"wrangler": "^4.73.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin-rsc/examples/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"rsc-html-stream": "^0.0.7",
"vite": "^8.0.0-beta.16"
"vite": "^8.0.0"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
"prepack": "tsdown"
},
"dependencies": {
"@rolldown/pluginutils": "1.0.0-rc.7",
"@rolldown/pluginutils": "1.0.0-rc.9",
"es-module-lexer": "^2.0.0",
"estree-walker": "^3.0.3",
"magic-string": "^0.30.21",
"periscopic": "^4.0.2",
"srvx": "^0.11.8",
"srvx": "^0.11.12",
"strip-literal": "^3.1.0",
"turbo-stream": "^3.2.0",
"vitefu": "^1.1.2"
Expand All @@ -64,8 +64,8 @@
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-server-dom-webpack": "^19.2.4",
"tinyexec": "^1.0.2",
"tsdown": "^0.21.0"
"tinyexec": "^1.0.4",
"tsdown": "^0.21.3"
},
"peerDependencies": {
"react": "*",
Expand Down
2 changes: 1 addition & 1 deletion playground/compiler-react-18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@rolldown/plugin-babel": "^0.2.0",
"@rolldown/plugin-babel": "^0.2.1",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion playground/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@rolldown/plugin-babel": "^0.2.0",
"@rolldown/plugin-babel": "^0.2.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion playground/include-node-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@rolldown/plugin-babel": "^0.2.0",
"@rolldown/plugin-babel": "^0.2.1",
"@types/babel__core": "^7.20.5",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
Expand Down
2 changes: 1 addition & 1 deletion playground/react-emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@babel/core": "^7.29.0",
"@emotion/babel-plugin": "^11.13.5",
"@rolldown/plugin-babel": "^0.2.0",
"@rolldown/plugin-babel": "^0.2.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "workspace:*"
Expand Down
10 changes: 4 additions & 6 deletions playground/vitestSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
mergeConfig,
preview,
} from 'vite'
import type { RunnerTestFile } from 'vitest'
import { beforeAll, inject } from 'vitest'

// #region env
Expand Down Expand Up @@ -79,18 +78,17 @@ export function setViteUrl(url: string): void {

// #endregion

beforeAll(async (s) => {
const suite = s as RunnerTestFile

testPath = suite.filepath!
// eslint-disable-next-line no-empty-pattern
beforeAll(async ({}, suite) => {
testPath = suite.file.filepath!
Comment on lines +82 to +83
Copy link
Contributor

Choose a reason for hiding this comment

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

This wasn't undocumented feature and Vitest 4.1 intentionally broke it in vitest-dev/vitest#9786

testName = slash(testPath).match(/playground\/([\w-]+)\//)?.[1]
testDir = dirname(testPath)
if (testName) {
testDir = path.resolve(workspaceRoot, 'playground-temp', testName)
}

// skip browser setup for non-playground tests
if (!suite.filepath.includes('playground')) {
if (!testPath.includes('playground')) {
return
}

Expand Down
Loading
Loading