From bc0ec13ce75f1a28ea599cea0e1525e46d631fde Mon Sep 17 00:00:00 2001 From: Anish Umesh Date: Tue, 17 Jan 2023 16:27:29 +0100 Subject: [PATCH] fix build command error --- components/lab-job-scheduler/webapp/package.json | 8 ++++---- components/lab-mlflow-manager/webapp/package.json | 8 ++++---- components/lab-workspace-manager/webapp/package.json | 8 ++++---- components/template/webapp/package.json | 8 ++++---- webapp/package.json | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/components/lab-job-scheduler/webapp/package.json b/components/lab-job-scheduler/webapp/package.json index a25412e4..fa3e1863 100644 --- a/components/lab-job-scheduler/webapp/package.json +++ b/components/lab-job-scheduler/webapp/package.json @@ -39,11 +39,11 @@ "stylelint-config-standard": "^20.0.0" }, "scripts": { - "start": "react-scripts start", - "start-debug": "REACT_APP_CONTAXY_ENDPOINT=http://localhost:30010/api REACT_APP_EXTENSION_ENDPOINT=http://localhost:8080/ yarn start", + "start": "rGENERATE_SOURCEMAP=false eact-scripts start", + "start-debug": "GENERATE_SOURCEMAP=false REACT_APP_CONTAXY_ENDPOINT=http://localhost:30010/api REACT_APP_EXTENSION_ENDPOINT=http://localhost:8080/ yarn start", "container": "run(){ docker build -t project-template-dev ../.github/actions/build-environment && echo 'Starting the container. That can take a moment...' && docker run -it --rm -p 3000:3000 -p 6006:6006 -v $(pwd):/workspace:delegated --entrypoint \"/bin/bash\" project-template-dev -c \"cd workspace/ && yarn $1\"; }; run", - "build": "react-scripts build", - "test": "react-scripts test a --watchAll=false", + "build": "GENERATE_SOURCEMAP=false react-scripts build", + "test": "GENERATE_SOURCEMAP=false react-scripts test a --watchAll=false", "test-interactive": "react-scripts test", "eject": "react-scripts eject", "lint": "yarn run lint:js ; yarn run lint:css", diff --git a/components/lab-mlflow-manager/webapp/package.json b/components/lab-mlflow-manager/webapp/package.json index 981d58ec..2d299d8a 100644 --- a/components/lab-mlflow-manager/webapp/package.json +++ b/components/lab-mlflow-manager/webapp/package.json @@ -36,11 +36,11 @@ "stylelint-config-standard": "^20.0.0" }, "scripts": { - "start": "react-scripts start", - "start-debug": "REACT_APP_CONTAXY_ENDPOINT=http://localhost:30010/api REACT_APP_EXTENSION_ENDPOINT=http://localhost:8080/ yarn start", + "start": "GENERATE_SOURCEMAP=false react-scripts start", + "start-debug": "GENERATE_SOURCEMAP=false REACT_APP_CONTAXY_ENDPOINT=http://localhost:30010/api REACT_APP_EXTENSION_ENDPOINT=http://localhost:8080/ yarn start", "container": "run(){ docker build -t project-template-dev ../.github/actions/build-environment && echo 'Starting the container. That can take a moment...' && docker run -it --rm -p 3000:3000 -p 6006:6006 -v $(pwd):/workspace:delegated --entrypoint \"/bin/bash\" project-template-dev -c \"cd workspace/ && yarn $1\"; }; run", - "build": "react-scripts build", - "test": "react-scripts test a --watchAll=false --passWithNoTests", + "build": "GENERATE_SOURCEMAP=false react-scripts build", + "test": "GENERATE_SOURCEMAP=false react-scripts test a --watchAll=false --passWithNoTests", "test-interactive": "react-scripts test", "eject": "react-scripts eject", "lint": "yarn run lint:js ; yarn run lint:css", diff --git a/components/lab-workspace-manager/webapp/package.json b/components/lab-workspace-manager/webapp/package.json index 95a6fe1d..b58bc95b 100644 --- a/components/lab-workspace-manager/webapp/package.json +++ b/components/lab-workspace-manager/webapp/package.json @@ -34,11 +34,11 @@ "stylelint-config-standard": "^20.0.0" }, "scripts": { - "start": "react-scripts start", - "start-debug": "REACT_APP_CONTAXY_ENDPOINT=http://localhost:30010/api REACT_APP_EXTENSION_ENDPOINT=http://localhost:8080 yarn start", + "start": "GENERATE_SOURCEMAP=false react-scripts start", + "start-debug": "GENERATE_SOURCEMAP=false REACT_APP_CONTAXY_ENDPOINT=http://localhost:30010/api REACT_APP_EXTENSION_ENDPOINT=http://localhost:8080 yarn start", "container": "run(){ docker build -t project-template-dev ../.github/actions/build-environment && echo 'Starting the container. That can take a moment...' && docker run -it --rm -p 3000:3000 -p 6006:6006 -v $(pwd):/workspace:delegated --entrypoint \"/bin/bash\" project-template-dev -c \"cd workspace/ && yarn $1\"; }; run", - "build": "react-scripts build", - "test": "react-scripts test a --watchAll=false", + "build": "GENERATE_SOURCEMAP=false react-scripts build", + "test": "GENERATE_SOURCEMAP=false react-scripts test a --watchAll=false", "test-interactive": "react-scripts test", "eject": "react-scripts eject", "lint": "yarn run lint:js ; yarn run lint:css", diff --git a/components/template/webapp/package.json b/components/template/webapp/package.json index 7e4220ce..f65ba931 100644 --- a/components/template/webapp/package.json +++ b/components/template/webapp/package.json @@ -32,11 +32,11 @@ "stylelint-config-standard": "^20.0.0" }, "scripts": { - "start": "react-scripts start", - "start-debug": "REACT_APP_CONTAXY_ENDPOINT=http://localhost:30010/api REACT_APP_EXTENSION_ENDPOINT=http://localhost:8080/ yarn start", + "start": "GENERATE_SOURCEMAP=false react-scripts start", + "start-debug": "GENERATE_SOURCEMAP=false REACT_APP_CONTAXY_ENDPOINT=http://localhost:30010/api REACT_APP_EXTENSION_ENDPOINT=http://localhost:8080/ yarn start", "container": "run(){ docker build -t project-template-dev ../.github/actions/build-environment && echo 'Starting the container. That can take a moment...' && docker run -it --rm -p 3000:3000 -p 6006:6006 -v $(pwd):/workspace:delegated --entrypoint \"/bin/bash\" project-template-dev -c \"cd workspace/ && yarn $1\"; }; run", - "build": "react-scripts --openssl-legacy-provider build", - "test": "react-scripts test a --watchAll=false", + "build": "GENERATE_SOURCEMAP=false react-scripts --openssl-legacy-provider build", + "test": "GENERATE_SOURCEMAP=false react-scripts test a --watchAll=false", "test-interactive": "react-scripts test", "eject": "react-scripts eject", "lint": "yarn run lint:js ; yarn run lint:css", diff --git a/webapp/package.json b/webapp/package.json index 6ef27ece..4db71694 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -58,7 +58,7 @@ "stylelint-config-standard": "^20.0.0" }, "scripts": { - "start": "react-scripts start", + "start": "GENERATE_SOURCEMAP=false react-scripts start", "start-debug": "GENERATE_SOURCEMAP=false REACT_APP_ENDPOINT=http://localhost:30010/api yarn start", "container": "run(){ docker build -t project-template-dev ../.github/actions/build-environment && echo 'Starting the container. That can take a moment...' && docker run -it --rm -p 3000:3000 -p 6006:6006 -v $(pwd):/workspace:delegated --entrypoint \"/bin/bash\" project-template-dev -c \"cd workspace/ && yarn $1\"; }; run", "build": "GENERATE_SOURCEMAP=false react-scripts build",