![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@nrwl/storybook
Advanced tools
The Nx Plugin for Storybook contains executors and generators for allowing your workspace to use the powerful Storybook integration testing & documenting capabilities.
@nrwl/storybook is an npm package that integrates Storybook with Nx, a set of extensible dev tools for monorepos. It allows you to build, test, and manage UI components in isolation, making it easier to develop and maintain large-scale applications.
Setup Storybook in an Nx Workspace
This command sets up Storybook for a specific library within an Nx workspace. It configures the necessary files and dependencies to get Storybook up and running.
npx nx g @nrwl/react:storybook-configuration my-lib
Generate Stories for Components
This command generates Storybook stories for a specific component. It helps in quickly creating stories that can be used to visualize and test the component in isolation.
npx nx g @nrwl/react:component-story --componentPath=libs/my-lib/src/lib/my-component.tsx
Run Storybook
This command starts the Storybook server for a specific library, allowing you to view and interact with your components in the Storybook UI.
npx nx run my-lib:storybook
Build Storybook
This command builds a static version of your Storybook, which can be deployed to a static site hosting service. It is useful for sharing your component library with others.
npx nx run my-lib:build-storybook
Storybook is the core package for building UI components in isolation. While @nrwl/storybook integrates Storybook with Nx, the core Storybook package can be used independently or with other frameworks and build tools.
React Styleguidist is a component development environment with a focus on React components. It provides a similar functionality to Storybook but with a different approach to documentation and component visualization.
Docz is a tool for creating documentation for React components with a focus on simplicity and ease of use. It offers a different set of features compared to Storybook, with a stronger emphasis on documentation.
@nrwl/storybook has been renamed to @nx/storybook. Please use that instead.
@nrwl/storybook will no longer be published in the future.
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
FAQs
The Nx Plugin for Storybook contains executors and generators for allowing your workspace to use the powerful Storybook integration testing & documenting capabilities.
The npm package @nrwl/storybook receives a total of 0 weekly downloads. As such, @nrwl/storybook popularity was classified as not popular.
We found that @nrwl/storybook demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.