From 6f724616a1f0bec475decf9f0abf05a49221ea07 Mon Sep 17 00:00:00 2001 From: Sirbu Nicolae-Cezar Date: Fri, 23 Sep 2022 15:01:33 +0300 Subject: [PATCH 1/5] Bump version to 4.0.0 major Signed-off-by: Sirbu Nicolae-Cezar --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 47abd036..28c6b329 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-ui", - "version": "0.1.0", + "version": "4.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "react-ui", - "version": "0.1.0", + "version": "4.0.0", "hasInstallScript": true, "dependencies": { "@mantine/core": "4.2.9", diff --git a/package.json b/package.json index ef0855d0..ca771301 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-ui", - "version": "0.1.0", + "version": "4.0.0", "private": true, "dependencies": { "@mantine/core": "4.2.9", From 75fdad8c10c976e6cec810d81171304e0e0253ea Mon Sep 17 00:00:00 2001 From: Sirbu Nicolae-Cezar Date: Fri, 23 Sep 2022 15:01:37 +0300 Subject: [PATCH 2/5] 4.0.1 Signed-off-by: Sirbu Nicolae-Cezar --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 28c6b329..39037ab0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-ui", - "version": "4.0.0", + "version": "4.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "react-ui", - "version": "4.0.0", + "version": "4.0.1", "hasInstallScript": true, "dependencies": { "@mantine/core": "4.2.9", diff --git a/package.json b/package.json index ca771301..ed632405 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-ui", - "version": "4.0.0", + "version": "4.0.1", "private": true, "dependencies": { "@mantine/core": "4.2.9", From 4d7675a147ff3e942439c13482f68e7e716672eb Mon Sep 17 00:00:00 2001 From: Sirbu Nicolae-Cezar Date: Fri, 23 Sep 2022 15:28:45 +0300 Subject: [PATCH 3/5] Fix new dist path Signed-off-by: Sirbu Nicolae-Cezar --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fa1bcd2d..b4e5cabc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,6 @@ LABEL org.opencontainers.image.vendor = "odpi" \ org.opencontainers.image.ext.docker.params = "" # Just copy the built files & serve via nginx -COPY build/prod /var/www/ +COPY dist/ /var/www/ COPY etc/nginx.conf /etc/nginx/conf.d/default.conf CMD ["nginx", "-g", "daemon off;"] From 9cbdc83d27e1b80f7690f95f4a1340f54f4c6dee Mon Sep 17 00:00:00 2001 From: Sirbu Nicolae-Cezar Date: Fri, 23 Sep 2022 15:30:35 +0300 Subject: [PATCH 4/5] Fix new build path Signed-off-by: Sirbu Nicolae-Cezar --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b4e5cabc..ef88503b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,6 @@ LABEL org.opencontainers.image.vendor = "odpi" \ org.opencontainers.image.ext.docker.params = "" # Just copy the built files & serve via nginx -COPY dist/ /var/www/ +COPY build/ /var/www/ COPY etc/nginx.conf /etc/nginx/conf.d/default.conf CMD ["nginx", "-g", "daemon off;"] From feda5625eb4b0a927c6b3e76fc9bd3e48100a0ed Mon Sep 17 00:00:00 2001 From: Sirbu Nicolae-Cezar Date: Fri, 23 Sep 2022 15:46:59 +0300 Subject: [PATCH 5/5] Encapsulate login required components Signed-off-by: Sirbu Nicolae-Cezar --- src/components/AppInstance/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/AppInstance/index.tsx b/src/components/AppInstance/index.tsx index 49e0faa9..4e299e26 100644 --- a/src/components/AppInstance/index.tsx +++ b/src/components/AppInstance/index.tsx @@ -24,9 +24,9 @@ export function AppInstance() { Hi} /> - } /> - } /> - } /> + } /> + } /> + } /> } /> } />