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

@tealhealth/storybook

Package Overview
Dependencies
Maintainers
0
Versions
721
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tealhealth/storybook

Teal Health's Design System.

1.2.100
latest
Source
npm
Version published
Weekly downloads
555
-57.14%
Maintainers
0
Weekly downloads
 
Created
Source

Teal Health Design System

👋 Welcome to Teal Health's Design System guidebook!
Here, you will find an overview of our UI system, including interactive examples and recommended use cases. Our goal is to promote proper and consistent use of our components.

Build Setup

Follow these steps to set up and run the Design System:

  • Install dependencies
    Run the following command to install all required packages:

    pnpm install
    
  • Run Storybook builds
    Depending on the environment or framework, you can choose one of the following:

    • Next.js build
      pnpm storybook-nextjs
      
    • Vite build
      pnpm storybook
      
    • Webpack build
      pnpm storybook-webpack
      
  • Build the production bundle
    Create a production-ready Storybook bundle with:

    pnpm build-storybook
    

CI/CD Workflow Overview

GitHub Actions Workflow

On Pull Request

Uses alphaPublish.yml:

  • Cancel any running Amplify deployment associated with the PR.
  • Create an alpha version with a bump (e.g., 1.2.90-alpha.175.1, 1.2.90-alpha.175.2, etc.).
  • Commit the new alpha version (e.g., 1.2.90-alpha.175.3).
  • Publish the alpha version to npm.
On Develop Branch

Uses publish.yml:

  • Remove the alpha version and bump the patch (e.g., 1.2.90-alpha.175.31.2.91).
  • Publish the new patch version to npm.
  • Commit the new patch version for future iterations (e.g., 1.2.91).

Amplify CD Workflow

The deployment to Amplify is based on the target branch, as defined in amplify.yml:

  • Develop branch

    • Automatically deploy to Amplify when a pull request is merged.
    • Access the deployed Storybook here: storybook
  • Pull request branch
    Automatically deploy to Amplify whenever a pull request is created or updated.

Installing Alpha Versions

You can install the @tealhealth/storybook package using pnpm for a specific branch.
Every push to a PR branch automatically publishes a new alpha release on npm. To test the latest alpha version, use the following format:

pnpm add @tealhealth/storybook@[major].[minor].[patch]-alpha.[PR#].[RUN#]

For example:

pnpm add @tealhealth/storybook@1.2.90-alpha.175.1

FAQs

Package last updated on 10 Mar 2025

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