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

@ali-dayu/qi

v3.5.0

Published

QI 是基于 Ant Design 的云巧企业级 UI 资产库。[https://fe.gts.work/qi](https://fe.gts.work/qi)。

Downloads

16

Readme

@ali-dayu/qi

QI 是基于 Ant Design 的云巧企业级 UI 资产库。https://fe.gts.work/qi

文档官网: https://fe.gts.work/qi 分版本文档可通过大禹查看,如 3.0.1 的文档地址为 https://unpkg.dayu.work/@ali-dayu/[email protected]/build/docs/intro.html

Usage

import { Component } from '@ali-dayu/qi';

<Component />;

KOI way

KOI >= 3.8.2

"dependencies": {
  "@ali-dayu/koi": "^3.8.2"
}

webpack way

启用 babel-plugin-import 同时设置 babel-loader include antd 包

.babelrc

{
  "plugins": [
    [
      "import",
      {
        "libraryName": "antd",
        "libraryDirectory": "es",
        "style": true
      }
    ]
  ]
}

webpack.config.js

{
  "module": {
    "loaders": [
      {
        "test": /\.js$/,
        "loader": "babel-loader",
        "include": /@ali-dayu\/qi/,
        "exclude": /node_modules/
      }
    ]
  }
}

Contribute

Set up

安装依赖。

$ npm i

sync

同步外部 ProComponents 官网的 demo 文件。

$ npm run sync

test

$ npm run test

指定测试文件地址单独运行一个测试用例

$ npm run test -- src/CheckCard/__test__/index.test.js

注意:本地先执行 npm run test ,发现 snapshot 不一致,然后检查,如果符合预期就执行 npm run test:up 更新 snapshot

publish

$ npm run pub

交流

钉钉:文肇

邮箱:[email protected]

Changelog 规范

  1. 每一条 changelog 需要有标点符号,一般以句号结尾。
  2. MR 需要提供链接。
  3. 中英文以空格隔开。
  4. 不允许多条变更合并成一条。
  5. 需要写清楚修复了具体哪个问题(对用户有影响的部分),changelog 要有意义,不是流水账。
  6. 属性名字需要用 ` 包起来。
  7. antd 单词拼写 参考 如何正确的拼写 Ant Design?