Skip to content

Commit

Permalink
Merge pull request pomber#113 from opencollective/opencollective
Browse files Browse the repository at this point in the history
Activating Open Collective
Fix pomber#119
  • Loading branch information
pomber authored Mar 17, 2019
2 parents 0537cb1 + eb6e304 commit 9c2ff12
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 52 deletions.
8 changes: 7 additions & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,20 @@
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"open": "^0.0.5",
"opencollective-postinstall": "^2.0.2",
"serve-handler": "^5.0.8"
},
"scripts": {
"build-site": "cd .. && cross-env REACT_APP_GIT_PROVIDER=cli yarn build && rm -fr cli/site/ && cp -r build/ cli/site/",
"build": "yarn build-site",
"ls-package": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz"
"ls-package": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz",
"postinstall": "opencollective-postinstall"
},
"devDependencies": {
"cross-env": "^5.2.0"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/git-history"
}
}
12 changes: 12 additions & 0 deletions cli/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,15 @@ or
$ npm install -g git-file-history
$ git-file-history path/to/file.ext
```

### 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/git-history#sponsor)]

<a href="https://opencollective.com/git-history/sponsor/0/website" target="_blank"><img src="https://opencollective.com/git-history/sponsor/0/avatar.svg"></a>

### Backers

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/git-history#backer)]

<a href="https://opencollective.com/git-history#backers" target="_blank"><img src="https://opencollective.com/git-history/backers.svg?width=890"></a>
5 changes: 5 additions & 0 deletions cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,11 @@ open@^0.0.5:
resolved "https://registry.yarnpkg.com/open/-/open-0.0.5.tgz#42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc"
integrity sha1-QsPhjslUZra/DcQvOilFw/DK2Pw=

opencollective-postinstall@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89"
integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw==

p-finally@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"diff": "^4.0.1",
"js-base64": "^2.5.1",
"netlify-auth-providers": "^1.0.0-alpha5",
"opencollective-postinstall": "^2.0.2",
"prismjs": "^1.15.0",
"react": "^16.8.4",
"react-dom": "^16.8.4",
Expand All @@ -25,6 +26,7 @@
"test-cra": "react-scripts test",
"test": "run-s test-prettier test-cra",
"eject": "react-scripts eject",
"postinstall": "opencollective-postinstall",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public"
},
Expand All @@ -46,5 +48,9 @@
"babel-loader": "8.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/git-history"
}
}
4 changes: 4 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<meta
name="description"
content="Quickly browse the history of a file from GitHub, GitLab, Bitbucket or any git repository"
/>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand Down
34 changes: 19 additions & 15 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ coming soon](https://github.com/pomber/git-history/issues/14)) file:
## Browser Extensions

You can also add an `Open in Git History` button to GitHub with the [Chrome](https://chrome.google.com/webstore/detail/github-history-browser-ex/laghnmifffncfonaoffcndocllegejnf) and [Firefox](https://addons.mozilla.org/firefox/addon/github-history/) extensions.
You can also add an `Open in Git History` button to GitHub, GitLab and Bitbucket with the [Chrome](https://chrome.google.com/webstore/detail/github-history-browser-ex/laghnmifffncfonaoffcndocllegejnf) and [Firefox](https://addons.mozilla.org/firefox/addon/github-history/) extensions.

Or you can use this bookmarklet([?](https://en.wikipedia.org/wiki/Bookmarklet)):
<details><summary>Or you can use a bookmarklet.</summary>

```javascript
javascript: (function() {
Expand All @@ -36,6 +36,8 @@ javascript: (function() {
})();
```

</details>

## [CLI](https://github.com/pomber/git-history/tree/master/cli)

There's also a command line version of Git History that works with any local git repo:
Expand All @@ -53,20 +55,24 @@ $ npm install -g git-file-history
$ git-file-history path/to/file.ext
```

## Sponsors
### Sponsors

[Become a Sponsor](https://opencollective.com/git-history) to help us ship more features!
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/git-history#sponsor)]

<div align="center">
<a href="https://opencollective.com/git-history/donate">
<img
src="https://opencollective.com/git-history/donate/button.png?color=blue"
width="300"
/>
</a>
</div>
<a href="https://opencollective.com/git-history/sponsor/0/website" target="_blank"><img src="https://opencollective.com/git-history/sponsor/0/avatar.svg"></a>

### Backers

## Credits
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/git-history#backer)]

<a href="https://opencollective.com/git-history#backers" target="_blank"><img src="https://opencollective.com/git-history/backers.svg?width=890"></a>

### Contributors

This project exists thanks to all the people who contribute.
<img src="https://opencollective.com/git-history/contributors.svg?width=890&button=false" />

### Credits

Based on these amazing projects:

Expand All @@ -77,5 +83,3 @@ Based on these amazing projects:
## License

MIT

This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with GitHub, or any of its subsidiaries or its affiliates.
47 changes: 23 additions & 24 deletions src/landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,35 +49,34 @@ export default function Landing() {
<h2>CLI</h2>
For local git repos use the{" "}
<a href="https://github.com/pomber/git-history/tree/master/cli">CLI</a>.
<h2>Sponsors</h2>
<p style={{ textAlign: "center", fontSize: "36px" }}>· · ·</p>
<h3>Sponsors</h3>
<p>
No sponsors yet.{" "}
<a href="https://opencollective.com/git-history/donate">
Support this project by becoming a sponsor. Your logo will show up
here with a link to your website.{" "}
<a href="https://opencollective.com/git-history#sponsor">
Become a sponsor
</a>{" "}
to help us ship more features!
</a>
</p>
<div
style={{
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
paddingBottom: "20px"
}}
<a
href="https://opencollective.com/git-history/sponsor/0/website"
target="_blank"
>
<a
href="https://opencollective.com/git-history/donate"
target="_blank"
rel="noopener noreferrer"
>
<img
src="https://opencollective.com/git-history/donate/button.png?color=white"
width="300"
alt="donate"
/>
<img src="https://opencollective.com/git-history/sponsor/0/avatar.svg" />
</a>
<h3>Backers</h3>
<p>
Thank you to all our backers! 🙏.{" "}
<a href="https://opencollective.com/git-history#sponsor">
Become a backer to help us ship more features!
</a>
</div>
</p>
<a
href="https://opencollective.com/git-history#backers"
target="_blank"
>
<img src="https://opencollective.com/git-history/backers.svg" />
</a>
</div>
</div>
);
Expand Down
23 changes: 11 additions & 12 deletions vscode-ext/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ Quickly browse the history of a file from any git repository

![feature X](https://user-images.githubusercontent.com/1911623/52807635-d5043480-306a-11e9-9b03-351b7cda4936.gif)

## Sponsors

[Become a Sponsor](https://opencollective.com/git-history) to help us ship more features!

<div align="center">
<a href="https://opencollective.com/git-history/donate">
<img
src="https://opencollective.com/git-history/donate/button.png?color=blue"
width="300"
/>
</a>
</div>
### 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/git-history#sponsor)]

<a href="https://opencollective.com/git-history/sponsor/0/website" target="_blank"><img src="https://opencollective.com/git-history/sponsor/0/avatar.svg"></a>

### Backers

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/git-history#backer)]

<a href="https://opencollective.com/git-history#backers" target="_blank"><img src="https://opencollective.com/git-history/backers.svg?width=890"></a>
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8461,6 +8461,11 @@ onetime@^2.0.0:
dependencies:
mimic-fn "^1.0.0"

opencollective-postinstall@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89"
integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw==

opn@5.4.0, opn@^5.1.0, opn@^5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035"
Expand Down

0 comments on commit 9c2ff12

Please sign in to comment.