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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pulse-91/ui-lib

v0.1.1

Published

Shadcn-like component installer for Pulse UI.

Readme

@pulse-91/ui-lib

CLI de type shadcn/ui pour injecter des composants dans un projet.

Utilisation

pnpm dlx @pulse-91/ui-lib add orion/buttons/rounded

Pour ecraser directement le bouton shadcn sans changer les imports:

pnpm dlx @pulse-91/ui-lib add orion/buttons/rounded --replace-shadcn button

Par defaut, les composants sont installes dans:

src/components/pulse-lib

Exemple de resultat:

src/components/pulse-lib/orion/buttons/rounded.tsx

Configuration projet cible

Si un fichier pulse-lib.json existe a la racine du projet cible, la CLI l'utilise.

Exemple:

{
  "installDir": "src/components/custom"
}

Composants disponibles

La CLI calcule automatiquement les composants depuis l'arborescence components/. Aucune entree manuelle de registry n'est necessaire.

Option --replace-shadcn

L'option permet de choisir quel composant shadcn doit etre redirige. Exemples de cibles: button, input, form/field.

Pour orion/buttons/rounded, avec --replace-shadcn button:

  • garde le fichier shadcn original intact
  • redirige l'alias @/components/shadcn-ui/button vers <installDir>/orion/buttons/rounded.tsx
  • adapte automatiquement l'import interne de ce fichier pour eviter la recursion
  • ajoute un alias @/components/shadcn-ui/button dans les paths TypeScript afin d'utiliser la surcouche sans changer les imports existants

Commande restore

Pour revenir en arriere sur un override:

pnpm dlx @pulse-91/ui-lib restore --shadcn button

La commande:

  • retire l'alias @/components/shadcn-ui/<target> de tsconfig.app.json et tsconfig.json
  • garde le composant installe (ex: orion/buttons/rounded.tsx)
  • supprime d'anciens fichiers techniques eventuels (<installDir>/shadcn-ui et <installDir>/_base)

Commande remove

Pour supprimer un composant et son override:

pnpm dlx @pulse-91/ui-lib remove orion/buttons/rounded --shadcn button

La commande:

  • supprime le composant installe
  • retire l'override shadcn (alias)

Publication npm via GitHub

Le projet est configure pour publier automatiquement sur npm lors d'un push sur main:

  • branche declencheur: main uniquement
  • workflow: .github/workflows/publish-npm.yml
  • mode par defaut: publication publique (npm publish --access public)

Prerequis GitHub

Dans le repo GitHub, ajouter le secret:

  • NPM_TOKEN: token npm avec droit de publish sur @pulse-91/ui-lib (granular token recommande, avec bypass 2FA pour la publication CI)

Flow release

  1. Incremente la version dans package.json (obligatoire avant chaque publication npm).
  2. Commit et push sur main.
  3. GitHub Actions publie automatiquement sur npm.

Exemple:

npm version patch
git push origin main --follow-tags

Scripts deploy

Pour automatiser ton flow:

npm run deploy:dev
  • checkout dev
  • pnpm check + pnpm build
  • bump version prerelease (x.y.z-dev.n)
  • aucun push GitHub
npm run deploy:main
  • checkout main
  • pnpm check + pnpm build
  • bump version patch
  • push origin/main avec tag (--follow-tags)
  • publication npm auto via GitHub Actions