Skip to content

Commit

Permalink
chore: update react-scripts to v5
Browse files Browse the repository at this point in the history
This updates react-scripts in the various starter apps in order to resolve an issue with hot reloading while working locally.

References:
- facebook/create-react-app#11771
- https://stackoverflow.com/a/70452191/656011
  • Loading branch information
Eric allen committed Apr 4, 2022
1 parent 56ced43 commit b90e895
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-pugs-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@datadog/create-app': major
---

Upgrade to react-scripts v5
2 changes: 1 addition & 1 deletion examples/custom-widget-with-1st-party-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@types/node": "^14.14.14",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"typescript": "^4.5.4"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/geomap/datadog-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"pigeon-maps": "^0.19.7",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"typeface-roboto": "^1.1.13",
"typescript": "^4.1.3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/random-dog/dog-image-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"milligram": "^1.4.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"typeface-roboto": "^1.1.13",
"typescript": "^4.1.3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/redis/datadog-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hook-form": "^7.19.5",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"web-vitals": "^1.0.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/sentiment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"milligram": "^1.4.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"typeface-roboto": "^1.1.13"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"milligram": "^1.4.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"typeface-roboto": "^1.1.13",
"typescript": "^4.1.3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/stream/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"bootstrap": "^5.1.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"typeface-roboto": "^1.1.13",
"typescript": "^4.4.3"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/stream/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"bootstrap": "^5.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"typescript": "^4.1.2"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/src/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"milligram": "^1.4.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"react-scripts": "5.0.0",
"typeface-roboto": "^1.1.13",
"typescript": "^4.5.4"
},
Expand Down

0 comments on commit b90e895

Please sign in to comment.