From 4abfdb99297ca0cbe294fcecb8fcb61b44e2cc76 Mon Sep 17 00:00:00 2001 From: Danielle Mayabb Date: Wed, 26 Jul 2023 11:54:41 -0700 Subject: [PATCH] Rename outer folder for frontend Since there is an inner 'src' folder, renaming this will alleviate confusion --- .gitignore | 2 +- {src => frontend}/.env.example | 0 {src => frontend}/.eslintrc.cjs | 0 {src => frontend}/.gitignore | 0 {src => frontend}/.prettier.json | 0 {src => frontend}/index.html | 0 {src => frontend}/package-lock.json | 0 {src => frontend}/package.json | 0 {src => frontend}/src/App.jsx | 0 {src => frontend}/src/Error.jsx | 0 {src => frontend}/src/Main.jsx | 0 {src => frontend}/src/routes/Auth.jsx | 0 {src => frontend}/src/routes/AuthorizedRoute.jsx | 0 {src => frontend}/src/routes/Dedications.jsx | 0 {src => frontend}/src/routes/Home.jsx | 0 {src => frontend}/src/routes/Layout.jsx | 0 {src => frontend}/src/utils/ApiClient.jsx | 0 {src => frontend}/vite.config.js | 2 +- 18 files changed, 2 insertions(+), 2 deletions(-) rename {src => frontend}/.env.example (100%) rename {src => frontend}/.eslintrc.cjs (100%) rename {src => frontend}/.gitignore (100%) rename {src => frontend}/.prettier.json (100%) rename {src => frontend}/index.html (100%) rename {src => frontend}/package-lock.json (100%) rename {src => frontend}/package.json (100%) rename {src => frontend}/src/App.jsx (100%) rename {src => frontend}/src/Error.jsx (100%) rename {src => frontend}/src/Main.jsx (100%) rename {src => frontend}/src/routes/Auth.jsx (100%) rename {src => frontend}/src/routes/AuthorizedRoute.jsx (100%) rename {src => frontend}/src/routes/Dedications.jsx (100%) rename {src => frontend}/src/routes/Home.jsx (100%) rename {src => frontend}/src/routes/Layout.jsx (100%) rename {src => frontend}/src/utils/ApiClient.jsx (100%) rename {src => frontend}/vite.config.js (87%) diff --git a/.gitignore b/.gitignore index aface5be2..ffcc6bdc9 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ config/config.defaults .env docker/.env -src/node_modules +frontend/node_modules #minified JS and source maps *.min.js diff --git a/src/.env.example b/frontend/.env.example similarity index 100% rename from src/.env.example rename to frontend/.env.example diff --git a/src/.eslintrc.cjs b/frontend/.eslintrc.cjs similarity index 100% rename from src/.eslintrc.cjs rename to frontend/.eslintrc.cjs diff --git a/src/.gitignore b/frontend/.gitignore similarity index 100% rename from src/.gitignore rename to frontend/.gitignore diff --git a/src/.prettier.json b/frontend/.prettier.json similarity index 100% rename from src/.prettier.json rename to frontend/.prettier.json diff --git a/src/index.html b/frontend/index.html similarity index 100% rename from src/index.html rename to frontend/index.html diff --git a/src/package-lock.json b/frontend/package-lock.json similarity index 100% rename from src/package-lock.json rename to frontend/package-lock.json diff --git a/src/package.json b/frontend/package.json similarity index 100% rename from src/package.json rename to frontend/package.json diff --git a/src/src/App.jsx b/frontend/src/App.jsx similarity index 100% rename from src/src/App.jsx rename to frontend/src/App.jsx diff --git a/src/src/Error.jsx b/frontend/src/Error.jsx similarity index 100% rename from src/src/Error.jsx rename to frontend/src/Error.jsx diff --git a/src/src/Main.jsx b/frontend/src/Main.jsx similarity index 100% rename from src/src/Main.jsx rename to frontend/src/Main.jsx diff --git a/src/src/routes/Auth.jsx b/frontend/src/routes/Auth.jsx similarity index 100% rename from src/src/routes/Auth.jsx rename to frontend/src/routes/Auth.jsx diff --git a/src/src/routes/AuthorizedRoute.jsx b/frontend/src/routes/AuthorizedRoute.jsx similarity index 100% rename from src/src/routes/AuthorizedRoute.jsx rename to frontend/src/routes/AuthorizedRoute.jsx diff --git a/src/src/routes/Dedications.jsx b/frontend/src/routes/Dedications.jsx similarity index 100% rename from src/src/routes/Dedications.jsx rename to frontend/src/routes/Dedications.jsx diff --git a/src/src/routes/Home.jsx b/frontend/src/routes/Home.jsx similarity index 100% rename from src/src/routes/Home.jsx rename to frontend/src/routes/Home.jsx diff --git a/src/src/routes/Layout.jsx b/frontend/src/routes/Layout.jsx similarity index 100% rename from src/src/routes/Layout.jsx rename to frontend/src/routes/Layout.jsx diff --git a/src/src/utils/ApiClient.jsx b/frontend/src/utils/ApiClient.jsx similarity index 100% rename from src/src/utils/ApiClient.jsx rename to frontend/src/utils/ApiClient.jsx diff --git a/src/vite.config.js b/frontend/vite.config.js similarity index 87% rename from src/vite.config.js rename to frontend/vite.config.js index 957f22bf3..b3b43e115 100644 --- a/src/vite.config.js +++ b/frontend/vite.config.js @@ -13,7 +13,7 @@ export default defineConfig({ }, resolve: { alias: { - '@': fileURLToPath(new URL('/src', import.meta.url)) + '@': fileURLToPath(new URL('/frontend', import.meta.url)) } } // server: {