All Projects → art-design-ui → art-ui

art-design-ui / art-ui

Licence: MIT License
🌈 A UI Design Language and React UI library

Programming Languages

typescript
32286 projects
Less
1899 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to art-ui

Lerna Yarn Workspaces Monorepo
🐉 A Monorepo with multiple packages and a shared build, test, and release process.
Stars: ✭ 201 (+491.18%)
Mutual labels:  jest, storybook
nuxt-boilerplate
Nuxt.js Boilerplate
Stars: ✭ 25 (-26.47%)
Mutual labels:  jest, storybook
Vuesion
Vuesion is a boilerplate that helps product teams build faster than ever with fewer headaches and modern best practices across engineering & design.
Stars: ✭ 2,510 (+7282.35%)
Mutual labels:  jest, storybook
Mhy
🧩 A zero-config, out-of-the-box, multi-purpose toolbox and development environment
Stars: ✭ 128 (+276.47%)
Mutual labels:  jest, storybook
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (+61.76%)
Mutual labels:  jest, storybook
2019 12
🎟 급증하는 트래픽에도 안정적인 예약 서비스, Atomic Pattern을 적용한 재사용 가능한 컴포넌트, 실용적인 Testing을 주제로 하는 이벤트 서비스
Stars: ✭ 169 (+397.06%)
Mutual labels:  jest, storybook
react-tools-for-better-angular-apps
Use React ecosystem for unified and top notch DX for angular developement
Stars: ✭ 30 (-11.76%)
Mutual labels:  jest, storybook
Moveit
🚀 NLW #4 | React+ TypeScript + NextJS + StyledComponents + Firebase + MongoDb +Axios
Stars: ✭ 39 (+14.71%)
Mutual labels:  jest, storybook
minesweeper
💣Minesweeper game written with React
Stars: ✭ 18 (-47.06%)
Mutual labels:  jest, react-hooks
medly-components
🧩 Medly components provides numerous themable react components, each with multiple varitaions of sizes, colors, position etc.
Stars: ✭ 66 (+94.12%)
Mutual labels:  jest, storybook
React Nativeish
React Native / React Native Web Boilerplate
Stars: ✭ 106 (+211.76%)
Mutual labels:  jest, storybook
vuetibook
Integrating Vue.js, Vuetify and Storybook
Stars: ✭ 16 (-52.94%)
Mutual labels:  jest, storybook
Simple React Calendar
A simple react based calendar component to be used for selecting dates and date ranges
Stars: ✭ 97 (+185.29%)
Mutual labels:  jest, storybook
Storybook Addon Jest
REPO/PACKAGE MOVED - React storybook addon that show component jest report
Stars: ✭ 177 (+420.59%)
Mutual labels:  jest, storybook
Ifme
Free, open source mental health communication web app to share experiences with loved ones
Stars: ✭ 1,147 (+3273.53%)
Mutual labels:  jest, storybook
Arc
React starter kit based on Atomic Design
Stars: ✭ 2,780 (+8076.47%)
Mutual labels:  jest, storybook
React Redux Saga Starter
Basic, Opinionated starter kit for React+Redux+Redux Saga with support for SCSS CSS Modules, Storybook, JEST testing, and ESLint
Stars: ✭ 12 (-64.71%)
Mutual labels:  jest, storybook
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-5.88%)
Mutual labels:  jest, storybook
nextjs-starter-kit
NextJS Starter Kit with Testing Frameworks and CI/CD
Stars: ✭ 30 (-11.76%)
Mutual labels:  jest, storybook
learn-react-typescript
Learning React contents with TypeScript (Hooks, Redux)
Stars: ✭ 15 (-55.88%)
Mutual labels:  storybook, react-hooks

Art Design

Art 严格遵循 Ant Design 开发原则。

为了保证代码及组件质量,减少沟通成本,在任何形式的参与前,请先阅读以下内容:

脚手架功能

  • 支持umd cjs es 模块引入
  • 支持ts,导出类型声明
  • 支持storybook文档
  • 支持commit规范检测
  • 支持预提交检查代码规范eslint stylelint
  • 支持autoprefixer
  • 支持单元测试
  • 支持自动化构建、自动生成ChangeLog
  • 支持主题色自定义
  • 支持按需加载

技术栈

技术栈严格要求以下形式,注意切不可用React Class来书写组件

  • 🌈React-Hooks
  • 🛡Typescript
  • 🎨Less
  • 📦Jest

设计稿

art组件设计稿

工作流

多人协作采用git -flow工作流

提交规范

yarn run gc
  • feat:新功能(feature)`
  • fix:修补bug
  • docs:文档(documentation)
  • style: 格式(不影响代码运行的变动)
  • refactor:重构(即不是新增功能,也不是修改bug的代码变动)
  • test:增加测试
  • chore:构建过程或辅助工具的变动

dev

在本地开发时,查看文档

$ yarn run docs

显示自己的组件demo,执行以下命令,再手动引入即可

yarn run dev

Test

每个功能至少要包含一个测试用例

编写完测试用例后,使用以下命令进行测试,确保测试质量:

$ yarn run test

查看测试覆盖率

$ yarn run coverage

Doc

文档系统采用 storybook 进行开发,大体分为两部分,docdemo,文档编写完成后,可通过以下命令快速预览:

$ yarn run docs

API文档

组件声明Props注释每个类型,react-docgen-typescript-loader插件会自动读取

interface BaseButtonProps {
  className?: string
  /** 设置 Button 的禁用 */
  disabled?: boolean
  /** 设置 Button 的尺寸 */
  size?: ButtonSize
  /** 设置 Button 的类型 */
  btnType?: ButtonType
  children: React.ReactNode
  href?: string
}

初始默认值

通过类的defaultProps属性初始化默认值

Button.defaultProps = {
  disabled: false,
  btnType: 'default',
}

关于自动化部署

自动化部署使用 travis

自动化部署监听 master 分支, 当 master 分支 commit 后执行构建脚本

标准发布流程

  • 版本更新
  • 生成 CHANGELOG
  • 推送至 git 仓库
  • 组件库打包
  • 发布至 yarn
  • 打 tag 并推送至 git
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].