Skip to content

Commit

Permalink
fix(opencollective): Add backers and sponsors
Browse files Browse the repository at this point in the history
Activating Open Collective
  • Loading branch information
maticzav committed May 15, 2018
2 parents 9e85657 + 6064ac1 commit ac0e68f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 7 deletions.
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# graphql-shield

[![CircleCI](https://circleci.com/gh/maticzav/graphql-shield/tree/master.svg?style=shield)](https://circleci.com/gh/maticzav/graphql-shield/tree/master) [![npm version](https://badge.fury.io/js/graphql-shield.svg)](https://badge.fury.io/js/graphql-shield)
[![Backers on Open Collective](https://opencollective.com/graphql-shield/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/graphql-shield/sponsors/badge.svg)](#sponsors)

A GraphQL server permission layer to keep your queries and mutations safe from intruders.

Expand Down Expand Up @@ -206,13 +207,35 @@ The following query resolves with a `User` type. `User` type has multiple fields
* Permission functions shouldn't rely on any external variables, but the resolver arguments themselves to prevent unpredited behaviour.
* Permission functions with the same name are considered to have the same output.

## Sponsors
## Contributors

This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<a href="graphs/contributors"><img src="https://opencollective.com/graphql-shield/contributors.svg?width=890&button=false" /></a>

This comment has been minimized.

Copy link
@rdela

rdela May 23, 2018

Contributor

So this takes me to https://github.com/maticzav/graphql-shield/blob/master/graphs/contributors instead of https://github.com/maticzav/graphql-shield/graphs/contributors

Could do ../../graphs/contributors if you want to stay relative instead of absolute, want me to open an issue or submit a PR or you wanna handle?


<object type="image/svg+xml" data="https://opencollective.com/graphql-shield/tiers/sponsor.svg?avatarHeight=36&width=600"></object>

## Backers

<object type="image/svg+xml" data="https://opencollective.com/graphql-shield/tiers/backer.svg?avatarHeight=36&width=600"></object>
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/graphql-shield#backer)]

<a href="https://opencollective.com/graphql-shield#backers" target="_blank"><img src="https://opencollective.com/graphql-shield/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/graphql-shield#sponsor)]

<a href="https://opencollective.com/graphql-shield/sponsor/0/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/1/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/2/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/3/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/4/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/5/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/6/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/7/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/8/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/graphql-shield/sponsor/9/website" target="_blank"><img src="https://opencollective.com/graphql-shield/sponsor/9/avatar.svg"></a>



## License

Expand Down
15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"author": "Matic Zavadlal <matic.zavadlal@gmail.com>",
"dependencies": {
"chalk": "^2.3.2",
"graphql": "^0.13.0"
"graphql": "^0.13.0",
"opencollective": "^1.0.3"
},
"devDependencies": {
"ava": "^0.25.0",
Expand All @@ -24,7 +25,8 @@
"lint": "tslint --project tsconfig.json {src}/**/*.ts",
"test-ava": "ava tests/*.js --verbose",
"test": "npm run lint && npm run build && npm run test-ava",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"postinstall": "opencollective postinstall"
},
"files": [
"dist"
Expand All @@ -46,5 +48,10 @@
"shield",
"server"
],
"license": "MIT"
}
"license": "MIT",
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/graphql-shield",
"logo": "https://opencollective.com/graphql-shield/logo.txt"
}
}

1 comment on commit ac0e68f

@maticzav
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rdela hey! Thanks for noticing this. PR would be great, but I think we should stick with the absolute URL.

Please sign in to comment.