Skip to content

Commit df002ac

Browse files
committed
update to react 19
1 parent 5cdb79f commit df002ac

File tree

24 files changed

+758
-1812
lines changed

24 files changed

+758
-1812
lines changed

epicshop/package-lock.json

Lines changed: 245 additions & 493 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

epicshop/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"test": "playwright test && node test.js"
66
},
77
"dependencies": {
8-
"@epic-web/config": "^1.16.3",
8+
"@epic-web/config": "^1.16.4",
99
"@epic-web/workshop-app": "^5.9.0",
1010
"@epic-web/workshop-utils": "^5.9.0",
1111
"enquirer": "^2.4.1",
12-
"execa": "^9.5.1",
12+
"execa": "^9.5.2",
1313
"match-sorter": "^8.0.0",
1414
"p-limit": "^6.1.0"
1515
}

exercises/04.code-splitting/01.problem.lazy/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"dependencies": {
1818
"@use-gesture/react": "^10.3.0",
1919
"d3-geo": "^3.1.0",
20-
"react": "19.0.0-beta-94eed63c49-20240425",
21-
"react-dom": "19.0.0-beta-94eed63c49-20240425",
20+
"react": "^19.0.0",
21+
"react-dom": "^19.0.0",
2222
"react-spring": "^9.7.3",
2323
"spin-delay": "^2.0.0",
2424
"topojson-client": "^3.1.0"
@@ -28,16 +28,12 @@
2828
"@playwright/test": "^1.47.2",
2929
"@types/d3-geo": "^3.1.0",
3030
"@types/node": "^20.9.1",
31-
"@types/react": "npm:types-react@19.0.0-alpha.5",
32-
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
31+
"@types/react": "^19.0.1",
32+
"@types/react-dom": "^19.0.1",
3333
"@types/topojson-client": "^3.1.4",
3434
"@vitejs/plugin-react": "^4.0.3",
3535
"prettier": "^3.0.3",
3636
"typescript": "^5.0.2",
3737
"vite": "^5.2.10"
38-
},
39-
"overrides": {
40-
"@types/react": "$@types/react",
41-
"@types/react-dom": "$@types/react-dom"
4238
}
4339
}

exercises/04.code-splitting/01.solution.lazy/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"dependencies": {
1818
"@use-gesture/react": "^10.3.0",
1919
"d3-geo": "^3.1.0",
20-
"react": "19.0.0-beta-94eed63c49-20240425",
21-
"react-dom": "19.0.0-beta-94eed63c49-20240425",
20+
"react": "^19.0.0",
21+
"react-dom": "^19.0.0",
2222
"react-spring": "^9.7.3",
2323
"spin-delay": "^2.0.0",
2424
"topojson-client": "^3.1.0"
@@ -28,16 +28,12 @@
2828
"@playwright/test": "^1.47.2",
2929
"@types/d3-geo": "^3.1.0",
3030
"@types/node": "^20.9.1",
31-
"@types/react": "npm:types-react@19.0.0-alpha.5",
32-
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
31+
"@types/react": "^19.0.1",
32+
"@types/react-dom": "^19.0.1",
3333
"@types/topojson-client": "^3.1.4",
3434
"@vitejs/plugin-react": "^4.0.3",
3535
"prettier": "^3.0.3",
3636
"typescript": "^5.0.2",
3737
"vite": "^5.2.10"
38-
},
39-
"overrides": {
40-
"@types/react": "$@types/react",
41-
"@types/react-dom": "$@types/react-dom"
4238
}
4339
}

exercises/04.code-splitting/02.problem.eager/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"dependencies": {
1818
"@use-gesture/react": "^10.3.0",
1919
"d3-geo": "^3.1.0",
20-
"react": "19.0.0-beta-94eed63c49-20240425",
21-
"react-dom": "19.0.0-beta-94eed63c49-20240425",
20+
"react": "^19.0.0",
21+
"react-dom": "^19.0.0",
2222
"react-spring": "^9.7.3",
2323
"spin-delay": "^2.0.0",
2424
"topojson-client": "^3.1.0"
@@ -28,16 +28,12 @@
2828
"@playwright/test": "^1.47.2",
2929
"@types/d3-geo": "^3.1.0",
3030
"@types/node": "^20.9.1",
31-
"@types/react": "npm:types-react@19.0.0-alpha.5",
32-
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
31+
"@types/react": "^19.0.1",
32+
"@types/react-dom": "^19.0.1",
3333
"@types/topojson-client": "^3.1.4",
3434
"@vitejs/plugin-react": "^4.0.3",
3535
"prettier": "^3.0.3",
3636
"typescript": "^5.0.2",
3737
"vite": "^5.2.10"
38-
},
39-
"overrides": {
40-
"@types/react": "$@types/react",
41-
"@types/react-dom": "$@types/react-dom"
4238
}
4339
}

exercises/04.code-splitting/02.solution.eager/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"dependencies": {
1818
"@use-gesture/react": "^10.3.0",
1919
"d3-geo": "^3.1.0",
20-
"react": "19.0.0-beta-94eed63c49-20240425",
21-
"react-dom": "19.0.0-beta-94eed63c49-20240425",
20+
"react": "^19.0.0",
21+
"react-dom": "^19.0.0",
2222
"react-spring": "^9.7.3",
2323
"spin-delay": "^2.0.0",
2424
"topojson-client": "^3.1.0"
@@ -28,16 +28,12 @@
2828
"@playwright/test": "^1.47.2",
2929
"@types/d3-geo": "^3.1.0",
3030
"@types/node": "^20.9.1",
31-
"@types/react": "npm:types-react@19.0.0-alpha.5",
32-
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
31+
"@types/react": "^19.0.1",
32+
"@types/react-dom": "^19.0.1",
3333
"@types/topojson-client": "^3.1.4",
3434
"@vitejs/plugin-react": "^4.0.3",
3535
"prettier": "^3.0.3",
3636
"typescript": "^5.0.2",
3737
"vite": "^5.2.10"
38-
},
39-
"overrides": {
40-
"@types/react": "$@types/react",
41-
"@types/react-dom": "$@types/react-dom"
4238
}
4339
}

exercises/04.code-splitting/03.problem.transition/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"dependencies": {
1818
"@use-gesture/react": "^10.3.0",
1919
"d3-geo": "^3.1.0",
20-
"react": "19.0.0-beta-94eed63c49-20240425",
21-
"react-dom": "19.0.0-beta-94eed63c49-20240425",
20+
"react": "^19.0.0",
21+
"react-dom": "^19.0.0",
2222
"react-spring": "^9.7.3",
2323
"spin-delay": "^2.0.0",
2424
"topojson-client": "^3.1.0"
@@ -28,16 +28,12 @@
2828
"@playwright/test": "^1.47.2",
2929
"@types/d3-geo": "^3.1.0",
3030
"@types/node": "^20.9.1",
31-
"@types/react": "npm:types-react@19.0.0-alpha.5",
32-
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
31+
"@types/react": "^19.0.1",
32+
"@types/react-dom": "^19.0.1",
3333
"@types/topojson-client": "^3.1.4",
3434
"@vitejs/plugin-react": "^4.0.3",
3535
"prettier": "^3.0.3",
3636
"typescript": "^5.0.2",
3737
"vite": "^5.2.10"
38-
},
39-
"overrides": {
40-
"@types/react": "$@types/react",
41-
"@types/react-dom": "$@types/react-dom"
4238
}
4339
}

exercises/04.code-splitting/03.solution.transition/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"dependencies": {
1818
"@use-gesture/react": "^10.3.0",
1919
"d3-geo": "^3.1.0",
20-
"react": "19.0.0-beta-94eed63c49-20240425",
21-
"react-dom": "19.0.0-beta-94eed63c49-20240425",
20+
"react": "^19.0.0",
21+
"react-dom": "^19.0.0",
2222
"react-spring": "^9.7.3",
2323
"spin-delay": "^2.0.0",
2424
"topojson-client": "^3.1.0"
@@ -28,16 +28,12 @@
2828
"@playwright/test": "^1.47.2",
2929
"@types/d3-geo": "^3.1.0",
3030
"@types/node": "^20.9.1",
31-
"@types/react": "npm:types-react@19.0.0-alpha.5",
32-
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
31+
"@types/react": "^19.0.1",
32+
"@types/react-dom": "^19.0.1",
3333
"@types/topojson-client": "^3.1.4",
3434
"@vitejs/plugin-react": "^4.0.3",
3535
"prettier": "^3.0.3",
3636
"typescript": "^5.0.2",
3737
"vite": "^5.2.10"
38-
},
39-
"overrides": {
40-
"@types/react": "$@types/react",
41-
"@types/react-dom": "$@types/react-dom"
4238
}
4339
}

exercises/05.calculations/01.problem.use-memo/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,19 @@
1818
"comlink": "^4.4.1",
1919
"downshift": "^8.3.2",
2020
"match-sorter": "^6.3.4",
21-
"react": "19.0.0-beta-94eed63c49-20240425",
22-
"react-dom": "19.0.0-beta-94eed63c49-20240425",
21+
"react": "^19.0.0",
22+
"react-dom": "^19.0.0",
2323
"spin-delay": "^2.0.0"
2424
},
2525
"devDependencies": {
2626
"@epic-web/config": "^1.5.4",
2727
"@playwright/test": "^1.47.2",
2828
"@types/node": "^20.9.1",
29-
"@types/react": "npm:types-react@19.0.0-alpha.5",
30-
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
29+
"@types/react": "^19.0.1",
30+
"@types/react-dom": "^19.0.1",
3131
"@vitejs/plugin-react": "^4.0.3",
3232
"prettier": "^3.0.3",
3333
"typescript": "^5.0.2",
3434
"vite": "^5.2.10"
35-
},
36-
"overrides": {
37-
"@types/react": "$@types/react",
38-
"@types/react-dom": "$@types/react-dom"
3935
}
4036
}

exercises/05.calculations/01.solution.use-memo/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,19 @@
1818
"comlink": "^4.4.1",
1919
"downshift": "^8.3.2",
2020
"match-sorter": "^6.3.4",
21-
"react": "19.0.0-beta-94eed63c49-20240425",
22-
"react-dom": "19.0.0-beta-94eed63c49-20240425",
21+
"react": "^19.0.0",
22+
"react-dom": "^19.0.0",
2323
"spin-delay": "^2.0.0"
2424
},
2525
"devDependencies": {
2626
"@epic-web/config": "^1.5.4",
2727
"@playwright/test": "^1.47.2",
2828
"@types/node": "^20.9.1",
29-
"@types/react": "npm:types-react@19.0.0-alpha.5",
30-
"@types/react-dom": "npm:types-react-dom@19.0.0-alpha.5",
29+
"@types/react": "^19.0.1",
30+
"@types/react-dom": "^19.0.1",
3131
"@vitejs/plugin-react": "^4.0.3",
3232
"prettier": "^3.0.3",
3333
"typescript": "^5.0.2",
3434
"vite": "^5.2.10"
35-
},
36-
"overrides": {
37-
"@types/react": "$@types/react",
38-
"@types/react-dom": "$@types/react-dom"
3935
}
4036
}

0 commit comments

Comments
 (0)