Since CRA is no longer maintained, this PR aims to migrate this project from using react-scripts to Vite. Also, migrates the project to ESM (type=module).
Doing so also fixes almost all the issues reported in #69 with an exception of the following deprecation warnings:
> npm i
npm WARN deprecated @material-ui/styles@4.11.5: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
npm WARN deprecated @material-ui/pickers@3.3.11: This package no longer supported. It has been relaced by @mui/x-date-pickers
npm WARN deprecated @material-ui/lab@4.0.0-alpha.61: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
npm WARN deprecated @material-ui/core@4.12.4: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.
After this change, the website continues to work as before, but is yet to be tested on production (though running npm run serve after building the project works fine).
Upgrade the packages that have backward compatibility issues (like react-router-dom and @material-ui/core) before upgrading React to v18 since the latest versions of these packages support React v17 as well.
Since CRA is no longer maintained, this PR aims to migrate this project from using
react-scripts
to Vite. Also, migrates the project to ESM (type=module
).Doing so also fixes almost all the issues reported in #69 with an exception of the following deprecation warnings:
After this change, the website continues to work as before, but is yet to be tested on production (though running
npm run serve
after building the project works fine).Guide followed during this migration: https://www.freecodecamp.org/news/how-to-migrate-from-create-react-app-to-vite/
Next Steps:
react-router-dom
and@material-ui/core
) before upgrading React tov18
since the latest versions of these packages support React v17 as well.v18
.