This repository was archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
devui-cli TODO #7
Copy link
Copy link
Open
Description
devui-cli 介绍 + 任务集合,欢迎评论参与共建,做之前先认领(编辑主贴,加@自己),避免冲突
介绍
基础功能
-
文档系统
- 读取约定式目录下的markdown 文件,渲染HTML
- 文档网站基本骨架
- 填充文档到文档网站
- 组件demo预览,组件文档markdown中
:::demo方式支持 - 组件外部demo,组件文档以
<demo src="demofile"></code>方式支持 - 国际化支持
- 暗黑模式支持
- SEO支持
- 读取TS interface/type 生成 API Doc
-
组件库编译&构建
- 开发时编译
- 这里写一些要做的事情
- 构建时编译
- 这里写一些要做的事情
- 开发时编译
内置指令
dev,启动文档系统并开发时编译组件库build,构建组件库生产产物build-site,构建生产环境的文档系统create-component,运行创建新组件生成器,根据设定模板生成组件骨架
规范集成
- eslint
- stylelint
- commitlint
- editorconfig
任务集合
项目骨架(工程化)
- 初始化仓库 ,使用pnpm workplace初始化仓库,实现仓库骨架及cli测试demo @TinsFox feat: Build the project skeleton #3
- 集成 All Contributors,生成贡献者名单
- 集成 Renovate,对dependencies进行版本检测
- 集成 Issues Helper,对issue使用label进行简单的CI控制
- 未完待续
CLI 指令
-
devcommand #10 -
build,cli 生产构建 -
test,cli单元测试
compiler
- compile site 构建站点 #9
- 未完待续
site
- site font, 字体族
- site css variable
- React 响应式(PC&移动端)站点
- Vue 响应式(PC&移动端)站点
构建工具配置
- 使用rollup 构建配置 CLI
规范集成
- eslint
- stylelint
- commitlint
- editorconfig
Metadata
Metadata
Assignees
Labels
No labels