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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

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

- name: Install pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Set node version to 20
uses: actions/setup-node@v4
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@v4

- name: Install pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- name: Set node version to 20
uses: actions/setup-node@v4
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
hoist-pattern[]=@emotion/* # playground/react-emotion
hoist-pattern[]=*babel*
hoist-pattern[]=@swc/* # packages/plugin-react-swc/playground/emotion-plugin, packages/plugin-react-swc/playground/styled-components
hoist-pattern[]=eslint-import-resolver-*
Copy link
Member

Choose a reason for hiding this comment

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

I added this to make eslint-plugin-import-x work.

strict-peer-dependencies=false
shell-emulator=true
auto-install-peers=false
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
"packageManager": "pnpm@10.6.5",
"packageManager": "pnpm@10.8.0",
"homepage": "https://github.com/vitejs/vite-plugin-react/",
"keywords": [
"frontend",
Expand All @@ -32,26 +32,26 @@
"ci-publish": "tsx scripts/publishCI.ts"
},
"devDependencies": {
"@eslint/js": "^9.22.0",
"@eslint/js": "^9.24.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.13.15",
"@types/node": "^22.14.0",
"@vitejs/release-scripts": "^1.5.0",
"eslint": "^9.22.0",
"eslint-plugin-import-x": "^4.8.0",
"eslint-plugin-n": "^17.16.2",
"eslint": "^9.24.0",
"eslint-plugin-import-x": "^4.10.2",
"eslint-plugin-n": "^17.17.0",
"eslint-plugin-regexp": "^2.7.0",
"fs-extra": "^11.2.0",
"fs-extra": "^11.3.0",
"globals": "^16.0.0",
"lint-staged": "^15.2.10",
"lint-staged": "^15.5.0",
"picocolors": "^1.1.1",
"playwright-chromium": "^1.51.1",
"prettier": "^3.0.3",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.26.1",
"vite": "^6.0.0",
"vitest": "^3.0.4"
"simple-git-hooks": "^2.12.1",
"tsx": "^4.19.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.29.1",
"vite": "^6.2.6",
"vitest": "^3.1.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0"
},
"devDependencies": {
"vite": "^6.2.2"
"vite": "^6.2.6"
}
}
10 changes: 5 additions & 5 deletions packages/plugin-react-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@
},
"homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-swc#readme",
"dependencies": {
"@swc/core": "^1.11.11"
"@swc/core": "^1.11.18"
},
"peerDependencies": {
"vite": "^4 || ^5 || ^6"
},
"devDependencies": {
"@playwright/test": "^1.51.1",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.13.15",
"@types/node": "^22.14.0",
"@vitejs/react-common": "workspace:*",
"esbuild": "^0.25.1",
"esbuild": "^0.25.2",
"fs-extra": "^11.3.0",
"picocolors": "^1.1.1",
"prettier": "^3.0.3",
"typescript": "^5.8.2",
"vite": "^6.2.2"
"typescript": "^5.8.3",
"vite": "^6.2.6"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-react-swc/playground/base-path/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-react-swc/playground/decorators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
10 changes: 5 additions & 5 deletions packages/plugin-react-swc/playground/emotion-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist",
"@swc/plugin-emotion": "^9.0.0"
"@swc/plugin-emotion": "^9.0.2"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-react-swc/playground/emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-react-swc/playground/hmr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-react-swc/playground/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@mdx-js/rollup": "^3.1.0",
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-is": "^19.0.0",
"styled-components": "^6.1.16"
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-is": "^19.1.0",
"styled-components": "^6.1.17"
},
"devDependencies": {
"@swc/plugin-styled-components": "^7.1.0",
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@swc/plugin-styled-components": "^7.1.2",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@types/styled-components": "^5.1.34",
"@vitejs/plugin-react-swc": "../../dist"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/plugin-react-swc/playground/ts-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"dependencies": {
"@generouted/react-router": "^1.20.0",
"generouted": "1.11.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^7.3.0"
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router-dom": "^7.5.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
8 changes: 4 additions & 4 deletions packages/plugin-react-swc/playground/worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@types/react": "^19.0.11",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react-swc": "../../dist"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
},
"homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme",
"dependencies": {
"@babel/core": "^7.26.0",
"@babel/core": "^7.26.10",
"@babel/plugin-transform-react-jsx-self": "^7.25.9",
"@babel/plugin-transform-react-jsx-source": "^7.25.9",
"@types/babel__core": "^7.20.5",
"react-refresh": "^0.14.2"
"react-refresh": "^0.17.0"
},
"peerDependencies": {
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0"
Expand Down
4 changes: 2 additions & 2 deletions playground/class-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@vitejs/plugin-react": "workspace:*"
}
}
6 changes: 3 additions & 3 deletions playground/compiler-react-18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
},
"devDependencies": {
"@babel/plugin-transform-react-jsx-development": "^7.25.9",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@vitejs/plugin-react": "workspace:*",
"babel-plugin-react-compiler": "0.0.0-experimental-dc8bd44-20241121",
"typescript": "^5.7.2"
"typescript": "^5.8.3"
}
}
10 changes: 5 additions & 5 deletions playground/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^19.0.0-rc-fb9a90fa48-20240614",
"react-dom": "^19.0.0-rc-fb9a90fa48-20240614"
"react": "^19.1.0",
"react-dom": "^19.1.0"
Comment on lines -11 to +12
Copy link
Member

Choose a reason for hiding this comment

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

I guess this upgrade is fine.

},
"devDependencies": {
"@babel/plugin-transform-react-jsx-development": "^7.25.9",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@vitejs/plugin-react": "workspace:*",
"babel-plugin-react-compiler": "0.0.0-experimental-dc8bd44-20241121",
Copy link
Member

Choose a reason for hiding this comment

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

(Not related to this PR) Should we use beta versions instead?

Copy link
Member

Choose a reason for hiding this comment

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

I didn't know there was a beta version. If it's more recent than this one yes we should

Copy link
Member

Choose a reason for hiding this comment

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

I'll make a separate PR for that 👍

"typescript": "^5.7.2"
"typescript": "^5.8.3"
}
}
4 changes: 2 additions & 2 deletions playground/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"devDependencies": {
"@mdx-js/rollup": "^3.1.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "^18.3.20",
"@types/react-dom": "^18.3.6",
"@vitejs/plugin-react": "workspace:*"
}
}
Loading
Loading