@stackbit/components

0.1.56 • Public • Published

Stackbit Components Library

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

Quickstart

  1. run npm install
  2. run npm run dev
  3. 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

  1. Make sure you are on the main branch
  2. Check that all files are committed and there are no outstanding git changes.
  3. 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.
  4. Run git push origin main --tags
  5. Internal Stackbit CI/CD pipeline will publish the NPM package

Readme

Keywords

Package Sidebar

Install

npm i @stackbit/components

Weekly Downloads

7

Version

0.1.56

License

MIT

Unpacked Size

1.13 MB

Total Files

320

Last publish

Collaborators

  • bwwhite
  • bob_netlify
  • noahcrowley-netlify
  • greglobinski
  • seancdavis
  • merlyn_at_netlify
  • cmparsons
  • suzanneaitchison
  • ryanbonial
  • stackbitjoe
  • arseny.gurevich
  • smnh
  • tomasb
  • rodikh
  • berdav
  • stackbit-admin
  • vitaliyr
  • denar90
  • youvalv