Переглянути джерело

Merge pull request #6 from opencollective/opencollective

Open Collective
Willin 老王 5 роки тому
батько
коміт
023f087351
4 змінених файлів з 105 додано та 3 видалено
  1. 2 0
      .github/ISSUE_TEMPLATE.md
  2. 66 0
      CONTRIBUTING.md
  3. 26 0
      README.md
  4. 11 3
      package.json

+ 2 - 0
.github/ISSUE_TEMPLATE.md

@@ -0,0 +1,2 @@
+<!-- Love leader? Please consider supporting our collective:
+👉  https://opencollective.com/leader/donate -->

+ 66 - 0
CONTRIBUTING.md

@@ -0,0 +1,66 @@
+# Contribute
+
+## Introduction
+
+First, thank you for considering contributing to leader! It's people like you that make the open source community such a great community! 😊
+
+We welcome any type of contribution, not only code. You can help with
+
+- **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
+- **Marketing**: writing blog posts, howto's, printing stickers, ...
+- **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
+- **Code**: take a look at the [open issues](issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
+- **Money**: we welcome financial contributions in full transparency on our [open collective](https://opencollective.com/leader).
+
+## Your First Contribution
+
+Working on your first Pull Request? You can learn how from this _free_ series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
+
+## Submitting code
+
+Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. The pull request should also contain tests.
+
+## Code review process
+
+The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge.
+It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you?
+
+## Financial contributions
+
+We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/leader).
+Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed.
+
+## Questions
+
+If you have any questions, create an [issue](issue) (protip: do a quick search first to see if someone else didn't ask the same question before!).
+You can also reach us at hello@leader.opencollective.com.
+
+## Credits
+
+### Contributors
+
+Thank you to all the people who have already contributed to leader!
+<a href="graphs/contributors"><img src="https://opencollective.com/leader/contributors.svg?width=890" /></a>
+
+### Backers
+
+Thank you to all our backers! [[Become a backer](https://opencollective.com/leader#backer)]
+
+<a href="https://opencollective.com/leader#backers" target="_blank"><img src="https://opencollective.com/leader/backers.svg?width=890"></a>
+
+### Sponsors
+
+Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/leader#sponsor))
+
+<a href="https://opencollective.com/leader/sponsor/0/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/0/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/1/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/1/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/2/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/2/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/3/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/3/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/4/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/4/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/5/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/5/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/6/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/6/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/7/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/7/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/8/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/8/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/9/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/9/avatar.svg"></a>
+
+<!-- This `CONTRIBUTING.md` is based on @nayafia's template https://github.com/nayafia/contributing-template -->

+ 26 - 0
README.md

@@ -61,3 +61,29 @@ iOS 用户可以使用 `Safari` 将本书添加到主屏幕:
 p.s.
 
 最近经常收到未备注昵称或网址的捐赠,请留下你的代号,以便于鸣谢。谢谢~
+
+## Contributors
+
+This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
+<a href="https://github.com/undefined/undefinedgraphs/contributors"><img src="https://opencollective.com/leader/contributors.svg?width=890&button=false" /></a>
+
+## Backers
+
+Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/leader#backer)]
+
+<a href="https://opencollective.com/leader#backers" target="_blank"><img src="https://opencollective.com/leader/backers.svg?width=890"></a>
+
+## Sponsors
+
+Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/leader#sponsor)]
+
+<a href="https://opencollective.com/leader/sponsor/0/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/0/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/1/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/1/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/2/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/2/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/3/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/3/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/4/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/4/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/5/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/5/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/6/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/6/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/7/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/7/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/8/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/8/avatar.svg"></a>
+<a href="https://opencollective.com/leader/sponsor/9/website" target="_blank"><img src="https://opencollective.com/leader/sponsor/9/avatar.svg"></a>

+ 11 - 3
package.json

@@ -4,7 +4,8 @@
   "description": "不可替代的团队领袖培养计划",
   "main": "config.js",
   "scripts": {
-    "start": "docsify serve . --port 3456 --open"
+    "start": "docsify serve . --port 3456 --open",
+    "postinstall": "opencollective-postinstall"
   },
   "repository": {
     "type": "git",
@@ -23,6 +24,13 @@
   },
   "homepage": "https://leader.js.cool/",
   "devDependencies": {
-   "docsify-cli": "^4.1.8"
+    "docsify-cli": "^4.1.8"
+  },
+  "dependencies": {
+    "opencollective-postinstall": "^2.0.2"
+  },
+  "collective": {
+    "type": "opencollective",
+    "url": "https://opencollective.com/leader"
   }
-}
+}