mirror of
https://github.com/pomber/git-history.git
synced 2024-09-11 14:35:57 +03:00
Merge pull request #113 from opencollective/opencollective
Activating Open Collective Fix #119
This commit is contained in:
commit
9c2ff1250b
@ -31,14 +31,20 @@
|
|||||||
"koa-router": "^7.4.0",
|
"koa-router": "^7.4.0",
|
||||||
"koa-static": "^5.0.0",
|
"koa-static": "^5.0.0",
|
||||||
"open": "^0.0.5",
|
"open": "^0.0.5",
|
||||||
|
"opencollective-postinstall": "^2.0.2",
|
||||||
"serve-handler": "^5.0.8"
|
"serve-handler": "^5.0.8"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build-site": "cd .. && cross-env REACT_APP_GIT_PROVIDER=cli yarn build && rm -fr cli/site/ && cp -r build/ cli/site/",
|
"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",
|
"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": {
|
"devDependencies": {
|
||||||
"cross-env": "^5.2.0"
|
"cross-env": "^5.2.0"
|
||||||
|
},
|
||||||
|
"collective": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/git-history"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,3 +18,15 @@ or
|
|||||||
$ npm install -g git-file-history
|
$ npm install -g git-file-history
|
||||||
$ git-file-history path/to/file.ext
|
$ 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>
|
||||||
|
@ -427,6 +427,11 @@ open@^0.0.5:
|
|||||||
resolved "https://registry.yarnpkg.com/open/-/open-0.0.5.tgz#42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc"
|
resolved "https://registry.yarnpkg.com/open/-/open-0.0.5.tgz#42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc"
|
||||||
integrity sha1-QsPhjslUZra/DcQvOilFw/DK2Pw=
|
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:
|
p-finally@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
|
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"diff": "^4.0.1",
|
"diff": "^4.0.1",
|
||||||
"js-base64": "^2.5.1",
|
"js-base64": "^2.5.1",
|
||||||
"netlify-auth-providers": "^1.0.0-alpha5",
|
"netlify-auth-providers": "^1.0.0-alpha5",
|
||||||
|
"opencollective-postinstall": "^2.0.2",
|
||||||
"prismjs": "^1.15.0",
|
"prismjs": "^1.15.0",
|
||||||
"react": "^16.8.4",
|
"react": "^16.8.4",
|
||||||
"react-dom": "^16.8.4",
|
"react-dom": "^16.8.4",
|
||||||
@ -25,6 +26,7 @@
|
|||||||
"test-cra": "react-scripts test",
|
"test-cra": "react-scripts test",
|
||||||
"test": "run-s test-prettier test-cra",
|
"test": "run-s test-prettier test-cra",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
|
"postinstall": "opencollective-postinstall",
|
||||||
"storybook": "start-storybook -p 9009 -s public",
|
"storybook": "start-storybook -p 9009 -s public",
|
||||||
"build-storybook": "build-storybook -s public"
|
"build-storybook": "build-storybook -s public"
|
||||||
},
|
},
|
||||||
@ -46,5 +48,9 @@
|
|||||||
"babel-loader": "8.0.4",
|
"babel-loader": "8.0.4",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"prettier": "^1.16.4"
|
"prettier": "^1.16.4"
|
||||||
|
},
|
||||||
|
"collective": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/git-history"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,10 @@
|
|||||||
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||||
-->
|
-->
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<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.
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
It will be replaced with the URL of the `public` folder during the build.
|
It will be replaced with the URL of the `public` folder during the build.
|
||||||
|
34
readme.md
34
readme.md
@ -19,9 +19,9 @@ coming soon](https://github.com/pomber/git-history/issues/14)) file:
|
|||||||
|
|
||||||
## Browser Extensions
|
## 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
|
||||||
javascript: (function() {
|
javascript: (function() {
|
||||||
@ -36,6 +36,8 @@ javascript: (function() {
|
|||||||
})();
|
})();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## [CLI](https://github.com/pomber/git-history/tree/master/cli)
|
## [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:
|
There's also a command line version of Git History that works with any local git repo:
|
||||||
@ -53,20 +55,24 @@ $ npm install -g git-file-history
|
|||||||
$ git-file-history path/to/file.ext
|
$ 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/sponsor/0/website" target="_blank"><img src="https://opencollective.com/git-history/sponsor/0/avatar.svg"></a>
|
||||||
<a href="https://opencollective.com/git-history/donate">
|
|
||||||
<img
|
|
||||||
src="https://opencollective.com/git-history/donate/button.png?color=blue"
|
|
||||||
width="300"
|
|
||||||
/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
## Credits
|
### 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>
|
||||||
|
|
||||||
|
### 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:
|
Based on these amazing projects:
|
||||||
|
|
||||||
@ -77,5 +83,3 @@ Based on these amazing projects:
|
|||||||
## License
|
## License
|
||||||
|
|
||||||
MIT
|
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.
|
|
||||||
|
@ -49,35 +49,34 @@ export default function Landing() {
|
|||||||
<h2>CLI</h2>
|
<h2>CLI</h2>
|
||||||
For local git repos use the{" "}
|
For local git repos use the{" "}
|
||||||
<a href="https://github.com/pomber/git-history/tree/master/cli">CLI</a>.
|
<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>
|
<p>
|
||||||
No sponsors yet.{" "}
|
Support this project by becoming a sponsor. Your logo will show up
|
||||||
<a href="https://opencollective.com/git-history/donate">
|
here with a link to your website.{" "}
|
||||||
|
<a href="https://opencollective.com/git-history#sponsor">
|
||||||
Become a sponsor
|
Become a sponsor
|
||||||
</a>{" "}
|
|
||||||
to help us ship more features!
|
|
||||||
</p>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: "flex",
|
|
||||||
flexDirection: "column",
|
|
||||||
alignItems: "center",
|
|
||||||
justifyContent: "center",
|
|
||||||
paddingBottom: "20px"
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<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"
|
|
||||||
/>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</p>
|
||||||
|
<a
|
||||||
|
href="https://opencollective.com/git-history/sponsor/0/website"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<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>
|
||||||
|
</p>
|
||||||
|
<a
|
||||||
|
href="https://opencollective.com/git-history#backers"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
<img src="https://opencollective.com/git-history/backers.svg" />
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -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)
|
![feature X](https://user-images.githubusercontent.com/1911623/52807635-d5043480-306a-11e9-9b03-351b7cda4936.gif)
|
||||||
|
|
||||||
## 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/sponsor/0/website" target="_blank"><img src="https://opencollective.com/git-history/sponsor/0/avatar.svg"></a>
|
||||||
<a href="https://opencollective.com/git-history/donate">
|
|
||||||
<img
|
### Backers
|
||||||
src="https://opencollective.com/git-history/donate/button.png?color=blue"
|
|
||||||
width="300"
|
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/git-history#backer)]
|
||||||
/>
|
|
||||||
</a>
|
<a href="https://opencollective.com/git-history#backers" target="_blank"><img src="https://opencollective.com/git-history/backers.svg?width=890"></a>
|
||||||
</div>
|
|
||||||
|
@ -8461,6 +8461,11 @@ onetime@^2.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
mimic-fn "^1.0.0"
|
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:
|
opn@5.4.0, opn@^5.1.0, opn@^5.4.0:
|
||||||
version "5.4.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035"
|
resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035"
|
||||||
|
Loading…
Reference in New Issue
Block a user