Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 3.47 KB

README.md

File metadata and controls

50 lines (30 loc) · 3.47 KB

TDesign Logo

English | 简体中文

TDesign Icons is a mono-repo for TDesign Icons packages and resources management.

Resources and Packages

Development Guide

TDesign Icon repository is created to manage all TDesign Icons resources and packages. You can also clone this repository to generate your own icon resources and packages as well.

Add SVG Source Files ⛽️

please add all icon svg source file into svg/ dir.

Generate Resources 🏗

execute pnpm run generate to update icon resource of all frameworks within packages/ dir and the iconfont and svgsprite resource within resources/ dir.

If you have updated the original icon resources, please execute pnpm run generate again.

Update Versions and CHANGELOG 🔖

execute npx changeset, and choose the version number change rules for each package according to the specific situation, and fill in the content of the CHANGELOG.

then execute pnpm changeset version,the new content of CHANGELOG will be injected into the package.json and CHANGELOG of each framework package in the packages/ directory in turn.

Build NPM Packages 📦

execute pnpm run --filter "tdesign-icons-*" build to build all framework packages.

Publish NPM Packages 🚀

execute pnpm publish -r to publish all framework packages.

License

The MIT License. Please see the license file for more information.