GithubHelp home page GithubHelp logo

jingluo's Introduction

项目介绍

待补充...

运行项目

  • 根目录安装依赖(请勿使用 npm 或 yarn,会被拦截

    pnpm install
  • 本地调试项目

    cd packages/playground
    pnpm run dev
  • 构建(根目录执行)

    pnpm run build

发布

本组件库采用pnpm monorepo框架搭建,组件包目录如下:

.packages
├── playground
├── small-color-ui
└── utils

其中对外发布有small-color-uiutilsplayground则是提供给开发者的本地调试服务。

此外,发布流使用了changeset插件,请按以下流程完成发布

1. 构建(根目录执行)

pnpm run build

2. 生成changeset文件

根目录运行,然后根据提示选取要发布的组件(除了playground其他都选上)。

pnpm changeset

3. 消耗changeset文件,生成 changelog 并更新组件 version

pnpm update:version

4. 发布组件到npm

pnpm release

5. 版本信息更新到 git 远程仓库

使用

1. 安装

pnpm i -S small-color-ui

jingluo's People

Watchers

 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.