
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
mc-react-library
Advanced tools
React component library used in Materials Cloud, built with vite and bootstrap.
React component library used in Materials Cloud, built with vite and bootstrap.
Install via
npm install mc-react-library
Note: make sure all peerDependencies (defined in package.json) are installed in the host application!
And use with
import {
DoiBadge,
HelpButton,
McloudSpinner,
...
} from "mc-react-library";
Note: see usage examples of each component in the demo page.
Project structure:
lib\ - contains the React components of the library.src\ - contains a demo page that renders the components for development.For developing the library of components, start the demo page (in src\) by
npm install
npm run dev
and update the components in lib\.
To build the library and test it locally in an external application (before publishing to npm), use
npm run build
npm pack
which will create a .tgz file that can then be installed by the external application via
npm install /path/to/mc-react-library-x.y.z.tgz
To make a new version and publish to npm via GitHub Actions:
npm version <major/minor/patch>
git push --follow-tags
FAQs
React component library used in Materials Cloud, built with vite and bootstrap.
The npm package mc-react-library receives a total of 11 weekly downloads. As such, mc-react-library popularity was classified as not popular.
We found that mc-react-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.