From 90d1cde2875e6ec3d3e374fcb1aac16b1112a2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= Date: Wed, 22 Jul 2020 18:14:36 +0800 Subject: [PATCH] support show contributors --- .all-contributorsrc | 12 +++++++----- .gitignore | 2 ++ README-en.md | 21 +++++++++++++++++++-- README.md | 31 +++++++++++++++++++++---------- package.json | 9 +++++++++ 5 files changed, 58 insertions(+), 17 deletions(-) create mode 100644 package.json diff --git a/.all-contributorsrc b/.all-contributorsrc index 1fc7e02e..66a510f0 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -34,9 +34,9 @@ "profile": "https://github.com/ThomasPerkins1123", "contributions": [ "test" - ] - } - ,{ + ] + }, + { "login": "LaoZhangCoder", "name": "laozhang", "avatar_url": "https://avatars3.githubusercontent.com/u/28627858?v=4", @@ -45,7 +45,8 @@ "code" ] }, - { "login": "CCCCmaster", + { + "login": "CCCCmaster", "name": "CCCCmaster", "avatar_url": "https://avatars3.githubusercontent.com/u/25200717?v=4", "profile": "https://github.com/CCCCmaster", @@ -57,5 +58,6 @@ "projectName": "cs-summary-reflection", "projectOwner": "jxnu-liguobin", "repoType": "github", - "repoHost": "https://github.com" + "repoHost": "https://github.com", + "commitConvention": "none" } diff --git a/.gitignore b/.gitignore index aa776ed1..cb1711d1 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ gradlew gradlew.bat tmp/ *.log +node_modules/ +*.lock diff --git a/README-en.md b/README-en.md index a6fa8ac9..b5104316 100644 --- a/README-en.md +++ b/README-en.md @@ -28,6 +28,10 @@ Just create a issue or leave a message at the end of the [dreamylost's blog](htt and can freely submit the code (unlimited language, get more information from [issue #23](https://github.com/jxnu-liguobin/cs-summary-reflection/issues/23)), claim through issue. If you can, it's best to use the most common formatting tools in the current language to format and then submit. + +* If you use a JVM language, please use gradle as the build tool and execute `gradle -s spotlessapply` before submitting code +* If you use Rust, please execute `cargo fmt --all` before submitting the code +* If you use a Script language, please do the format consciously, do not make requirements ### Other contents @@ -45,8 +49,21 @@ and can freely submit the code (unlimited language, get more information from [i ### Contributors - - + + + + + + + + + + +

梦境迷离

ThomasPerkins1123

laozhang

CCCCmaster
+ + + + ### License diff --git a/README.md b/README.md index 9392d6ea..1a8a99fe 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,11 @@  每位参与的小伙伴,都会获得代码仓库的 Collaborator 权限,可以自由地提交代码(不限制语种,方式参见 [issue #23](https://github.com/jxnu-liguobin/cs-summary-reflection/issues/23)),通过 issue 认领。 如果可以的话,最好使用当前语言最常见的格式化工具进行格式化后,再提交。 - 没有频率限制,一般至多一天一道。 + 没有频率限制,一般一天一道。 + +* 如果是JVM语言,请使用gradle作为构建工具,并在提交代码前执行`gradle -s spotlessApply` +* 如果是Rust,提交代码前请执行`cargo fmt --all` +* 如果是脚本语言,请自觉做格式化,不作要求 ### 其他内容 @@ -45,15 +49,22 @@ ### 贡献者 - - + + + + + + + + + + +

梦境迷离

ThomasPerkins1123

laozhang

CCCCmaster
+ + + + ### License -[Apache License](https://github.com/jxnu-liguobin/cs-summary-reflection/blob/master/LICENSE) © 梦境迷离 - -邮箱dreamylost@outlook.com - -公众号 ScalaCoder(佛系更新,目前博客优先) - -ScalaCoder \ No newline at end of file +[Apache License](https://github.com/jxnu-liguobin/cs-summary-reflection/blob/master/LICENSE) © 梦境迷离 \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 00000000..1d818e09 --- /dev/null +++ b/package.json @@ -0,0 +1,9 @@ +{ + "scripts": { + "contributors:add": "all-contributors add", + "contributors:generate": "all-contributors generate" + }, + "devDependencies": { + "all-contributors-cli": "^6.16.1" + } +} -- GitLab