-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial additions to the list of contributors
- Loading branch information
1 parent
f8f6e00
commit 0b7798c
Showing
11 changed files
with
283 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 6 additions & 35 deletions
41
blog/2024-09-11-v2-releases.md → blog/2024-10-07-v2-client-releases.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
slug: v2-server-releases | ||
title: McPath V2 管理端更新日志 | ||
authors: [asforest, Cnzw] | ||
tags: [McPath, releases] | ||
--- | ||
### v0.0.15 | ||
1. 增加serve命令填写端口的兼容性,老版本使用不会再报错 | ||
|
||
### v0.0.14 | ||
1. 将serve命令的设置从命令参数移动到配置文件中 | ||
2. 服务端现在会显示日志的时间戳 | ||
|
||
### v0.0.13 | ||
1. 修复连接断开后,工作协程也无法退出的问题 | ||
|
||
### v0.0.12 | ||
1. 修复管理端的serve命令运行久了之后,会卡住的问题 | ||
|
||
### v0.0.11 | ||
1. 修复内置服务端遇到错误会崩溃的问题 | ||
|
||
### v0.0.10 | ||
1. 修复合并时会导致合并包中的元数据体积膨胀的问题 | ||
|
||
### v0.0.9 | ||
1. 修复忽略文件有时候不能成功忽略的问题 | ||
|
||
### v0.0.8 | ||
1. 此版本增加了Linux musl libc版本的打包 | ||
|
||
### v0.0.7 | ||
1. 管理端支持内置服务端的单连接限速功能(基于令牌桶) | ||
|
||
### v0.0.6 | ||
1. 管理端修复不支持带空格的路径的问题 | ||
|
||
### v0.0.5 | ||
1. 增加自动创建更新记录文件的功能 | ||
2. 管理端使用排除规则来替代过滤规则 | ||
|
||
### v0.0.4 | ||
1. 管理端支持交互式命令模式 | ||
|
||
### v0.0.3 | ||
1. 修复打包数据损坏的问题 | ||
|
||
### v0.0.2 | ||
1. 管理端支持revert退回工作空间的修改 | ||
|
||
### v0.0.1 | ||
1. 管理端首个版本 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import React, { useEffect, useState } from 'react'; | ||
import axios from 'axios'; | ||
import Link from '@docusaurus/Link'; | ||
import styles from './ContributorsList.module.css'; // 创建一个 CSS 模块 | ||
|
||
const ContributorsList = ({ projectName, repoUrl }) => { | ||
const [contributors, setContributors] = useState([]); | ||
|
||
useEffect(() => { | ||
const fetchContributors = async () => { | ||
try { | ||
const response = await axios.get(repoUrl); | ||
setContributors(response.data); | ||
} catch (error) { | ||
console.error(`Error fetching contributors for ${projectName}:`, error); | ||
} | ||
}; | ||
|
||
fetchContributors(); | ||
}, [projectName, repoUrl]); | ||
|
||
return ( | ||
<div className={styles.container}> | ||
<h2 className={styles.projectTitle}>{projectName}</h2> | ||
<div className={styles.contributorsGrid}> | ||
{contributors.map(contributor => ( | ||
<div key={contributor.id} className={styles.contributorItem}> | ||
<Link to={contributor.html_url} target="_blank" rel="noopener noreferrer"> | ||
<img src={contributor.avatar_url} alt={contributor.login} className={styles.avatar} /> | ||
<div className={styles.contributorName}>{contributor.login}</div> | ||
</Link> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ContributorsList; |
Oops, something went wrong.