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

Migrate from Create-React-App to Vite #1871

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

fritzfr
Copy link

@fritzfr fritzfr commented Sep 14, 2023

This PR replaces the recently deprecated Create-React-App (react-scripts) with Vite.
This also allows to upgrade Typescript afterwards (#1841).

@fritzfr fritzfr changed the title Migrate from CRA to Vite Migrate from Create-React-App to Vite Sep 14, 2023
@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Merging #1871 (5f962b8) into master (385437e) will not change coverage.
Report is 34 commits behind head on master.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1871   +/-   ##
=======================================
  Coverage   74.15%   74.15%           
=======================================
  Files           7        7           
  Lines         561      561           
=======================================
  Hits          416      416           
  Misses        113      113           
  Partials       32       32           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Owner

@jhaals jhaals left a comment

Choose a reason for hiding this comment

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

Very nice to see this change! 👏

Just some small tweaks required by prettier and then let's ship this!

"start": "react-scripts start",
"build": "react-scripts build",
"start": "vite --host",
"build": "vite",
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
"build": "vite",
"build": "vite build",

Copy link
Author

Choose a reason for hiding this comment

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

Check the updated diff 👍

@jhaals jhaals merged commit 1193ce7 into jhaals:master Sep 17, 2023
10 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.

3 participants