Skip to content

Commit 8b82c9c

Browse files
committed
Merge remote-tracking branch 'upstream/main' into codex/server-function-directives
# Conflicts: # packages/plugin-rsc/src/core/rsc.ts # packages/plugin-rsc/src/core/shared.ts # packages/plugin-rsc/src/react/rsc.ts # packages/plugin-rsc/src/transforms/wrap-export.test.ts # packages/plugin-rsc/src/transforms/wrap-export.ts
2 parents 82d2c57 + 5954659 commit 8b82c9c

107 files changed

Lines changed: 3329 additions & 5753 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci-rsc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2828
with:
2929
persist-credentials: false
30-
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
30+
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
3131
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3232
with:
3333
node-version: 24
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
6565
with:
6666
persist-credentials: false
67-
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
67+
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
6868
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
6969
with:
7070
node-version: 24

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
persist-credentials: false
4747

4848
- name: Install pnpm
49-
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
49+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
5050

5151
- name: Set node version to ${{ matrix.node_version }}
5252
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
@@ -71,7 +71,7 @@ jobs:
7171
echo "PLAYWRIGHT_VERSION=$env:PLAYWRIGHT_VERSION" >> $env:GITHUB_ENV
7272
7373
- name: Cache Playwright's binary
74-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
74+
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
7575
with:
7676
key: ${{ runner.os }}-playwright-bin-v1-${{ env.PLAYWRIGHT_VERSION }}
7777
path: ${{ env.PLAYWRIGHT_BROWSERS_PATH }}
@@ -106,7 +106,7 @@ jobs:
106106
persist-credentials: false
107107

108108
- name: Install pnpm
109-
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
109+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
110110

111111
- name: Set node version to 24
112112
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2323
with:
2424
persist-credentials: false
25-
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
25+
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
2626
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
2727
with:
2828
node-version: 24

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
persist-credentials: false
2020

2121
- name: Install pnpm
22-
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
22+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
2323

2424
- name: Set node version
2525
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

.github/workflows/release-continuous.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
persist-credentials: false
2424

2525
- name: Install pnpm
26-
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
26+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
2727

2828
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
2929
with:

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
persist-credentials: false
2828

2929
- name: Run zizmor 🌈
30-
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
30+
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This monorepo contains multiple packages (see [README.md](README.md#packages) fo
1313

1414
- `packages/plugin-react/` - Main React plugin with Babel
1515
- `packages/plugin-react-swc/` - SWC-based React plugin
16-
- `packages/plugin-rsc/` - React Server Components ([AI guidance](packages/plugin-rsc/AGENTS.md), [architecture](packages/plugin-rsc/docs/architecture.md))
16+
- `packages/plugin-rsc/` - React Server Components ([AI guidance](packages/plugin-rsc/AGENTS.md))
1717

1818
### Essential Setup Commands
1919

package.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,30 @@
2727
"dev": "pnpm -r --parallel --filter='./packages/*' run dev",
2828
"release": "node scripts/release.ts",
2929
"ci-publish": "node scripts/publishCI.ts",
30+
"override-react": "bash scripts/override-react.sh",
3031
"override-vite7": "yq -i '.overrides.vite = \"^7\"' pnpm-workspace.yaml && yq -i '.overrides.\"@vitejs/plugin-react\" = \"^5\"' pnpm-workspace.yaml && yq -i '.packages += [\"!packages/plugin-react\"]' pnpm-workspace.yaml"
3132
},
3233
"devDependencies": {
33-
"@eslint/js": "^9.39.4",
34+
"@eslint/js": "^9.39.5",
3435
"@types/fs-extra": "^11.0.4",
35-
"@types/node": "^24.12.4",
36-
"@vitejs/release-scripts": "^1.7.1",
37-
"eslint": "^9.39.4",
38-
"eslint-plugin-import-x": "^4.16.2",
36+
"@types/node": "^24.13.3",
37+
"@vitejs/release-scripts": "^1.8.0",
38+
"eslint": "^9.39.5",
39+
"eslint-plugin-import-x": "^4.17.1",
3940
"eslint-plugin-n": "^17.24.0",
40-
"eslint-plugin-regexp": "^3.1.0",
41-
"fs-extra": "^11.3.5",
42-
"globals": "^17.6.0",
41+
"eslint-plugin-regexp": "^3.1.1",
42+
"fs-extra": "^11.3.6",
43+
"globals": "^17.7.0",
4344
"lint-staged": "^16.4.0",
44-
"oxfmt": "^0.53.0",
45+
"oxfmt": "^0.58.0",
4546
"picocolors": "^1.1.1",
46-
"playwright-chromium": "^1.60.0",
47+
"playwright-chromium": "^1.61.1",
4748
"simple-git-hooks": "^2.13.1",
4849
"typescript": "^6.0.3",
49-
"typescript-eslint": "^8.60.1",
50-
"vite": "^8.0.16",
50+
"typescript-eslint": "^8.64.0",
51+
"vite": "^8.1.4",
5152
"vite-plugin-inspect": "^11.4.1",
52-
"vitest": "^4.1.8"
53+
"vitest": "^4.1.10"
5354
},
5455
"simple-git-hooks": {
5556
"pre-commit": "pnpm exec lint-staged --concurrent false"
@@ -71,5 +72,5 @@
7172
"engines": {
7273
"node": "^20.19.0 || >=22.12.0"
7374
},
74-
"packageManager": "pnpm@10.34.1"
75+
"packageManager": "pnpm@10.34.5"
7576
}

packages/plugin-react-swc/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
"@swc/core": "^1.15.11"
3434
},
3535
"devDependencies": {
36-
"@playwright/test": "^1.60.0",
36+
"@playwright/test": "^1.61.1",
3737
"@types/fs-extra": "^11.0.4",
38-
"@types/node": "^24.12.4",
38+
"@types/node": "^24.13.3",
3939
"@vitejs/react-common": "workspace:*",
40-
"fs-extra": "^11.3.5",
40+
"fs-extra": "^11.3.6",
4141
"prettier": "^3.0.3",
42-
"tsdown": "^0.22.1",
42+
"tsdown": "^0.22.7",
4343
"typescript": "^6.0.3"
4444
},
4545
"peerDependencies": {

packages/plugin-react-swc/playground/styled-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"react": "^19.2.7",
1212
"react-dom": "^19.2.7",
13-
"styled-components": "^6.4.2"
13+
"styled-components": "^6.4.3"
1414
},
1515
"devDependencies": {
1616
"@swc/plugin-styled-components": "^12.5.0",

0 commit comments

Comments
 (0)