Skip to content

1541 update node migrate cra to vite #2

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

Merged
merged 17 commits into from
Jun 6, 2024

Conversation

sinejespersen
Copy link

@sinejespersen sinejespersen commented Jun 3, 2024

Link to ticket

https://leantime.itkdev.dk/dashboard/home#/tickets/showTicket/1541

Description

As it seems CRA is no longer being maintained by fb, I am migrating to Vite.

  • upgrade node from 14 -> 20
  • yarn upgrade
  • remote unused dependencies (test-stuff)
  • move frem CRA/react-app-rewired -> Vite
  • This pr breaks the cypress tests, but they will be changed to playwright-tests in a later pr.

Screenshot of the result

n/a

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

If your code does not pass all the requirements on the checklist you have to add a comment explaining why this change
should be exempt from the list.

Additional comments or questions

TODO

  • Remove 3000 in docker compose file
  • Remove healtcheck in docker compose file

@sinejespersen sinejespersen force-pushed the feature/1541-update-node-migrate-CRA-to-vite branch from 36da403 to 4743c03 Compare June 3, 2024 10:30
@sinejespersen sinejespersen requested a review from tuj June 4, 2024 11:12
@@ -1,38 +0,0 @@
<!DOCTYPE html>
Copy link

Choose a reason for hiding this comment

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

The change in path to index.html will necessitate changes in the hosting setup.

Choose a reason for hiding this comment

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

Not sure. This is purely the dev setup. Question is if the output of the build step changes?

@sinejespersen sinejespersen merged commit 00955c1 into develop Jun 6, 2024
@sinejespersen sinejespersen deleted the feature/1541-update-node-migrate-CRA-to-vite branch June 6, 2024 08:32
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