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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@universal-tennis/ui-shared

v0.2.0

Published

Shared UI components for UT

Downloads

756

Readme

UI-Shared

This repo was created to help organize components across the UT ecosystem; following specific design rules:

Stack:

  • React (18.2.0)

To install:

npm install @universal-tennis/ui-shared or yarn add @universal-tennis/ui-shared

Design rules

Components following material and atomic design rules;

  1. Standard naming components; with primary/secondary/etc variations. Keeping variations minimal and purposeful.

Example:

    <Button type="primary" /> 
    <Button type="secondary" /> 

Buttons should be uniform across the platforms with minimal variants, not multiple buttons created for each pages.

Bitbucket CICD flow Publishing the Repo

  1. Pull the latest from master -> make changes to a PR back into master. First when creating a new component, make sure to add it to the components.jsx file.
  2. In the package.json file, make sure to pump to the next minor version.
  3. After merging back into master, tag the commit with the same package.json version number. This will then trigger a NPM package build with the version listed in the package.json; make sure the release tags are the same for consistency.

It can now be accessed in another repo like this: import {Button} from "@universal-tennis/ui-shared";

Manually Publishing the Repo (Should be done via CICD flow)

  1. First when creating a new component, make sure to add it to the components.jsx file.
  2. Then Run yarn run publish:npm to build a optimized build for all the components, this is configured for TS.
  3. In the package.json file, make sure to pump to the next minor version.
  4. Finally yarn run publish-package to deploy this version to NPM.

It can now be accessed in another repo like this: import {Button} from "@universal-tennis/ui-shared";

Development on Local

  1. Create a new branch and make changes: (for this example "sample-link-branch")
  2. Push changes to the branch / test before with storybook.
  3. Run npm install https://[email protected]/universaltennis/ui-shared.git#sample-linked-branch from the other repo to view these updates. In this url (https://@bitbucket.org//#)
  4. You can now see the changes from your npm branch in a different repo. you'll now see in your package.json:
    "@universal-tennis/ui-shared": "git+https://[email protected]/universaltennis/ui-shared.git#sample-linked-branch"

Available Scripts

npm start using npm 16.14.0

Runs the storybook app in localhost. Open http://localhost:6006 to view storybook in your browser. The page will reload when you make changes. You may also see any lint errors in the console.