Skip to content

Commit dc9eb34

Browse files
authored
refactor: bump react-router (#4961)
Upgrade react-router to 7.3 Removed unused dependencies in this version remix-run/react-router#13134
1 parent 6d00184 commit dc9eb34

File tree

24 files changed

+242
-297
lines changed

24 files changed

+242
-297
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ jobs:
134134
}
135135
const results = [
136136
await assertSize('./fixtures/ssg/dist/client', 352),
137-
await assertSize('./fixtures/react-router-netlify/build/client', 360),
138-
await assertSize('./fixtures/webstudio-features/build/client', 932),
137+
await assertSize('./fixtures/react-router-netlify/build/client', 368),
138+
await assertSize('./fixtures/webstudio-features/build/client', 936),
139139
]
140140
for (const result of results) {
141141
if (result.passed) {

apps/builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"fast-deep-equal": "^3.1.3",
9090
"immer": "^10.1.1",
9191
"immerhin": "^0.10.0",
92-
"isbot": "^5.1.22",
92+
"isbot": "^5.1.23",
9393
"lexical": "^0.21.0",
9494
"match-sorter": "^8.0.0",
9595
"mdast-util-from-markdown": "^2.0.2",

fixtures/react-router-docker/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010
"fixtures:build": "pnpm cli build --template docker --template .template && pnpm prettier --write ./app/ ./package.json ./tsconfig.json"
1111
},
1212
"dependencies": {
13-
"@react-router/dev": "^7.1.5",
14-
"@react-router/fs-routes": "^7.1.5",
15-
"@react-router/node": "^7.1.5",
16-
"@react-router/serve": "^7.1.5",
13+
"@react-router/dev": "^7.3.0",
14+
"@react-router/fs-routes": "^7.3.0",
15+
"@react-router/node": "^7.3.0",
16+
"@react-router/serve": "^7.3.0",
1717
"@webstudio-is/image": "workspace:*",
1818
"@webstudio-is/react-sdk": "workspace:*",
1919
"@webstudio-is/sdk": "workspace:*",
2020
"@webstudio-is/sdk-components-animation": "workspace:*",
2121
"@webstudio-is/sdk-components-react": "workspace:*",
2222
"@webstudio-is/sdk-components-react-radix": "workspace:*",
2323
"@webstudio-is/sdk-components-react-router": "workspace:*",
24-
"h3": "^1.15.0",
24+
"h3": "^1.15.1",
2525
"ipx": "^3.0.1",
26-
"isbot": "^5.1.22",
26+
"isbot": "^5.1.23",
2727
"react": "18.3.0-canary-14898b6a9-20240318",
2828
"react-dom": "18.3.0-canary-14898b6a9-20240318",
29-
"react-router": "^7.1.5",
29+
"react-router": "^7.3.0",
3030
"vite": "^5.4.11",
3131
"webstudio": "workspace:*"
3232
},

fixtures/react-router-netlify/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
},
1414
"dependencies": {
1515
"@netlify/vite-plugin-react-router": "^1.0.0",
16-
"@react-router/dev": "^7.1.5",
17-
"@react-router/fs-routes": "^7.1.5",
18-
"@react-router/node": "^7.1.5",
16+
"@react-router/dev": "^7.3.0",
17+
"@react-router/fs-routes": "^7.3.0",
18+
"@react-router/node": "^7.3.0",
1919
"@webstudio-is/image": "workspace:*",
2020
"@webstudio-is/react-sdk": "workspace:*",
2121
"@webstudio-is/sdk": "workspace:*",
2222
"@webstudio-is/sdk-components-animation": "workspace:*",
2323
"@webstudio-is/sdk-components-react": "workspace:*",
2424
"@webstudio-is/sdk-components-react-radix": "workspace:*",
2525
"@webstudio-is/sdk-components-react-router": "workspace:*",
26-
"isbot": "^5.1.22",
26+
"isbot": "^5.1.23",
2727
"react": "18.3.0-canary-14898b6a9-20240318",
2828
"react-dom": "18.3.0-canary-14898b6a9-20240318",
29-
"react-router": "^7.1.5",
29+
"react-router": "^7.3.0",
3030
"vite": "^5.4.11",
3131
"webstudio": "workspace:*"
3232
},

fixtures/react-router-vercel/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
"deploy": "npx vercel deploy"
1212
},
1313
"dependencies": {
14-
"@react-router/dev": "^7.1.5",
15-
"@react-router/fs-routes": "^7.1.5",
16-
"@react-router/node": "^7.1.5",
17-
"@vercel/react-router": "^1.0.2",
14+
"@react-router/dev": "^7.3.0",
15+
"@react-router/fs-routes": "^7.3.0",
16+
"@react-router/node": "^7.3.0",
17+
"@vercel/react-router": "^1.1.0",
1818
"@webstudio-is/image": "workspace:*",
1919
"@webstudio-is/react-sdk": "workspace:*",
2020
"@webstudio-is/sdk": "workspace:*",
2121
"@webstudio-is/sdk-components-animation": "workspace:*",
22+
"@webstudio-is/sdk-components-react": "workspace:*",
2223
"@webstudio-is/sdk-components-react-radix": "workspace:*",
2324
"@webstudio-is/sdk-components-react-router": "workspace:*",
24-
"@webstudio-is/sdk-components-react": "workspace:*",
25-
"isbot": "^5.1.22",
25+
"isbot": "^5.1.23",
2626
"react": "18.3.0-canary-14898b6a9-20240318",
2727
"react-dom": "18.3.0-canary-14898b6a9-20240318",
28-
"react-router": "^7.1.5",
28+
"react-router": "^7.3.0",
2929
"vite": "^5.4.11",
3030
"webstudio": "workspace:*"
3131
},

fixtures/ssg-netlify-by-project-id/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
"@webstudio-is/sdk-components-react-remix": "workspace:*",
4141
"react": "18.3.0-canary-14898b6a9-20240318",
4242
"react-dom": "18.3.0-canary-14898b6a9-20240318",
43-
"vike": "^0.4.222"
43+
"vike": "^0.4.224"
4444
}
4545
}

fixtures/ssg/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
"@webstudio-is/sdk-components-react-remix": "workspace:*",
4141
"react": "18.3.0-canary-14898b6a9-20240318",
4242
"react-dom": "18.3.0-canary-14898b6a9-20240318",
43-
"vike": "^0.4.222"
43+
"vike": "^0.4.224"
4444
}
4545
}

fixtures/webstudio-cloudflare-template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@webstudio-is/sdk-components-react": "workspace:*",
4040
"@webstudio-is/sdk-components-react-radix": "workspace:*",
4141
"@webstudio-is/sdk-components-react-remix": "workspace:*",
42-
"isbot": "^5.1.22",
42+
"isbot": "^5.1.23",
4343
"react": "18.3.0-canary-14898b6a9-20240318",
4444
"react-dom": "18.3.0-canary-14898b6a9-20240318",
4545
"webstudio": "workspace:*",

fixtures/webstudio-features/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,29 @@
1313
"sideEffects": false,
1414
"dependencies": {
1515
"@miniflare/html-rewriter": "^2.14.4",
16-
"@react-router/dev": "^7.1.5",
17-
"@react-router/fs-routes": "^7.1.5",
18-
"@react-router/node": "^7.1.5",
16+
"@react-router/dev": "^7.3.0",
17+
"@react-router/fs-routes": "^7.3.0",
18+
"@react-router/node": "^7.3.0",
1919
"@webstudio-is/image": "workspace:*",
2020
"@webstudio-is/react-sdk": "workspace:*",
2121
"@webstudio-is/sdk": "workspace:*",
2222
"@webstudio-is/sdk-components-animation": "workspace:*",
23+
"@webstudio-is/sdk-components-react": "workspace:*",
2324
"@webstudio-is/sdk-components-react-radix": "workspace:*",
2425
"@webstudio-is/sdk-components-react-router": "workspace:*",
25-
"@webstudio-is/sdk-components-react": "workspace:*",
26-
"isbot": "^5.1.22",
26+
"isbot": "^5.1.23",
2727
"react": "18.3.0-canary-14898b6a9-20240318",
2828
"react-dom": "18.3.0-canary-14898b6a9-20240318",
29-
"react-router": "^7.1.5",
29+
"react-router": "^7.3.0",
3030
"vite": "^5.4.11",
3131
"webstudio": "workspace:*"
3232
},
3333
"devDependencies": {
34-
"webstudio": "workspace:*",
3534
"@types/react": "^18.2.70",
3635
"@types/react-dom": "^18.2.25",
36+
"fast-glob": "^3.3.2",
3737
"typescript": "5.7.3",
38-
"fast-glob": "^3.3.2"
38+
"webstudio": "workspace:*"
3939
},
4040
"engines": {
4141
"node": ">=20.0.0"

packages/cli/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"dependencies": {
3434
"@clack/prompts": "^0.10.0",
3535
"@emotion/hash": "^0.9.2",
36-
"acorn": "^8.14.0",
36+
"acorn": "^8.14.1",
3737
"acorn-walk": "^8.3.4",
3838
"change-case": "^5.4.4",
3939
"deepmerge": "^4.3.1",
@@ -49,8 +49,8 @@
4949
},
5050
"devDependencies": {
5151
"@netlify/vite-plugin-react-router": "^1.0.0",
52-
"@react-router/dev": "^7.1.5",
53-
"@react-router/fs-routes": "^7.1.5",
52+
"@react-router/dev": "^7.3.0",
53+
"@react-router/fs-routes": "^7.3.0",
5454
"@remix-run/cloudflare": "^2.15.2",
5555
"@remix-run/cloudflare-pages": "^2.15.2",
5656
"@remix-run/dev": "^2.15.2",
@@ -60,7 +60,7 @@
6060
"@types/react": "^18.2.70",
6161
"@types/react-dom": "^18.2.25",
6262
"@types/yargs": "^17.0.33",
63-
"@vercel/react-router": "^1.0.2",
63+
"@vercel/react-router": "^1.1.0",
6464
"@vitejs/plugin-react": "^4.3.4",
6565
"@webstudio-is/http-client": "workspace:*",
6666
"@webstudio-is/image": "workspace:*",
@@ -72,14 +72,14 @@
7272
"@webstudio-is/sdk-components-react-remix": "workspace:*",
7373
"@webstudio-is/sdk-components-react-router": "workspace:*",
7474
"@webstudio-is/tsconfig": "workspace:*",
75-
"h3": "^1.15.0",
75+
"h3": "^1.15.1",
7676
"ipx": "^3.0.1",
7777
"prettier": "3.4.2",
7878
"react": "18.3.0-canary-14898b6a9-20240318",
7979
"react-dom": "18.3.0-canary-14898b6a9-20240318",
80-
"react-router": "^7.1.5",
80+
"react-router": "^7.3.0",
8181
"ts-expect": "^1.3.0",
82-
"vike": "^0.4.222",
82+
"vike": "^0.4.224",
8383
"vite": "^5.4.11",
8484
"vitest": "^3.0.4",
8585
"wrangler": "^3.63.2"

0 commit comments

Comments
 (0)