Skip to content
项目

关于

Moon Design System for React

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

This repository is deprecated! Please, consider migrating to New Moon

Moon Design System

npm (scoped) Commitizen Friendly

Moon Design System

Please use our new repository.

Moon Light - a lightweight version of the Moon Design System.

New repo link: https://github.com/coingaming/moon-light

Installing Moon Design

  1. Install pnpm:

    corepack enable
    
    // Note that we are using pnpm version 8
    
    corepack prepare [email protected] --activate
    
  2. Install dependencies and link local packages together:

    pnpm install
    
  3. Compile and build all packages:

    pnpm run build
    
  4. Run storybook for development:

    pnpm run next dev
    
  5. For Hot Module Replacement run these tasks in parallel:

    pnpm run watch
    
    pnpm run next dev
    
  6. Build and run storybook for production at localhost:80:

    pnpm run next build
    
    pnpm run next start
    

Architecture

Our pnpm monorepo publishes key layers as individual @heathmont/moon- packages:

  1. next-docs/ - Style guide and documentation
  2. workspaces/ - Moon Design System
  3. packages/ - Legacy components, solely for supporting older projects.

Packages are developed inside their respective src folders, utilizing pnpm workspaces for dependency linking/sharing. The distributable code is generated in each package's lib by the TypeScript compiler.

Contributing

If you're interested in contributing to Moon Design, please read our сontributing docs before submitting a pull request.

探索相关项目

加载中…