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 #3062

Closed
2 of 3 tasks
akucharska opened this issue Jul 12, 2024 · 1 comment · Fixed by #3334
Closed
2 of 3 tasks

Migrate from create-react-app to Vite #3062

akucharska opened this issue Jul 12, 2024 · 1 comment · Fixed by #3334
Assignees

Comments

@akucharska
Copy link
Contributor

akucharska commented Jul 12, 2024

Description
Remove react-scripts and other create-react-app packages from Busola

**Acceptance Criteria **

Reasons

create-react-app is no longer supported. The packages it provides might introduce vulnerabilities into our code. Therefore we should migrate busola to a different solution.

@mrCherry97
Copy link
Contributor

mrCherry97 commented Sep 8, 2024

The final decision is to migrate to Vite
Vite POC: #3323
in case we decide to go with Vite:

  • icon of the app is not working
  • relative imports need to be changed to "normal" state/authAtom -> ../../state/autoAtom
  • build needs to be fixed (imports are causing build failure)
  • unit tests need to be configured (actually Jest is trying to run all of the test cases also from Cypress etc)
  • imports in unit tests need to be fixed
  • Cypress tests need to be checked after working builds

Useful links:

@mrCherry97 mrCherry97 changed the title TECHNICAL TASK: Migrate from create-react-app to something else Migrate from create-react-app to Vite Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants