Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit b55e68f

Browse files
authored
doc: remove outdated section (#260)
1 parent f499d75 commit b55e68f

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v4
1415
- uses: actions/setup-node@v4
1516
with:
16-
node-version: 20
17-
- run: corepack enable
18-
- uses: actions/setup-node@v4
19-
with:
20-
node-version: 20
17+
node-version: 22
2118
cache: "pnpm"
22-
cache-dependency-path: "**/pnpm-lock.yaml"
2319
- run: pnpm install --frozen-lockfile --prefer-offline
2420
- uses: actions/cache@v4
2521
with:

.github/workflows/publish.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ jobs:
1515
environment: Release
1616
steps:
1717
- uses: actions/checkout@v4
18+
- uses: pnpm/action-setup@v4
1819
- uses: actions/setup-node@v4
1920
with:
20-
node-version: 20
21-
- run: corepack enable
22-
- uses: actions/setup-node@v4
23-
with:
24-
node-version: 20
21+
node-version: 22
2522
registry-url: "https://registry.npmjs.org"
2623
cache: "pnpm"
27-
cache-dependency-path: "**/pnpm-lock.yaml"
2824
- run: pnpm install --frozen-lockfile --prefer-offline
2925
- run: pnpm build
3026
- run: pnpm tnode scripts/publish.ts ${{ github.ref_name }}

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,3 @@ For React refresh to work correctly, your file should only export React componen
114114
If an incompatible change in exports is found, the module will be invalidated and HMR will propagate. To make it easier to export simple constants alongside your component, the module is only invalidated when their value changes.
115115

116116
You can catch mistakes and get more detailed warning with this [eslint rule](https://github.com/ArnaudBarre/eslint-plugin-react-refresh).
117-
118-
## Migrating from `vite-plugin-swc-react-refresh`
119-
120-
The documentation for the previous version of the plugin is available in the [v2 branch](https://github.com/vitejs/vite-plugin-react-swc/tree/v2)
121-
122-
To migrate, see this [changelog](https://github.com/vitejs/vite-plugin-react-swc/releases/tag/v3.0.0-beta.0)

0 commit comments

Comments
 (0)