npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@tcfuture/tea-component

v2.6.24

Published

React components to powering tea app construction

Downloads

12

Readme

Tea 框架 - 组件库

文档 & 示例

组件用法可参考 http://tea.tencent.com/component

组件目录

组件升级还在进行中,进度如下(🏃 进行中 📌 已计划 🕒 暂时挂起):

开发

本地开发

前往 tea-web 目录,执行 npm install 完成依赖安装,然后执行 npm run start,即可在本地运行起 Tea 文档站点。

新建组件

如需新建组件,请先在上文 组件目录 中添加组件说明,并建立相对应的目录。

README.md

网站中组件示例由 tea-component/src/ 下各组件目录中 README.md 生成,一个 README.md 的示例如下:

# Button 按钮

提供标准的按钮交互和样式。

## 使用示例

<!-- <Half> -->

### 主要按钮

主按钮是用户在整个页面需要关注的优先级最高的操作,或者是我们需要最想要引导用户关注的操作。

[Example: 主要按钮](./_example/PrimaryButton.jsx)

<!-- </Half> -->

## 组件属性

[Interface: ButtonProps](./Button.tsx)

git 相关

分支

请基于 release 分支来进行开发,开发完成后请提交 Merge Request 到该分支。

提交注释

请参考提交注释规范

发布

构建

执行 npm run build 进行构建。

版本号更新

执行 npm version patch 更新末位版本号。

如需发布非 @latest 版本,请修改对应标签版本号,如 2.0.0-beta.1

发布至 TNPM

执行 tnpm publish 发布包。

如需发布非 @latest 版本,请添加 --tag 参数,如 tnpm publish --tag beta