A reworking of the CSDMPY Front-end project to use the Material UI library and improve the state management and Pyodide implementations
This is a Create React App application so the normal build/run/test scripts work:
yarn run
yarn build
yarn test
However there is a hard pre-release dependency on the SF MUI Components library. This is an undeployed NPM-ready package and still under development. Until we have a stable API for it, it needs to be added as a link dependency. To do this:
- Checkout the SF MUI Components repo into another folder on your local machine
yarn build
the SF MUI Components project- Run
yarn link
in the SF MUI Components project cd node_modules/react && yarn link
cd ../react-dom && yarn link
- In this project
yarn link @sfdl/sf-mui-components && yarn link react && yarn link react-dom
These last steps are required because Create React App cannot work with peer depedencies defined outside the src
directory.