Skip to content

Commit 73a0a5b

Browse files
committed
progress maybe
1 parent fd4a7ba commit 73a0a5b

31 files changed

+2988
-3740
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ workspace/
88
data.db
99
/playground
1010
**/tsconfig.tsbuildinfo
11+
.react-router
1112

1213
# in a real app you'd want to not commit the .env
1314
# file as well, but since this is for a workshop

exercises/07.error-boundaries/03.solution.not-found/package.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,23 @@
44
"version": "0.0.0",
55
"type": "module",
66
"imports": {
7-
"#src/*": "./src/*"
7+
"#app/*": "./app/*"
88
},
99
"scripts": {
10-
"dev": "vite",
11-
"build": "tsc -b && vite build",
12-
"preview": "vite preview",
10+
"build": "react-router build",
11+
"dev": "react-router dev",
12+
"start": "react-router-serve ./build/server/index.js",
1313
"test": "playwright test --config=./tests/playwright.config.ts"
1414
},
1515
"dependencies": {
16+
"@epic-web/config": "^1.17.2",
17+
"@react-router/node": "^7.3.0",
18+
"@react-router/serve": "^7.3.0",
1619
"@tailwindcss/vite": "^4.0.9",
1720
"class-variance-authority": "^0.7.1",
1821
"clsx": "^2.1.1",
1922
"cron-parser": "^5.0.4",
23+
"isbot": "^5",
2024
"match-sorter": "^8.0.0",
2125
"react": "^19.0.0",
2226
"react-dom": "^19.0.0",
@@ -25,10 +29,13 @@
2529
},
2630
"devDependencies": {
2731
"@playwright/test": "^1.50.1",
32+
"@react-router/dev": "^7.3.0",
33+
"@react-router/remix-routes-option-adapter": "^7.3.0",
2834
"@types/node": "^22.13.5",
2935
"@types/react": "^19.0.10",
3036
"@types/react-dom": "^19.0.4",
3137
"@vitejs/plugin-react": "^4.3.4",
38+
"remix-flat-routes": "^0.8.5",
3239
"typescript": "^5.7.3",
3340
"vite": "^6.2.0"
3441
}

exercises/07.error-boundaries/03.solution.not-found/src/components/button.tsx

-84
This file was deleted.

exercises/07.error-boundaries/03.solution.not-found/src/components/icon.tsx

-77
This file was deleted.

0 commit comments

Comments
 (0)