From 23d0c6971ca9c87f743b62852b98c1f94289867e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Wed, 24 May 2023 13:13:13 +0200 Subject: [PATCH] refactor: move proxy to monorepo --- .dockerignore => backend/proxy/.dockerignore | 0 .editorconfig => backend/proxy/.editorconfig | 0 .eslintrc.json => backend/proxy/.eslintrc.json | 0 .gitignore => backend/proxy/.gitignore | 0 .gitlab-ci.yml => backend/proxy/.gitlab-ci.yml | 0 {.gitlab => backend/proxy/.gitlab}/issue_templates/bug.md | 0 {.gitlab => backend/proxy/.gitlab}/issue_templates/feature.md | 0 .npmignore => backend/proxy/.npmignore | 0 CHANGELOG.md => backend/proxy/CHANGELOG.md | 0 Dockerfile => backend/proxy/Dockerfile | 0 LICENSE => backend/proxy/LICENSE | 0 README.md => backend/proxy/README.md | 0 {bin => backend/proxy/bin}/run-docker.sh | 0 {config => backend/proxy/config}/RECIPIENTS | 0 {config => backend/proxy/config}/default.ts | 0 {fixtures => backend/proxy/fixtures}/cors.template | 0 {fixtures => backend/proxy/fixtures}/hiddenRoute.template | 0 {fixtures => backend/proxy/fixtures}/logFormatters.template | 0 {fixtures => backend/proxy/fixtures}/metrics.template | 0 {fixtures => backend/proxy/fixtures}/staticRoute.template | 0 {fixtures => backend/proxy/fixtures}/visibleRoute.template | 0 nginx.conf => backend/proxy/nginx.conf | 0 nginx.conf.template => backend/proxy/nginx.conf.template | 0 package-lock.json => backend/proxy/package-lock.json | 0 package.json => backend/proxy/package.json | 0 {src => backend/proxy/src}/cli.ts | 0 {src => backend/proxy/src}/common.ts | 0 {src => backend/proxy/src}/main.ts | 0 {systemd => backend/proxy/systemd}/stapps-proxy.service | 0 {systemd => backend/proxy/systemd}/stapps-unit-status-mail.sh | 0 .../proxy/systemd}/stapps-unit-status-mail@.service | 0 {test => backend/proxy/test}/common.spec.ts | 0 {test => backend/proxy/test}/main.spec.ts | 0 tsconfig.json => backend/proxy/tsconfig.json | 0 34 files changed, 0 insertions(+), 0 deletions(-) rename .dockerignore => backend/proxy/.dockerignore (100%) rename .editorconfig => backend/proxy/.editorconfig (100%) rename .eslintrc.json => backend/proxy/.eslintrc.json (100%) rename .gitignore => backend/proxy/.gitignore (100%) rename .gitlab-ci.yml => backend/proxy/.gitlab-ci.yml (100%) rename {.gitlab => backend/proxy/.gitlab}/issue_templates/bug.md (100%) rename {.gitlab => backend/proxy/.gitlab}/issue_templates/feature.md (100%) rename .npmignore => backend/proxy/.npmignore (100%) rename CHANGELOG.md => backend/proxy/CHANGELOG.md (100%) rename Dockerfile => backend/proxy/Dockerfile (100%) rename LICENSE => backend/proxy/LICENSE (100%) rename README.md => backend/proxy/README.md (100%) rename {bin => backend/proxy/bin}/run-docker.sh (100%) rename {config => backend/proxy/config}/RECIPIENTS (100%) rename {config => backend/proxy/config}/default.ts (100%) rename {fixtures => backend/proxy/fixtures}/cors.template (100%) rename {fixtures => backend/proxy/fixtures}/hiddenRoute.template (100%) rename {fixtures => backend/proxy/fixtures}/logFormatters.template (100%) rename {fixtures => backend/proxy/fixtures}/metrics.template (100%) rename {fixtures => backend/proxy/fixtures}/staticRoute.template (100%) rename {fixtures => backend/proxy/fixtures}/visibleRoute.template (100%) rename nginx.conf => backend/proxy/nginx.conf (100%) rename nginx.conf.template => backend/proxy/nginx.conf.template (100%) rename package-lock.json => backend/proxy/package-lock.json (100%) rename package.json => backend/proxy/package.json (100%) rename {src => backend/proxy/src}/cli.ts (100%) rename {src => backend/proxy/src}/common.ts (100%) rename {src => backend/proxy/src}/main.ts (100%) rename {systemd => backend/proxy/systemd}/stapps-proxy.service (100%) rename {systemd => backend/proxy/systemd}/stapps-unit-status-mail.sh (100%) rename {systemd => backend/proxy/systemd}/stapps-unit-status-mail@.service (100%) rename {test => backend/proxy/test}/common.spec.ts (100%) rename {test => backend/proxy/test}/main.spec.ts (100%) rename tsconfig.json => backend/proxy/tsconfig.json (100%) diff --git a/.dockerignore b/backend/proxy/.dockerignore similarity index 100% rename from .dockerignore rename to backend/proxy/.dockerignore diff --git a/.editorconfig b/backend/proxy/.editorconfig similarity index 100% rename from .editorconfig rename to backend/proxy/.editorconfig diff --git a/.eslintrc.json b/backend/proxy/.eslintrc.json similarity index 100% rename from .eslintrc.json rename to backend/proxy/.eslintrc.json diff --git a/.gitignore b/backend/proxy/.gitignore similarity index 100% rename from .gitignore rename to backend/proxy/.gitignore diff --git a/.gitlab-ci.yml b/backend/proxy/.gitlab-ci.yml similarity index 100% rename from .gitlab-ci.yml rename to backend/proxy/.gitlab-ci.yml diff --git a/.gitlab/issue_templates/bug.md b/backend/proxy/.gitlab/issue_templates/bug.md similarity index 100% rename from .gitlab/issue_templates/bug.md rename to backend/proxy/.gitlab/issue_templates/bug.md diff --git a/.gitlab/issue_templates/feature.md b/backend/proxy/.gitlab/issue_templates/feature.md similarity index 100% rename from .gitlab/issue_templates/feature.md rename to backend/proxy/.gitlab/issue_templates/feature.md diff --git a/.npmignore b/backend/proxy/.npmignore similarity index 100% rename from .npmignore rename to backend/proxy/.npmignore diff --git a/CHANGELOG.md b/backend/proxy/CHANGELOG.md similarity index 100% rename from CHANGELOG.md rename to backend/proxy/CHANGELOG.md diff --git a/Dockerfile b/backend/proxy/Dockerfile similarity index 100% rename from Dockerfile rename to backend/proxy/Dockerfile diff --git a/LICENSE b/backend/proxy/LICENSE similarity index 100% rename from LICENSE rename to backend/proxy/LICENSE diff --git a/README.md b/backend/proxy/README.md similarity index 100% rename from README.md rename to backend/proxy/README.md diff --git a/bin/run-docker.sh b/backend/proxy/bin/run-docker.sh similarity index 100% rename from bin/run-docker.sh rename to backend/proxy/bin/run-docker.sh diff --git a/config/RECIPIENTS b/backend/proxy/config/RECIPIENTS similarity index 100% rename from config/RECIPIENTS rename to backend/proxy/config/RECIPIENTS diff --git a/config/default.ts b/backend/proxy/config/default.ts similarity index 100% rename from config/default.ts rename to backend/proxy/config/default.ts diff --git a/fixtures/cors.template b/backend/proxy/fixtures/cors.template similarity index 100% rename from fixtures/cors.template rename to backend/proxy/fixtures/cors.template diff --git a/fixtures/hiddenRoute.template b/backend/proxy/fixtures/hiddenRoute.template similarity index 100% rename from fixtures/hiddenRoute.template rename to backend/proxy/fixtures/hiddenRoute.template diff --git a/fixtures/logFormatters.template b/backend/proxy/fixtures/logFormatters.template similarity index 100% rename from fixtures/logFormatters.template rename to backend/proxy/fixtures/logFormatters.template diff --git a/fixtures/metrics.template b/backend/proxy/fixtures/metrics.template similarity index 100% rename from fixtures/metrics.template rename to backend/proxy/fixtures/metrics.template diff --git a/fixtures/staticRoute.template b/backend/proxy/fixtures/staticRoute.template similarity index 100% rename from fixtures/staticRoute.template rename to backend/proxy/fixtures/staticRoute.template diff --git a/fixtures/visibleRoute.template b/backend/proxy/fixtures/visibleRoute.template similarity index 100% rename from fixtures/visibleRoute.template rename to backend/proxy/fixtures/visibleRoute.template diff --git a/nginx.conf b/backend/proxy/nginx.conf similarity index 100% rename from nginx.conf rename to backend/proxy/nginx.conf diff --git a/nginx.conf.template b/backend/proxy/nginx.conf.template similarity index 100% rename from nginx.conf.template rename to backend/proxy/nginx.conf.template diff --git a/package-lock.json b/backend/proxy/package-lock.json similarity index 100% rename from package-lock.json rename to backend/proxy/package-lock.json diff --git a/package.json b/backend/proxy/package.json similarity index 100% rename from package.json rename to backend/proxy/package.json diff --git a/src/cli.ts b/backend/proxy/src/cli.ts similarity index 100% rename from src/cli.ts rename to backend/proxy/src/cli.ts diff --git a/src/common.ts b/backend/proxy/src/common.ts similarity index 100% rename from src/common.ts rename to backend/proxy/src/common.ts diff --git a/src/main.ts b/backend/proxy/src/main.ts similarity index 100% rename from src/main.ts rename to backend/proxy/src/main.ts diff --git a/systemd/stapps-proxy.service b/backend/proxy/systemd/stapps-proxy.service similarity index 100% rename from systemd/stapps-proxy.service rename to backend/proxy/systemd/stapps-proxy.service diff --git a/systemd/stapps-unit-status-mail.sh b/backend/proxy/systemd/stapps-unit-status-mail.sh similarity index 100% rename from systemd/stapps-unit-status-mail.sh rename to backend/proxy/systemd/stapps-unit-status-mail.sh diff --git a/systemd/stapps-unit-status-mail@.service b/backend/proxy/systemd/stapps-unit-status-mail@.service similarity index 100% rename from systemd/stapps-unit-status-mail@.service rename to backend/proxy/systemd/stapps-unit-status-mail@.service diff --git a/test/common.spec.ts b/backend/proxy/test/common.spec.ts similarity index 100% rename from test/common.spec.ts rename to backend/proxy/test/common.spec.ts diff --git a/test/main.spec.ts b/backend/proxy/test/main.spec.ts similarity index 100% rename from test/main.spec.ts rename to backend/proxy/test/main.spec.ts diff --git a/tsconfig.json b/backend/proxy/tsconfig.json similarity index 100% rename from tsconfig.json rename to backend/proxy/tsconfig.json