From 35b21b7b6bdd6cbff6d0f05fa2afeac89bd18f53 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Tue, 26 Sep 2023 15:16:48 -0700 Subject: [PATCH] Move frontend to a subdirectory --- .woodpecker.yml | 2 ++ .eslintignore => lure-frontend/.eslintignore | 0 .eslintrc.cjs => lure-frontend/.eslintrc.cjs | 0 .gitignore => lure-frontend/.gitignore | 0 .npmrc => lure-frontend/.npmrc | 0 .prettierignore => lure-frontend/.prettierignore | 0 .prettierrc => lure-frontend/.prettierrc | 0 LICENSE => lure-frontend/LICENSE | 0 .../package-lock.json | 0 package.json => lure-frontend/package.json | 0 {src => lure-frontend/src}/app.d.ts | 0 {src => lure-frontend/src}/app.html | 0 {src => lure-frontend/src}/app.scss | 0 {src => lure-frontend/src}/darkly/overrides.scss | 0 {src => lure-frontend/src}/darkly/variables.scss | 0 {src => lure-frontend/src}/lib/lure.pb.ts | 0 {src => lure-frontend/src}/routes/+layout.svelte | 0 {src => lure-frontend/src}/routes/+page.svelte | 0 .../src}/routes/about/+page.svelte | 0 {src => lure-frontend/src}/routes/footer.svelte | 0 {src => lure-frontend/src}/routes/header.svelte | 0 .../src}/routes/icons/+page.svelte | 0 .../src}/routes/install/+page.server.js | 0 .../src}/routes/pkg/[repo]/[name]/+page.svelte | 0 .../routes/pkg/[repo]/[name]/lure.sh/+page.svelte | 0 {src => lure-frontend/src}/routes/pkgs/+page.svelte | 0 {src => lure-frontend/src}/stores.js | 0 {src => lure-frontend/src}/variables.scss | 0 {static => lure-frontend/static}/favicon.png | Bin {static => lure-frontend/static}/lure-no-text.svg | 0 .../static}/lure-text-white.svg | 0 {static => lure-frontend/static}/lure-text.svg | 0 svelte.config.js => lure-frontend/svelte.config.js | 0 template.nomad => lure-frontend/template.nomad | 0 tsconfig.json => lure-frontend/tsconfig.json | 0 vite.config.js => lure-frontend/vite.config.js | 0 36 files changed, 2 insertions(+) rename .eslintignore => lure-frontend/.eslintignore (100%) rename .eslintrc.cjs => lure-frontend/.eslintrc.cjs (100%) rename .gitignore => lure-frontend/.gitignore (100%) rename .npmrc => lure-frontend/.npmrc (100%) rename .prettierignore => lure-frontend/.prettierignore (100%) rename .prettierrc => lure-frontend/.prettierrc (100%) rename LICENSE => lure-frontend/LICENSE (100%) rename package-lock.json => lure-frontend/package-lock.json (100%) rename package.json => lure-frontend/package.json (100%) rename {src => lure-frontend/src}/app.d.ts (100%) rename {src => lure-frontend/src}/app.html (100%) rename {src => lure-frontend/src}/app.scss (100%) rename {src => lure-frontend/src}/darkly/overrides.scss (100%) rename {src => lure-frontend/src}/darkly/variables.scss (100%) rename {src => lure-frontend/src}/lib/lure.pb.ts (100%) rename {src => lure-frontend/src}/routes/+layout.svelte (100%) rename {src => lure-frontend/src}/routes/+page.svelte (100%) rename {src => lure-frontend/src}/routes/about/+page.svelte (100%) rename {src => lure-frontend/src}/routes/footer.svelte (100%) rename {src => lure-frontend/src}/routes/header.svelte (100%) rename {src => lure-frontend/src}/routes/icons/+page.svelte (100%) rename {src => lure-frontend/src}/routes/install/+page.server.js (100%) rename {src => lure-frontend/src}/routes/pkg/[repo]/[name]/+page.svelte (100%) rename {src => lure-frontend/src}/routes/pkg/[repo]/[name]/lure.sh/+page.svelte (100%) rename {src => lure-frontend/src}/routes/pkgs/+page.svelte (100%) rename {src => lure-frontend/src}/stores.js (100%) rename {src => lure-frontend/src}/variables.scss (100%) rename {static => lure-frontend/static}/favicon.png (100%) rename {static => lure-frontend/static}/lure-no-text.svg (100%) rename {static => lure-frontend/static}/lure-text-white.svg (100%) rename {static => lure-frontend/static}/lure-text.svg (100%) rename svelte.config.js => lure-frontend/svelte.config.js (100%) rename template.nomad => lure-frontend/template.nomad (100%) rename tsconfig.json => lure-frontend/tsconfig.json (100%) rename vite.config.js => lure-frontend/vite.config.js (100%) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2a93771..1fb90fc 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,6 +2,7 @@ platform: linux/amd64 steps: build-frontend: image: gitea.elara.ws/elara6331/node + directory: lure-frontend environment: - LURE_WEB_API_URL=https://api.lure.elara.ws commands: @@ -14,6 +15,7 @@ steps: publish-frontend: image: gitea.elara.ws/elara6331/crane secrets: [ registry_password ] + directory: lure-frontend commands: - export HOME=/home/nonroot - crane auth login gitea.elara.ws -u Elara6331 -p "$${REGISTRY_PASSWORD}" diff --git a/.eslintignore b/lure-frontend/.eslintignore similarity index 100% rename from .eslintignore rename to lure-frontend/.eslintignore diff --git a/.eslintrc.cjs b/lure-frontend/.eslintrc.cjs similarity index 100% rename from .eslintrc.cjs rename to lure-frontend/.eslintrc.cjs diff --git a/.gitignore b/lure-frontend/.gitignore similarity index 100% rename from .gitignore rename to lure-frontend/.gitignore diff --git a/.npmrc b/lure-frontend/.npmrc similarity index 100% rename from .npmrc rename to lure-frontend/.npmrc diff --git a/.prettierignore b/lure-frontend/.prettierignore similarity index 100% rename from .prettierignore rename to lure-frontend/.prettierignore diff --git a/.prettierrc b/lure-frontend/.prettierrc similarity index 100% rename from .prettierrc rename to lure-frontend/.prettierrc diff --git a/LICENSE b/lure-frontend/LICENSE similarity index 100% rename from LICENSE rename to lure-frontend/LICENSE diff --git a/package-lock.json b/lure-frontend/package-lock.json similarity index 100% rename from package-lock.json rename to lure-frontend/package-lock.json diff --git a/package.json b/lure-frontend/package.json similarity index 100% rename from package.json rename to lure-frontend/package.json diff --git a/src/app.d.ts b/lure-frontend/src/app.d.ts similarity index 100% rename from src/app.d.ts rename to lure-frontend/src/app.d.ts diff --git a/src/app.html b/lure-frontend/src/app.html similarity index 100% rename from src/app.html rename to lure-frontend/src/app.html diff --git a/src/app.scss b/lure-frontend/src/app.scss similarity index 100% rename from src/app.scss rename to lure-frontend/src/app.scss diff --git a/src/darkly/overrides.scss b/lure-frontend/src/darkly/overrides.scss similarity index 100% rename from src/darkly/overrides.scss rename to lure-frontend/src/darkly/overrides.scss diff --git a/src/darkly/variables.scss b/lure-frontend/src/darkly/variables.scss similarity index 100% rename from src/darkly/variables.scss rename to lure-frontend/src/darkly/variables.scss diff --git a/src/lib/lure.pb.ts b/lure-frontend/src/lib/lure.pb.ts similarity index 100% rename from src/lib/lure.pb.ts rename to lure-frontend/src/lib/lure.pb.ts diff --git a/src/routes/+layout.svelte b/lure-frontend/src/routes/+layout.svelte similarity index 100% rename from src/routes/+layout.svelte rename to lure-frontend/src/routes/+layout.svelte diff --git a/src/routes/+page.svelte b/lure-frontend/src/routes/+page.svelte similarity index 100% rename from src/routes/+page.svelte rename to lure-frontend/src/routes/+page.svelte diff --git a/src/routes/about/+page.svelte b/lure-frontend/src/routes/about/+page.svelte similarity index 100% rename from src/routes/about/+page.svelte rename to lure-frontend/src/routes/about/+page.svelte diff --git a/src/routes/footer.svelte b/lure-frontend/src/routes/footer.svelte similarity index 100% rename from src/routes/footer.svelte rename to lure-frontend/src/routes/footer.svelte diff --git a/src/routes/header.svelte b/lure-frontend/src/routes/header.svelte similarity index 100% rename from src/routes/header.svelte rename to lure-frontend/src/routes/header.svelte diff --git a/src/routes/icons/+page.svelte b/lure-frontend/src/routes/icons/+page.svelte similarity index 100% rename from src/routes/icons/+page.svelte rename to lure-frontend/src/routes/icons/+page.svelte diff --git a/src/routes/install/+page.server.js b/lure-frontend/src/routes/install/+page.server.js similarity index 100% rename from src/routes/install/+page.server.js rename to lure-frontend/src/routes/install/+page.server.js diff --git a/src/routes/pkg/[repo]/[name]/+page.svelte b/lure-frontend/src/routes/pkg/[repo]/[name]/+page.svelte similarity index 100% rename from src/routes/pkg/[repo]/[name]/+page.svelte rename to lure-frontend/src/routes/pkg/[repo]/[name]/+page.svelte diff --git a/src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte b/lure-frontend/src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte similarity index 100% rename from src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte rename to lure-frontend/src/routes/pkg/[repo]/[name]/lure.sh/+page.svelte diff --git a/src/routes/pkgs/+page.svelte b/lure-frontend/src/routes/pkgs/+page.svelte similarity index 100% rename from src/routes/pkgs/+page.svelte rename to lure-frontend/src/routes/pkgs/+page.svelte diff --git a/src/stores.js b/lure-frontend/src/stores.js similarity index 100% rename from src/stores.js rename to lure-frontend/src/stores.js diff --git a/src/variables.scss b/lure-frontend/src/variables.scss similarity index 100% rename from src/variables.scss rename to lure-frontend/src/variables.scss diff --git a/static/favicon.png b/lure-frontend/static/favicon.png similarity index 100% rename from static/favicon.png rename to lure-frontend/static/favicon.png diff --git a/static/lure-no-text.svg b/lure-frontend/static/lure-no-text.svg similarity index 100% rename from static/lure-no-text.svg rename to lure-frontend/static/lure-no-text.svg diff --git a/static/lure-text-white.svg b/lure-frontend/static/lure-text-white.svg similarity index 100% rename from static/lure-text-white.svg rename to lure-frontend/static/lure-text-white.svg diff --git a/static/lure-text.svg b/lure-frontend/static/lure-text.svg similarity index 100% rename from static/lure-text.svg rename to lure-frontend/static/lure-text.svg diff --git a/svelte.config.js b/lure-frontend/svelte.config.js similarity index 100% rename from svelte.config.js rename to lure-frontend/svelte.config.js diff --git a/template.nomad b/lure-frontend/template.nomad similarity index 100% rename from template.nomad rename to lure-frontend/template.nomad diff --git a/tsconfig.json b/lure-frontend/tsconfig.json similarity index 100% rename from tsconfig.json rename to lure-frontend/tsconfig.json diff --git a/vite.config.js b/lure-frontend/vite.config.js similarity index 100% rename from vite.config.js rename to lure-frontend/vite.config.js