New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blog-common-ui-kits

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blog-common-ui-kits

blog-common-ui-kits

  • 0.1.1
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

💻 blog-common-ui-kits

스토리북 페이지

  • https://spring-react-blog.github.io/blog-common-ui-kits/

npm 배포


컴포넌트 설치 후 사용법

패키지 설치
yarn add blog-common-ui-kits

폴더 구조 설명

  • .storybook: 스토리북 기본 셋팅 폴더
  • src: 메인 작업 폴더
    • components: 컴포넌트 작업 폴더
    • shared: theme 등 프로젝트 전반적으로 사용하는 공통 변수 작업 폴더
    • stories: 스토리북 작업 폴더
    • types: 타입 모음 폴더
    • utils: 공통으로 가져갈 수 있는 유틸 함수 모음 폴더

의존성 설치

  • yarn 또는 npm으로 의존성 설치를 할 수 있지만 의존하는 파일이 package-lock.json, yarn.lock으로 분리되기 때문에 하나로 통일 (기존 yarn으로 진행)
# 의존성 설치
yarn

빌드 및 배포

  • 컴포넌트 작업 후 build, build 파일들은 dist 폴더에 생성
  • 배포 시 주의 사항은 package.json 버전 수정해줘야 함
# 빌드
yarn build

# npm 배포
npm publish

스토리북 빌드 및 배포

  • yarn build:storybook을 진행하면 storybook-static 폴더 가 생성된다.
  • yarn deploy:storybook을하면 storybook-static을 기반으로 깃허브 페이지 배포 진행
# 빌드
yarn build:storybook

# 배포
yarn deploy:storybbok

git flow (논의 필요)

  • main: npm 배포 브랜치
  • dev: 최종 개발 브랜치
  • feature: 기능 브랜치
  • fix: 수정 브랜치

작업 프로세스 (논의 필요)

1. 작업 대한 issue 등록
2. dev 브랜치를 기준에서에서 feature branch를 생성 후 작업 진행 ex) button, select
3. 작업이 완료되면 pull request 보낸다 (리뷰어로 팀원들 등록)
4. 코드 리뷰 진행
5. feature -> dev로 merge
6. 1 ~ 5번 반복
7. 어느정도 작업이 됬고 팀원들과 논의 후 npm 배포 시점되면 dev -> main merge
8. npm 배포 진행

FAQs

Package last updated on 01 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc