Coder Social home page Coder Social logo

kamwoo / vallista-land Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vallista/vallista-land

0.0 0.0 0.0 72.66 MB

vallista와 관련된 웹 페이지에 대한 코드를 들고있는 프로젝트

Home Page: https://vallista.kr

JavaScript 4.12% TypeScript 94.89% HTML 0.99%

vallista-land's Introduction

Vallista Land

vallista의 모든 레포에 쓰이는 디자인 시스템, 프로젝트 레포지토리입니다.

installation

$ npm install -g lerna
$ yarn

yarn workspace로 모든 패키지 모듈을 실행합니다.

launch

// terminal tab 1 (첫번째 탭을 켠다)
$ yarn run:playground // playground start
// terminal tab 2 (두번째 탭을 켠다)
$ yarn run:core // design system 실시간 반영

Add Module (library, .js)

전역으로 사용되는 모듈의 경우

$ yarn add {모듈명} {dev인 경우 --dev} --ignore-workspace-root-check

패키지 단위에만 쓰이는 모듈의 경우

$ lerna add {모듈명} --scope={패키지명}

기술스택

  • react
  • typescript
  • lerna + yarn workspace
  • gatsby

Rule

  1. todo -> in progress -> review -> PR (origin to upstream) -> done
  2. conventional commit rule로 https://www.conventionalcommits.org/en/v1.0.0/ 커밋메시지 작성

개발 방법

  1. core > components > 해당 컴포넌트 제작
  2. core > components > index.ts 에 등록
  3. blog > src 에서 테스트

그 외

3000 포트 킬

$ npx kill-port 3000

빌드 안될 때

$ yarn clean:template
$ yarn clean:playground
$ lerna clean
  1. 위 명령어 입력
  2. 최상위 node_modules 삭제
  3. @vallista-core/tsconfig.tsbuildinfo 삭제
  4. @vallista-core/lib 삭제
  5. 아래 명령어 입력
$ yarn
$ yarn build:core
$ yarn run:core

트러블 슈팅

  • CRA 기반 프로젝트와 gatsby 기반 프로젝트를 monorepo의 root에서 모듈 관리를 함께 하니, 모듈 충돌이 일어나는 문제가 발생해서 gatsby 프로젝트가 실행이 안되었음. 그래서 모두 gatsby로 변경.

vallista-land's People

Contributors

kimchunsick avatar mkachi avatar vallista avatar vallista-woowahan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.