Skip to content

build: Replace create-react-app with vite, upgrade frontend.

Fox Piacenti requested to merge fox/remove-create-react-app into master

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

providence!18 (merged)

Visual changes

There should be none. If there are, it's a bug.

Testing instructions

Step by step procedure

  1. Clone this branch
  2. make destroy
  3. make
  4. make test.frontend -- verify that the output is clean for the frontend.
  5. make run.frontend and visit http://localhost:3000/
  6. 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

Merge request reports