docs: 添加致贡献者

pull/41/head
zjx0905 2023-04-12 21:21:03 +08:00
parent 518b98a222
commit 376380f7b0
2 changed files with 23 additions and 1 deletions

View File

@ -24,13 +24,22 @@ pnpm docs:dev
pnpm test:watch
```
我们使用 cz-git 以交互式完成 git commit。
我们使用 cz-git 交互式进行 git commit。
```bash
git add .
pnpm cz
```
脚本列表
- `pnpm build` 打包源代码
- `pnpm watch` 监听文件变更并运行 `build`
- `pnpm test` 单元测试
- `pnpm test:watch` 监听文件变更并运行 `test`
- `pnpm test:cov` 运行 `test` 并输出测试覆盖率
- `pnpm docs:dev` 启动开发环境的文档服务器
## 贡献
### 现有功能

View File

@ -131,6 +131,19 @@ export default defineConfig({
},
],
},
{
text: '致贡献者',
items: [
{
text: '行为准则',
link: 'https://github.com/zjx0905/axios-miniprogram/blob/main/CODE_OF_CONDUCT.md',
},
{
text: '贡献指南',
link: 'https://github.com/zjx0905/axios-miniprogram/blob/main/CONTRIBUTING.md',
},
],
},
],
socialLinks: [