From d7329b1cfed3a1a2601a2734b1aaf3c17d96c910 Mon Sep 17 00:00:00 2001 From: Ashley Neaves Date: Thu, 28 Sep 2023 16:30:05 +0100 Subject: [PATCH] Actions issue may have been due to relative paths in package.json. Trying that out --- example/.env.production | 1 + example/package.json | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/example/.env.production b/example/.env.production index df8ae80..ba75459 100644 --- a/example/.env.production +++ b/example/.env.production @@ -1 +1,2 @@ +REACT_APP_ENDPOINT_URL= BUILD_PATH=build/app \ No newline at end of file diff --git a/example/package.json b/example/package.json index dc5cba4..a714201 100644 --- a/example/package.json +++ b/example/package.json @@ -4,17 +4,17 @@ "version": "0.0.0", "private": true, "scripts": { - "start": "node ../node_modules/react-scripts/bin/react-scripts.js start", - "build": "node ../node_modules/react-scripts/bin/react-scripts.js build", - "test": "node ../node_modules/react-scripts/bin/react-scripts.js test", - "eject": "node ../node_modules/react-scripts/bin/react-scripts.js eject" + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test", + "eject": "react-scripts eject" }, "dependencies": { - "odin-react": "file:..", - "react": "file:../node_modules/react", - "react-bootstrap-icons": "^1.9.1", - "react-dom": "file:../node_modules/react-dom", - "react-scripts": "file:../node_modules/react-scripts" + "odin-react": "github:stfc-aeg/odin-react", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-scripts": "5.0.1", + "react-bootstrap-icons": "^1.9.1" }, "devDependencies": { },