
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-workflow-cli
Advanced tools
A CLI for creating new react components and streamlining your workflow
To setup react-workflow-cli, you need to run:
# with npm
npm i -g react-workflow-cli
# with yarn
yarn global add react-workflow-cli
This command will install the CLI globally allowing you to run it in any repo. (Though it is called react-workflow-cli, you can take advantage of the template system to use it for any project)
If you need a more advanced experience with the CLI, you will probably want to instantiate the CLI for your current project, so that you will be able to customize your settings and templates.
In order to do that, simply run
react-workflow-cli init
# or
rwf init
This will create a folder .react-templates in the path where you run the command.
During the setup, you will be asked a few questions required to create the configuration file.
You will be able to customize the file by editing it directly (.react-templates/config.json).
You can manage the templates by adding/removing/editing the files and folders inside the .react-templates directory.
Use $name inside of the template directory as a placeholder for the component name. Each $name will be replaced with the actual name of the component provided when you run the add command.
To create a new react component, you just need to run:
react-workflow-cli add <ComponentName>
# or
rwf add <ComponentName>
This will create a new component and all of its default dependencies in the default directory (src/components).
In case you don't want to use the default directory, you can pass a custom path as a parameter. This will create the Component in the provided directory.
react-workflow-cli add <ComponentName> --path my/custom/path
# or
rwf add <ComponentName> -p my/custom/path
If you want to have a look at all the functionalities of the the CLI, just run rwf info, and all the functionalities will be explained.
Please, feel free to contribute to the project!
Here are some things to be done:
Justin Wallace (https://github.com/jpwallace22)
Gabriele Venturi (https://github.com/gventuri) Valentino Gagliardi (https://github.com/valentinogagliardi/)
FAQs
A CLI for creating new react components and streamlining your workflow
We found that react-workflow-cli 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.