New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@stackbit/components

Package Overview
Dependencies
Maintainers
16
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackbit/components

Stackbit components library

latest
Source
npmnpm
Version
0.1.56
Version published
Weekly downloads
32
255.56%
Maintainers
16
Weekly downloads
 
Created
Source

Stackbit Components Library

View the Component Library at https://components.stackbit.com/

Quickstart

  • run npm install
  • run npm run dev
  • Navigate to http://localhost:6006/ to open Storybook

About

This repository contains the components and styles used by Stackbit themes. It is published as an NPM module @stackbit/components

You can edit components and styles and view the changes in Storybook.

To use components locally with a theme without having to to publish to NPM every time use this repo: https://github.com/stackbit/stackbit-theme-utils

Building Storybook

To build Storybook run npm build

Building and Publishing Component Library

  • Make sure you are on the main branch
  • Check that all files are committed and there are no outstanding git changes.
  • Run npm run version-patch to update the patch v0.1.0 => v0.1.1 or run npm run version-minor to update the minor v0.1.1 => v0.2.0. This script updates the versions of package.json and package-lock.json, commits the changes and applies a git tag with new version.
  • Run git push origin main --tags
  • Internal Stackbit CI/CD pipeline will publish the NPM package

Keywords

stackbit

FAQs

Package last updated on 29 Nov 2021

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