From eb26e949c6779b193bd5757be326e77aab35710d Mon Sep 17 00:00:00 2001 From: Harshit Joshi Date: Thu, 8 Jun 2023 08:17:10 +0000 Subject: [PATCH 1/6] converting to vite --- .gitpod.yml | 11 +++++++++++ public/index.html => index.html | 5 +++-- package.json | 16 +++++++++------- src/{App.js => App.jsx} | 0 .../{colorModeToggle.js => colorModeToggle.jsx} | 0 src/components/{footer.js => footer.jsx} | 0 src/components/{link.js => link.jsx} | 0 src/components/{loginForm.js => loginForm.jsx} | 0 src/components/{navbar.js => navbar.jsx} | 0 .../{registerForm.js => registerForm.jsx} | 0 src/{index.js => index.jsx} | 0 src/lib/{auth.js => auth.jsx} | 0 src/pages/emailSent.jsx | 4 ++-- src/pages/{login.js => login.jsx} | 0 src/pages/{logout.js => logout.jsx} | 0 src/pages/{register.js => register.jsx} | 0 vite.config.js | 9 +++++++++ 17 files changed, 34 insertions(+), 11 deletions(-) create mode 100644 .gitpod.yml rename public/index.html => index.html (94%) rename src/{App.js => App.jsx} (100%) rename src/components/{colorModeToggle.js => colorModeToggle.jsx} (100%) rename src/components/{footer.js => footer.jsx} (100%) rename src/components/{link.js => link.jsx} (100%) rename src/components/{loginForm.js => loginForm.jsx} (100%) rename src/components/{navbar.js => navbar.jsx} (100%) rename src/components/{registerForm.js => registerForm.jsx} (100%) rename src/{index.js => index.jsx} (100%) rename src/lib/{auth.js => auth.jsx} (100%) rename src/pages/{login.js => login.jsx} (100%) rename src/pages/{logout.js => logout.jsx} (100%) rename src/pages/{register.js => register.jsx} (100%) create mode 100644 vite.config.js diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..e43643f --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,11 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: npm install && npm run build + command: npm run start + + diff --git a/public/index.html b/index.html similarity index 94% rename from public/index.html rename to index.html index 5e02674..854a1da 100644 --- a/public/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + Poll It Up - +