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

@selectquotelabs/sqform

v11.5.2

Published

SQ Form

Downloads

3,256

Readme

SQ Form Library

SQ Form Library aims to offer reusable form components to unify the UI for all SelectQuote applications.


Documentation

Visit https://selectquotelabs.github.io/SQForm/docs/

Viewing the Storybook

The latest version of the SQForm Library Storybook can be viewed here.

Contributing

When you make changes to this repo, you must adhere to the Conventional Commit standard.

If you are unfamiliar with writing Conventional Commit style messages, you can use the commitizen to guide you through creating the commit message

git add .
npm run commit

The commit will be validated through a linter pre-commit hook and will reject any commit messages that do not properly adhere to the convention.

Conventional Commit formatted messages are required for proper versioning and automatic generation of release notes / CHANGELOG. Currently, only feat and fix will bump the version.

Your first commit should use the type relevant to what you're working on, e.g., feat or fix, then if you receive feedback in a PR requiring another commit, choose chore; this will prevent those extra commits cluttering the changelog.

For BREAKING CHANGES Type a brief description of the breaking change when asked if there is a breaking change. Otherwise, press the ENTER key to skip over the breaking change optional question.

  • A breaking change will cause a MAJOR SemVer bump. Ex: 3.0.5 -> 4.0.0

Maintenance Releases

Maintenance releases are for releasing a new version of the library that is not of the latest major version. This can happen when we notice a bug in a heavily used older version, or we have a request for a new feature that needs to be in an older version.

Maintenance releases are released off any branch that includes the string "maintenance-release" such as "maintenance-release-9.8.x". This branch naming convention is protected in repo settings.

  • Create a branch off whatever your base version is with the branch naming mentioned
    • Push it to remove
  • Create a feature branch off that branch for your code changes
  • Create a PR following normal procedures to merge your feature branch into your maintenance-release branch
    • Address PR feedback and get approvals
  • When the PR is merged it should automatically kick off the release Github Action. This can be verified in the actions tab on Github
    • When the action is finished a new version should be available to download on NPM for consumption.

Consuming

By default in NPM v7 and above peer dependencies will be installed automatically. You can check your npm version using npm --version to determine the version you are using. If your version is not at least v7 you must install the peer dependencies manually.

Optional dependencies are always installed but can be omitted by using npm install --no-optional when installing this package.

  • Using NPM v7 or greater

    • > npm install @selectquotelabs/sqform
  • Using NPM v6 and below

    • > npm install @selectquotelabs/sqform
    • Install peer dependencies manually
  • Using TypeScript

    • > npm install -D @types/react @types/react-dom @types/react-text-mask @types/yup

Note: Ensure the types package major version number matches the package of your project. ex: React 16 should use v16 of @types/react

Breaking Changes / Upgrade Guide

An upgrade guide and accompanying breaking changes can be found in the upgrade guide file.

Development

To get started first install the projects dependencies

$ npm install

It's recommended to use the Node version specified in the .nvmrc file. If you have nvm installed execute the following terminal command:

$ nvm use

Note: If you run nvm use and don't have that version of Node installed, nvm will tell you how to install it

Running Storybook locally

$ npm run storybook

Running the Docs Page Locally

  1. Install Doc page dependencies
$ cd SQFormDocs && npm i
  1. Run the docs page
$ npm run docs

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.