headlamp
headlamp copied to clipboard
Replace CRA (create-react-app)
CRA seems to be inactive/unmaintained. So we should move to another solution in order to keep getting updates. Maybe Vite is the solution but not at all a drop-in replacement. So anything that doesn't require rewiring the whole app would be good.
Acceptance Criteria:
- [x] We have a chosen solution to replace CRA
- [x] Running Headlamp in dev mode is possible with the new solution
- [x] Building Headlamp for production is possible with the new solution
Open issues/PRs
- [ ] https://github.com/headlamp-k8s/headlamp/issues/2125 (mocking of API calls in test runner still open)
- [ ] https://github.com/headlamp-k8s/headlamp/pull/2001