npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

menadx-ui

v0.2.2

Published

[![CircleCI](https://circleci.com/gh/mena-go-dx/menadx-storybook/tree/master.svg?style=svg&&circle-token=72024792f4d0bf447f98be7651cd0cc640763e59)](https://circleci.com/gh/mena-go-dx/menadx-storybook/tree/master) [![npm version](https://badge.fury.io/js/m

Downloads

49

Readme

CircleCI npm version

Install package

  • yarn add menadx-ui

Updgrade package

  • yarn upgrade menadx-ui

Git Guidelines

  • Follow gitflow workflow model, as discussed in the link.
    • A develop branch is created from master
    • A release branch is created from develop
    • Feature branches are created from develop
    • When a feature is complete it is merged into the develop branch
    • When the release branch is done it is merged into develop and master
    • If an issue in master is detected a hotfix branch is created from master
    • Once the hotfix is complete it is merged to both develop and master

Publishing to npm

  • Run yarn run release
  • From the choices, select version type(link)
    • MAJOR version when you make incompatible API changes.
    • MINOR version when you add functionality in a backwards compatible manner.
    • PATCH version when you make backwards compatible bug fixes.
  • The above script will create a version tag and push the tags to git
  • After this step, create a PR in release branch.

Publish to heroku

  • The storybook for this project can be accessed here.

Run Project Locally

  • Clone the repo using git clone
  • Install dependencies using yarn
  • Run storybook using npm start
  • Load storybook on http://localhost:8080 in browser

Available Scripts

  • For linting the project using tslint use yarn lint

  • For automatic lint fixes use yarn run lint:fix

  • For conflicting lint rules in base and prettier use yarn run lint:check

Git hooks

This repo has git hooks for commit and push, if any of the command throws error it will fail the commit or push (This can be bypassed using git commit --no-verify).

  • Before commit: Automatic prettier and yarn lint:fix are run.

  • Before push: the command yarn lint is run.

Coding guidelines

  • Use proptypes check for runtime prop validation check(as this repo can be used with project which does not use typescript).

TODOS

| Task | Status | Comments | | ------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------: | -------: | | compare destructuring versus the .defaultProps as it declare Partial and when we call from story, it assumes this is mandatory keys. | Generic badge | | | Unit Tests for designs | Generic badge | | | Unit Tests for functionality | Generic badge | | | Map types and interfaces to prop types for single source of type checks and make all types in sync | Generic badge | | | Add coding guidelines for extending components | Generic badge | |