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

move off of cra to vite #96

Merged
merged 7 commits into from
Dec 10, 2024
Merged

move off of cra to vite #96

merged 7 commits into from
Dec 10, 2024

Conversation

dtemkin1
Copy link
Collaborator

@dtemkin1 dtemkin1 commented Dec 8, 2024

Working with CRA is a bit of a pain and there's been work to move off of it. I didn't update #57 since that involves the creation of a backend server too (which involves setting up XVM and all that) and this is more of an instant change, although rebasing that PR too would be good (maybe over IAP when ppl have more time?).

This PR moves off of CRA and moves to Vite. This also involves having to recreate some of the tooling integrated into CRA, such as an eslint config (a lot of the diffs in component files were issues flagged by tseslint that weren't being checked before). I didn't really have to change the workings of any components, which was nice. This issue also resolves all the security vulnerabilities found when running npm install, and also closes #89.

Doing this would probably make anything we want to do in the future, such as adding tests (which can be done with Vitest) or integrating a backend server (which can be done using a plugin), a bit easier.

@dtemkin1 dtemkin1 requested a review from psvenk December 8, 2024 00:29
vite.config.ts Outdated Show resolved Hide resolved
tsconfig.json Show resolved Hide resolved
Copy link
Member

@psvenk psvenk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this; it looks good to me overall, aside from a few comments.

README.md Show resolved Hide resolved
tsconfig.app.json Outdated Show resolved Hide resolved
.env Show resolved Hide resolved
vite.config.ts Outdated Show resolved Hide resolved
tsconfig.json Show resolved Hide resolved
@psvenk psvenk requested a review from 101arrowz December 8, 2024 05:31
@dtemkin1 dtemkin1 requested a review from psvenk December 9, 2024 21:47
@dtemkin1 dtemkin1 merged commit 4530b67 into sipb:main Dec 10, 2024
3 checks passed
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.

npm start / npm build don't type check
3 participants