0.0.1-alpha.1 • Published 2 years ago
amis-editor-plugin v0.0.1-alpha.1
amis-designer-plugin
基于百度 amis
低代码框架开发的可视化编辑器
开发指南
开发环境
node >= 14.0.0
npm >= 8.0.0
发版
插件
发布 alpha 版
$ npm run plugin:pub-alpha
发布 beta 版
$ npm run plugin:pub-beta
发布正式版
$ npm run plugin:pub
调试
插件
普通构建
$ npm run plugin:build
实时构建
$ npm run plugin:build-watch
代码提交规范
<type>(<scope>): <subject>
Header 部分只有一行,包括三个字段:type(必需)、scope(可选)和 subject(必需)。Body 和 Footer 不做限制。
type 用于说明 commit 的类别,只允许使用下面 11 个标识。
- feat 新功能(feature)
- fix 修补 bug
- docs 文档(documentation)
- style 格式(不影响代码运行的变动)
- refactor 重构(即不是新增功能,也不是修改 bug 的代码变动)
- revert 回滚
- test 增加测试
- chore 构建过程、辅助工具的变动
- perf 提高性能
- build 修改项目的的构建系统(glup,webpack,rollup 等)的提交
- ci 修改项目的持续集成流程(Jenkins、GitLab CI 等)的提交
如果 type 为 feat 和 fix,则该 commit 将肯定出现在 Change log 之中。
scope 用于说明 commit 影响的范围,比如数据层、控制层、视图层等等,视项目不同而不同。
subject 是 commit 目的的简短描述,不超过 50 个字符。
0.0.1-alpha.1
2 years ago