@skedulr/nebula-ui-library

0.8.14 • Public • Published

Chromatic

Nebula: Skedulr UI Library

Welcome to Nebula, the UI library for Skedulr. Below you'll find instructions on how to use and deploy Nebula components efficiently.

🚀 Quick Start

1. Install Dependencies

Ensure you have Yarn installed. If not, you can install it by following the instructions below:

  • For macOS and Linux users, open the terminal and run:

    sudo npm install --global yarn
  • For Windows users, download the Yarn package installer from the official website.

Then, install the project dependencies:

yarn

2. Adding New Components

When adding a new component to Nebula, consider its reusability. Follow these steps to set up a new component:

  • Create a folder with the component name.
  • Include the JSX file, a styles file, and a stories.jsx file.
  • Utilize Emotions for styling.

Ensure each component has comprehensive documentation on usage and controls for easy exploration from the Storybook page.

3. Pull Requests

  • Upon creating a PR, the Chromatic workflow will run for visual checks. Reviewers should approve visual changes through Chromatic in addition to code review.
  • After PR approval, add the appropriate label: Minor for non-breaking changes and Major for breaking changes. This is crucial for version incrementation, and failure to label may result in a publishing failure.

Automation

Chromatic Workflow

  • We Push changes to Chromatic to check for visual changes and publish them.
  • You can retrieve the URL from Chromatic to share with testers/reviewers.

Auto Workflow

  • We utilise the push.yml workflow for Auto to increment and publish the package to NPM upon merging to the master branch.
  • Make sure to write descriptive commits as this is used for release notes.

Readme

Keywords

none

Package Sidebar

Install

npm i @skedulr/nebula-ui-library

Weekly Downloads

6

Version

0.8.14

License

MIT

Unpacked Size

776 kB

Total Files

7

Last publish

Collaborators

  • farrukh-jutt
  • tryzahid
  • faisal25dec
  • umermo