Awesome
<p align="center"> <a href="https://tdesign.tencent.com/" target="_blank"> <img alt="TDesign Logo" width="200" src="https://tdesign.gtimg.com/site/TDesign.png"> </a> </p>English | 简体中文
TDesign Icons is a mono-repo for TDesign Icons packages and resources management.
Resources and Packages
- tdesign-icons-vue:TDesign Icons for Vue 2
- tdesign-icons-vue-next:TDesign Icons for Vue 3
- tdesign-icons-react:TDesign Icons for React
- tdesign-icons-angular:TDesign Icons for Angular
- tdesign-icons-view: Web Component Package for display TDesign Icons
- tdesign-icons-svg:SVG package of TDesign Icons
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.