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

@ph-mold/ph-ui

v1.0.32

Published

P&M 프로젝트의 공용 UI 컴포넌트 패키지인 `@ph-mold/ph-ui`를 개발하고 배포하는 절차를 정리한 문서입니다.

Readme

📦 @ph-mold/ph-ui 패키지 배포 가이드

P&M 프로젝트의 공용 UI 컴포넌트 패키지인 @ph-mold/ph-ui를 개발하고 배포하는 절차를 정리한 문서입니다.


🆙 1. 버전 업데이트

npm version patch   # 또는 minor / major

| 타입 | 설명 | | ----- | ------------------ | | patch | 버그 수정 | | minor | 기능 추가 (호환됨) | | major | Breaking Changes |

실행 시 package.json이 자동 수정되고, Git 태그가 생성됩니다.


🔨 2. 빌드

npm run build
  • Vite 기반 빌드
  • dist/ 폴더에 JS, CSS, 타입 파일 생성

🚀 3. 배포

npm publish --access public

@ph-mold/ph-ui처럼 scope 패키지는 반드시 --access public 옵션이 필요합니다.


✅ 4. 배포 확인

npm view @ph-mold/ph-ui
npm view @ph-mold/ph-ui versions

📥 5. 다른 프로젝트에서 설치

npm install @ph-mold/ph-ui

🚀 전체 자동 배포 커맨드 (1줄)

npm run build && npm version patch && npm publish --access public

❗ 자주 발생하는 문제

| 문제 | 원인 | 해결 방법 | | ------------------------- | -------------------------------------------- | ---------------------------------------------------------------- | | 404 Not Found | 레지스트리 설정 오류 | npm config get registryhttps://registry.npmjs.org/로 설정 | | 타입 자동완성 안됨 | types 또는 exports 누락 | types, exports["."] 정확히 설정 | | peer dependency 충돌 | 프로젝트의 react/tailwindcss 버전 불일치 | 해당 버전 맞춰서 설치하거나 --legacy-peer-deps 사용 | | 설치는 되는데 import 에러 | main/module/types 또는 exports 설정 오류 | 경로 및 필드 확인 필요 |


🔍 유용한 npm 명령어

npm whoami                      # 현재 로그인된 사용자 확인
npm login                       # 로그인
npm logout                      # 로그아웃
npm config get registry         # 현재 레지스트리 주소
npm config set registry https://registry.npmjs.org/  # 기본 레지스트리로 변경
npm cache clean --force         # 캐시 삭제

📚 참고 링크