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

@seed-design/cli

v1.1.0

Published

SEED Design 컴포넌트를 프로젝트에 추가하기 위한 CLI 도구입니다.

Readme

@seed-design/cli

SEED Design 컴포넌트를 프로젝트에 추가하기 위한 CLI 도구입니다.

개발 환경 설정

의존성 설치

bun install

환경 변수 설정 (선택사항)

PostHog 텔레메트리를 사용하려면 .env 파일을 생성하세요:

# packages/cli/.env
POSTHOG_API_KEY=your-api-key
POSTHOG_HOST=https://us.i.posthog.com

# 텔레메트리 비활성화 (로컬 개발 시)
DISABLE_TELEMETRY=true

참고: 환경 변수가 없어도 CLI는 정상적으로 동작합니다. 텔레메트리만 비활성화됩니다.

개발

Dev 모드 실행

Watch 모드로 CLI를 실행합니다:

bun dev

Dev 모드에서는:

  • 코드 변경 시 자동으로 재빌드됩니다
  • NODE_ENV=dev로 설정되어 텔레메트리 이벤트가 콘솔에만 출력됩니다
  • PostHog API 호출이 실제로 발생하지 않습니다

로컬 테스트

  1. @seed-design/docs에서 bun dev 실행 (snippet 서버)
  2. packages/cli에서 bun dev 실행 (watch 모드)
  3. bun run ./bin/index.mjs 실행하여 CLI 명령어 테스트:
bun run ./bin/index.mjs init
bun run ./bin/index.mjs add ui:action-button

빌드

프로덕션 빌드:

bun run build

빌드 결과물:

  • bin/index.mjs - 번들링 및 minify된 CLI 실행 파일
  • 환경 변수 (POSTHOG_API_KEY, POSTHOG_HOST)가 빌드 시 번들에 주입됩니다

테스트

bun test

배포

이 패키지는 Changesets을 통해 자동으로 배포됩니다.

참고: 배포 시 GitHub Secrets에 POSTHOG_API_KEYPOSTHOG_HOST가 설정되어 있어야 텔레메트리가 활성화됩니다.