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

iss-va-component-library

v45.0.1

Published

A modified version of @department-of-veterans-affairs/[email protected] for ISS

Downloads

281

Readme

This module contains reusable React and Web components for the VA.gov design system published as an NPM package for use in the vets-website frontend codebase.

Quick start

npm install @department-of-veterans-affairs/component-library

import { COMPONENTNAME } from '@department-of-veterans-affairs/component-library'

See design system or Storybook for a full list of available components.

Contributing

The issue tracker is disabled on this repo. To request a new component or a feature enhancement, please open an issue here

Web Components

The Design System team is working on replacing the React components in this library with Web Component versions. This isn't just a React replacement however - part of the goal is to have true components that can be used outside of React in plain HTML pages.

Usage

To use these Web Components in your own project, follow the installation steps. This will allow the components to be used in JSX or HTML.

Contributing

1. Submit your PR

Submit a PR that includes all of your code changes. This should include the bump in versions you need, which you can change directly in the package.json files for the modules that are changing. Modules like component-library depend on formation via a peer dependency, so you may need to update that as well. We try to keep the peer dependency loose and only update it for breaking changes.

Please add a clear list of changes to your PR description. We have been using Keep a changelog informally and have had good success with it.

You'll need to choose what type of version update to make:

  • patch - for bug fixes and minor changes
  • minor - for new features that don't break current features or require changes in consuming applications
  • major - for backwards breaking changes

If you are unsure of what to pick, do a major version update on modules that are changing.

2. Merge your PR to main

Once your changes are approved, squash merge them to main. Also, if your change is a breaking change, please prefix your commit message with BREAKING CHANGE:. Also keep in mind that your commit messages will be in a changelog that people use to figure out what has changed between releases, so make sure it accurately describes your changes.

3. Build and publish

If you are not part of the Design System team, please submit a support request in #vfs-platform-support to the Design System Team requesting to create a new release with your changes.

4. Update consuming apps

The last step is to update the package.json files of consuming apps to use the latest version of @department-of-veterans-affairs/formation (or component-library). For example, if you are working with the vets-website project, open the vets-website's package.json to update the version number of the @department-of-veterans-affairs/formation entry listed in the dependencies section. The version number should match what you just published to NPM.