Skip to content

Commit 5fabe66

Browse files
authored
feat: add new vercel template based on react-router (#4825)
Had to add huge @vercel/react-router but it works now.
1 parent ae864ef commit 5fabe66

Some content is hidden

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

42 files changed

+1832
-46
lines changed

fixtures/react-router-docker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
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.14.0",
24+
"h3": "^1.15.0",
2525
"ipx": "^3.0.1",
2626
"isbot": "^5.1.22",
2727
"react": "18.3.0-canary-14898b6a9-20240318",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.DS_Store
2+
/node_modules/
3+
4+
# React Router
5+
/.react-router/
6+
/build/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
force=true
2+
# to support using NODE_OPTIONS for windows tests
3+
shell-emulator=true
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
force=true
2+
# to support using NODE_OPTIONS for windows tests
3+
shell-emulator=true
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"dependencies": {
3+
"@webstudio-is/image": "workspace:*",
4+
"@webstudio-is/react-sdk": "workspace:*",
5+
"@webstudio-is/sdk": "workspace:*",
6+
"@webstudio-is/sdk-components-animation": "workspace:*",
7+
"@webstudio-is/sdk-components-react": "workspace:*",
8+
"@webstudio-is/sdk-components-react-radix": "workspace:*",
9+
"@webstudio-is/sdk-components-react-router": "workspace:*",
10+
"webstudio": "workspace:*"
11+
}
12+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"compilerOptions": {
3+
"customConditions": ["webstudio"]
4+
}
5+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"projectId": "d845c167-ea07-4875-b08d-83e97c09dcce"
3+
}

0 commit comments

Comments
 (0)