From b90e8951b67aff3b16804d375094f657dde256e4 Mon Sep 17 00:00:00 2001 From: Eric allen Date: Wed, 30 Mar 2022 15:00:31 -0400 Subject: [PATCH] chore: update react-scripts to v5 This updates react-scripts in the various starter apps in order to resolve an issue with hot reloading while working locally. References: - https://github.com/facebook/create-react-app/issues/11771 - https://stackoverflow.com/a/70452191/656011 --- .changeset/cuddly-pugs-hammer.md | 5 +++++ examples/custom-widget-with-1st-party-data/package.json | 2 +- examples/geomap/datadog-app/package.json | 2 +- examples/random-dog/dog-image-widget/package.json | 2 +- examples/redis/datadog-app/package.json | 2 +- examples/sentiment/package.json | 2 +- examples/starter-kit/package.json | 2 +- examples/stream/admin/package.json | 2 +- examples/stream/ui/package.json | 2 +- packages/create-app/src/template/package.json | 2 +- 10 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .changeset/cuddly-pugs-hammer.md diff --git a/.changeset/cuddly-pugs-hammer.md b/.changeset/cuddly-pugs-hammer.md new file mode 100644 index 00000000..5e4bbdae --- /dev/null +++ b/.changeset/cuddly-pugs-hammer.md @@ -0,0 +1,5 @@ +--- +'@datadog/create-app': major +--- + +Upgrade to react-scripts v5 diff --git a/examples/custom-widget-with-1st-party-data/package.json b/examples/custom-widget-with-1st-party-data/package.json index 30f72d7e..674be226 100644 --- a/examples/custom-widget-with-1st-party-data/package.json +++ b/examples/custom-widget-with-1st-party-data/package.json @@ -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": { diff --git a/examples/geomap/datadog-app/package.json b/examples/geomap/datadog-app/package.json index 60dc9615..2fd7a29e 100644 --- a/examples/geomap/datadog-app/package.json +++ b/examples/geomap/datadog-app/package.json @@ -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" }, diff --git a/examples/random-dog/dog-image-widget/package.json b/examples/random-dog/dog-image-widget/package.json index 07650a9a..c1887e33 100644 --- a/examples/random-dog/dog-image-widget/package.json +++ b/examples/random-dog/dog-image-widget/package.json @@ -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" }, diff --git a/examples/redis/datadog-app/package.json b/examples/redis/datadog-app/package.json index 17a13042..55632412 100644 --- a/examples/redis/datadog-app/package.json +++ b/examples/redis/datadog-app/package.json @@ -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": { diff --git a/examples/sentiment/package.json b/examples/sentiment/package.json index c14d5156..3a54b005 100644 --- a/examples/sentiment/package.json +++ b/examples/sentiment/package.json @@ -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": { diff --git a/examples/starter-kit/package.json b/examples/starter-kit/package.json index 0483e7c5..c591dec6 100644 --- a/examples/starter-kit/package.json +++ b/examples/starter-kit/package.json @@ -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" }, diff --git a/examples/stream/admin/package.json b/examples/stream/admin/package.json index da9609cd..7912a5f8 100644 --- a/examples/stream/admin/package.json +++ b/examples/stream/admin/package.json @@ -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" }, diff --git a/examples/stream/ui/package.json b/examples/stream/ui/package.json index 52650585..9ece59e0 100644 --- a/examples/stream/ui/package.json +++ b/examples/stream/ui/package.json @@ -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": { diff --git a/packages/create-app/src/template/package.json b/packages/create-app/src/template/package.json index b6135885..02c3108e 100644 --- a/packages/create-app/src/template/package.json +++ b/packages/create-app/src/template/package.json @@ -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" },