Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@zeplin/cli-connect-react-plugin
Advanced tools
Zeplin CLI plugin to generate descriptions and code snippets for React components.
Zeplin CLI React Plugin uses react-docgen and react-docgen-typescript to analyze and collect information from React components. For more details about the supported formats, see react-docgen
guidelines and react-docgen-typescript
examples.
Install the plugin using npm.
npm install -g @zeplin/cli-connect-react-plugin
Run CLI connect
command using the plugin.
zeplin connect -p @zeplin/cli-connect-react-plugin
You can choose to use either react-docgen
or react-docgen-typescript
for TypeScript in your plugin configurations.
{
...
"plugins" : [{
"name": "@zeplin/cli-connect-react-plugin",
"config": {
"tsDocgen": "react-docgen-typescript", // Default: "react-docgen"
"tsConfigPath": "/path/to/tsconfig.json" // Default: "./tsconfig.json"
}
}],
...
}
You can set which built-in react-docgen
resolver to use.
{
...
"plugins" : [{
"name": "@zeplin/cli-connect-react-plugin",
"config": {
// Default: "findAllExportedComponentDefinitions"
"reactDocgenResolver": "findExportedComponentDefinition",
}
}],
...
}
Connected Components in Zeplin lets you access components in your codebase directly on designs in Zeplin, with links to Storybook, GitHub and any other source of documentation based on your workflow. 🧩
Check Zeplin Connected Components Documentation for getting started.
Zeplin CLI uses plugins like this one to analyze component source code and publishes a high-level overview to be displayed in Zeplin.
FAQs
Zeplin CLI Connected Components - React Plugin
The npm package @zeplin/cli-connect-react-plugin receives a total of 998 weekly downloads. As such, @zeplin/cli-connect-react-plugin popularity was classified as not popular.
We found that @zeplin/cli-connect-react-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.