New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nrwl/storybook

Package Overview
Dependencies
Maintainers
7
Versions
1547
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrwl/storybook

The Nx Plugin for Storybook contains executors and generators for allowing your workspace to use the powerful Storybook integration testing & documenting capabilities.

  • 19.8.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
7
Weekly downloads
 
Created

What is @nrwl/storybook?

@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.

What are @nrwl/storybook's main functionalities?

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

Other packages similar to @nrwl/storybook

Keywords

FAQs

Package last updated on 04 Oct 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc