From 5ca8c0136b82e376489775d223dfce27fc11f746 Mon Sep 17 00:00:00 2001 From: Julian Kniephoff Date: Mon, 6 May 2024 12:30:11 +0200 Subject: [PATCH] Remove `react-app-rewired` It was only used for `customize-cra`, which see below. --- app/package-lock.json | 25 ------------------------- app/package.json | 7 +++---- 2 files changed, 3 insertions(+), 29 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index 52b1747182..5354bdfb3d 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -58,7 +58,6 @@ "@types/lodash": "^4.14.202", "@types/uuid": "^9.0.8", "prop-types": "^15.8.1", - "react-app-rewired": "^2.2.1", "sass": "^1.70.0", "ts-migrate": "^0.1.35", "uuid": "^9.0.1" @@ -19087,30 +19086,6 @@ "node": ">=14" } }, - "node_modules/react-app-rewired": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/react-app-rewired/-/react-app-rewired-2.2.1.tgz", - "integrity": "sha512-uFQWTErXeLDrMzOJHKp0h8P1z0LV9HzPGsJ6adOtGlA/B9WfT6Shh4j2tLTTGlXOfiVx6w6iWpp7SOC5pvk+gA==", - "dev": true, - "dependencies": { - "semver": "^5.6.0" - }, - "bin": { - "react-app-rewired": "bin/index.js" - }, - "peerDependencies": { - "react-scripts": ">=2.1.3" - } - }, - "node_modules/react-app-rewired/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, "node_modules/react-chartjs-2": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/react-chartjs-2/-/react-chartjs-2-5.2.0.tgz", diff --git a/app/package.json b/app/package.json index 4e9b4994d1..3301d03163 100644 --- a/app/package.json +++ b/app/package.json @@ -46,9 +46,9 @@ "yup": "^1.3.3" }, "scripts": { - "start": "react-app-rewired start", - "build": "react-app-rewired build", - "test": "react-app-rewired test", + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { @@ -75,7 +75,6 @@ "@types/lodash": "^4.14.202", "@types/uuid": "^9.0.8", "prop-types": "^15.8.1", - "react-app-rewired": "^2.2.1", "sass": "^1.70.0", "ts-migrate": "^0.1.35", "uuid": "^9.0.1"