bulletproof-react
bulletproof-react copied to clipboard
Migrate to more modern toolset (Vite, Vitest, Playwright) + Upgrade dependencies
Considering the fact that the project was built almost 3 years ago, it was about the time to revisit it and make the necessary updates. This PR includes the following changes:
- All packages have been upgraded to their latest major versions (except ESLint which was upgraded to v8, let's wait for v9 a bit)
- Switching from CRA to Vite, which was the most requested and the most obvious change.
- Switching from Jest to Vitest, since Vitest integrates well with the Vite setup, is more maintained and there are far fewer issues.
- Switching from Cypress to Playwright which is a more powerful and modern e2e-testing tool.
- Storing auth token in cookie over localStorage.
- Validating env variables with zod.
- Updating UI by moving to using ShadCN UI
- Switching to kebab case files for all files
Deploy Preview for bulletproof-react-app ready!
| Name | Link |
|---|---|
| Latest commit | 1fb422b00f48198140b092f6ad4dac6b68379677 |
| Latest deploy log | https://app.netlify.com/sites/bulletproof-react-app/deploys/66430737ce966200083e7410 |
| Deploy Preview | https://deploy-preview-152--bulletproof-react-app.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
This is great