ibg-mns
v0.1.9
Published
通知公告SDK
Readme
IBG-前端-通知公告SDK
目的
通知公告SDK
项目安装
注意:项目内部统一采用 yarn 作为依赖管理工具,请使用 yarn 安装依赖。
- 进入项目根目录:
cd mns- 安装依赖:
yarn install --forzen-lockfile // 已当前yarn.lock 文件锁定依赖- 安装husky:
yarn prepare- 启动开发服务器:
yarn dev本项目提供的vite 配置主要是为了配合当前已有项目迁移配置的构建项,如项目需调整 请自行修改 vite.config.ts 文件。
git commit 规范
<类型>[可选 范围]: <描述>
[可选 正文]
[可选 脚注]
类型:
feat: 增加新功能
fix: 修复问题/BUG
style: 代码风格相关无影响运行结果的
perf: 优化/性能提升
refactor: 重构
revert: 撤销修改
test: 测试相关
docs: 文档/注释
chore: 依赖更新/脚手架配置修改等
workflow: 工作流改进
ci: 持续集成
types: 类型定义文件更改
wip: 开发中
示例
包含了描述并且脚注中有破坏性变更的提交说明
feat: allow provided config object to extend other configs
BREAKING CHANGE: `extends` key in config file is now used for extending other config files包含了 ! 字符以提醒注意破坏性变更的提交说明
feat!: send an email to the customer when a product is shipped包含了范围和破坏性变更 ! 的提交说明
feat(api)!: send an email to the customer when a product is shipped包含了 ! 和 BREAKING CHANGE 脚注的提交说明
chore!: drop support for Node 6
BREAKING CHANGE: use JavaScript features not available in Node 6.不包含正文的提交说明
docs: correct spelling of CHANGELOG包含范围的提交说明
feat(lang): add polish language包含多行正文和多行脚注的提交说明
fix: prevent racing of requests
Introduce a request id and a reference to latest request. Dismiss incoming responses other than from latest request.
Remove timeouts which were used to mitigate the racing issue but are obsolete now.
Reviewed-by: Z Refs: #123