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

@ifixit/react-components

v0.4.0

Published

A set of reusable React components built on top of [Chakra](https://chakra-ui.com).

Downloads

37

Readme

iFixit React Components

A set of reusable React components built on top of Chakra.

Getting Started

Visit storybook

Contributing

Development setup

# Install dependencies
npm install

# Start storybook
npm run storybook

Commit message format

This repo adheres to the Conventional Commits Specification for commit messages.

The commits are structured as follows:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

For example, a simple commit for adding a feature looks like this:

feat(Pagination): Add pagination components

Type

  • feat: A new feature
  • fix: A bug fix
  • refactor: A code change that neither fixes a bug nor adds a feature
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • perf: A code change that improves performance
  • test: Adding missing or correcting existing tests
  • chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
  • build: Changes that affect the build system or external dependencies
  • ci: Change to our CI configuration file and scripts

Scope

The scope could be anything specifying place of the commit change. For example Icon, Tab, SearchInput, etc...

Remember that scope is entirely optional. Only include a scope if the commit message doesn't stand on it's own outside the context of a pull request.

Description

The description contains succinct explanation of the change:

Use the imperative, present tense: "Change" not "Changed" nor "Changes".

Use sentence case: "Some message" not "some message" nor "Some Message".

Do not include a dot (.) at the end.

| Commit message | Release type | | -------------------------------------------------------------------- | ---------------- | | fix(Pencil): Stop graphite breaking when too much pressure applied | Patch Release | | feat(Pencil): Add 'graphiteWidth' option | Feature Release | | BREAKING CHANGE: The graphiteWidth option has been removed | Breaking Release |

Continuous Integration

Package release is automated via Github Actions.

Bump version

The ci workflow will perform the following tasks:

  • Lint and build the package to see if it compiles
  • Based on the commit messages, increment the version from the latest release.
    • If the string BREAKING CHANGE, major or the Attention pattern refactor!: drop support for Node 6 is found anywhere in any of the commit messages or descriptions the major version will be incremented.
    • If a commit message begins with the string feat or includes minor then the minor version will be increased. This works for most common commit metadata for feature additions: feat: new API and feature: new API.
    • If a commit message contains the word "pre-alpha" or "pre-beta" or "pre-rc" then the pre-release version will be increased (for example specifying pre-alpha: 1.6.0-alpha.1 -> 1.6.0-alpha.2 or, specifying pre-beta: 1.6.0-alpha.1 -> 1.6.0-beta.0)
    • All other changes will increment the patch version.
  • Push the bumped npm version in package.json back into the repo.
  • Push a tag for the new version back into the repo.

Publish on NPM

The npm-publish workflow will publish the package to NPM when a Github Release is created.