Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Vite branch #1647

Merged
merged 69 commits into from
Aug 20, 2024
Merged

Merge Vite branch #1647

merged 69 commits into from
Aug 20, 2024

Conversation

trillium
Copy link
Member

Fixes #1639

Overview

Switching off Create React App to Vite is recommended, and allows us to get a hold of security vulnerabilities and use tools like ESLint without as much of a configuration hassle. It will also let us resume using dependabot.

Merging this branch will require devs to reinstall dependencies in /client.

What changes did you make and why did you make them ?

  • Switch to node 18
  • Upgrade github actions to work with vite
  • Move components to jsx as vite requirement
  • change .nvmrc to 18
  • Many other minor changes to confrm to vite build system

Screenshots of Proposed Changes Of The Website

No visual changes

trillium and others added 30 commits July 15, 2023 21:45
* Add proxy to backend via .env vars
* Configure output dir to be same as create-react-app
* Does not replace old start command yet
chore: Add "engines" and specifcy node 18+
chore: Move Vite out of dev dependencies
Cofix: Add step to specify more current node
fix: Swap to node:18.alpine, remove 'npm i- g npm'
fix: Change to alpine:3.14 in Dockerfile.prod
wip: Update to node:20-alpine in Dockerfile.prod
Copy link

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b Spiteless-vite development
git pull https://github.com/Spiteless/VRMS.git vite

@JackHaeg
Copy link
Member

@spiteless & @jbubar to meet on Friday at 3pm to review together

@jbubar jbubar merged commit f89f90d into hackforla:development Aug 20, 2024
2 of 5 checks passed
@jbubar
Copy link
Member

jbubar commented Aug 20, 2024

Josh did it. blame him if things are broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch from Create-React-App (CRA) to Vite
4 participants