
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.
react-app-styleguidist
Advanced tools
react-styleguidist integration for create-react-app
If you already have project built with create-react-app, you need to do the following to get styleguides for your components:
npm install react-app-styleguidist --save-dev"styleguide": "styleguidist server ./src/App.js"
Then run npm run styleguide and you will see styleguide with your App component. If you have different components structure, you should update this section according to your preferences, for example ./src/components/*.js. It will build styleguide for all files that you have in your components folder.
Also, there is an example folder, that contains sample project with all necessary setup.
See react-styleguidist main documentation for more details.
For some more advanced features you might need to change some configuration options. This package supposed to be zero-configuration tool (except components paths), so you need to use react-styleguidist directly. To do this, you can run eject command and follow the instructions in the terminal:
./node_modules/.bin/styleguidist eject
This command will add styleguide.config.js with all previously used options, but now they are belong to yor project, so you can edit them.
FAQs
[react-styleguidist] integration for [create-react-app]
We found that react-app-styleguidist demonstrated a not healthy version release cadence and project activity because the last version was released 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.