build: Replace create-react-app with vite, upgrade frontend.
This merge request removes reliance on create-react-app, which has been abandoned for a couple of years now. It also upgrades several frontend libraries and moves us over to Vite as our build/devserver tool.
This merge request fixes all errors in all tests, so we should have a clean build and clear test output, except for React complaining of an issue with the nesting of particular elements, which is preexisting and out of scope for these changes.
Supporting information
Dependencies
Visual changes
There should be none. If there are, it's a bug.
Testing instructions
Step by step procedure
- Clone this branch
make destroy
make
-
make test.frontend
-- verify that the output is clean for the frontend. -
make run.frontend
and visit http://localhost:3000/ - Check all major frontend interaction points like:
- Login
- Logout
- Forgot password
- List management
- Filling out and submitting checklists
- Reports ...and verify that nothing appears mangled.
Edited by Fox Piacenti