New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ali-dayu/qi

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ali-dayu/qi

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

  • 3.5.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
6
Weekly downloads
 
Created
Source

@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/qi@3.0.1/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

交流

钉钉:文肇

邮箱:wenzhao.fw@alibaba-inc.com

Changelog 规范

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

FAQs

Package last updated on 01 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc