From 65478e1ef2efc7fa5a7494f953b690d887e3ca2f Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Fri, 24 Apr 2026 22:29:13 -0700 Subject: [PATCH] Add react-is as explicit dependency to fix production Docker build recharts declares react-is as a peerDependency. With legacy-peer-deps=true, npm no longer auto-installs peer deps, so react-is was missing from the production image and recharts failed to load at runtime. Co-Authored-By: Claude Sonnet 4.6 --- package-lock.json | 15 +++++++++++---- package.json | 1 + 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index c83090a..df84091 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,6 +46,7 @@ "react": "^19.1.0", "react-day-picker": "^9.11.1", "react-dom": "^19.1.0", + "react-is": "^19.2.5", "react-router": "^7.7.1", "recharts": "^3.4.1", "resend": "^6.9.4", @@ -14204,6 +14205,13 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/pretty-format/node_modules/react-is": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true, + "license": "MIT" + }, "node_modules/pretty-ms": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.0.tgz", @@ -14509,10 +14517,9 @@ } }, "node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true, + "version": "19.2.5", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.5.tgz", + "integrity": "sha512-Dn0t8IQhCmeIT3wu+Apm1/YVsJXsGWi6k4sPdnBIdqMVtHtv0IGi6dcpNpNkNac0zB2uUAqNX3MHzN8c+z2rwQ==", "license": "MIT" }, "node_modules/react-redux": { diff --git a/package.json b/package.json index 8acc76f..821019d 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,7 @@ "react": "^19.1.0", "react-day-picker": "^9.11.1", "react-dom": "^19.1.0", + "react-is": "^19.2.5", "react-router": "^7.7.1", "recharts": "^3.4.1", "resend": "^6.9.4",