@nxtvid/component-library

0.1.20 • Public • Published

NXTVid Component Library

⚠️ DISCLAIMER
This package is NOT production-ready and is intended for internal use only at NXTVid. It is unlicensed, meaning you do not have permission to use, distribute, or modify this package if you are not part of NXTVid. Don’t you dare use it.


Overview

This repository is for building and testing reusable components for the NXTVid platform. The components are designed to be tested, versioned, and integrated across NXTVid projects using NPM.


Workflow

Follow this workflow to contribute a new or updated component:

  1. Write and Test Components

    • Build your component .jsx file and its corresponding .css file.
    • Write unit tests for your component in Component.test.js (using Jest and React Testing Library).
    • Run tests locally:
      npm test
  2. Build Stories

    • Create component stories in Component.stories.js for Storybook to visualize your component.
    • Start Storybook locally to test and interact with the component:
      npm run storybook
  3. Prepare for Merge

    • Create a new branch from dev for your component:
      git checkout dev
      git pull origin dev
      git checkout -b component/<component-name>
    • Push your changes and create a pull request for review.
  4. Code Review and Merge

    • Submit your branch for code review.
    • After approval, merge into dev.
  5. Test and Validate

    • Run tests throughout the development process:
      npm test

Access the Package via NPM

To use components from this library in your project:

  1. Install the Package
    Add the component library as a dependency:
    npm install @nxtvid/component-library

Readme

Keywords

none

Package Sidebar

Install

npm i @nxtvid/component-library

Weekly Downloads

1,308

Version

0.1.20

License

UNLICENSED

Unpacked Size

825 kB

Total Files

40

Last publish

Collaborators

  • dvanceg