Neighborly Package Megalodon

    This package has been deprecated

    Author message:

    Package has been moved to a different place github.com/RedHatInsights/frontend-components

    @red-hat-insights/insights-frontend-components

    3.41.70 • Public • Published

    Build Status npm version codecov

    This repository is archived and moved to a new one RedHatInsights/frontend-components

    Red Hat Insights Components for applications in a React.js environment

    Usage

    npm install: npm install @red-hat-insights/insights-frontend-components

    Imports

    Component import { Component } from 'node_modules/@red-hat-insights/insights-frontend-components

    SCSS @import '~@red-hat-insights/insights-frontend-components/index.css';

    Development

    Create a component inside of the PresentationalComponent folder

    Structure

    PresentationalComponents
    └───YourComponent
        ├─── index.js
        ├─── YourComponent.js
        └─── your-component.scss

    Build: npm run build Test: npm run test

    There is also a playground for any development npm run playground

    Documentation Links

    Hot-loadable components

    Conbribution

    Adding to index.js

    Make sure that when you finish your component, you import it in the src/index.js file

    If you're using any kind of pixel variable, be sure to use the px converter inside the Utilities

    Commit format

    Semantic release is used in this project, so to trigger new release you should add specific format into your commit messages and new release will be triggered when PR is merged.

    Used formatter

    Commit analyzer wildcard is used for parsing commit messages so to trigger new release add one of these strings into your commit and new release is triggered

    • Major - <x.x.x> or <x.x.?> or <x.?.x> or <x.?.?>
    • Minor - <?.x.x> or <?.x.?>
    • Bug - <?.?.x>
    • No release - <no>

    Keywords

    none

    Install

    npm i @red-hat-insights/insights-frontend-components

    DownloadsWeekly Downloads

    355

    Version

    3.41.70

    License

    MIT

    Unpacked Size

    15.7 MB

    Total Files

    72

    Last publish

    Collaborators

    • iphands
    • karelhala
    • kinlaw
    • ryelo