ravangen / graphql-rate-limit

🚦 Fixed window rate limiting middleware for GraphQL. Use to limit repeated requests to queries and mutations.
https://www.npmjs.com/package/graphql-rate-limit-directive
MIT License
317 stars 12 forks source link

Switch to NPM 8 #283

Closed ravangen closed 2 years ago

ravangen commented 2 years ago

I was going to continue using YARN 2+ (https://github.com/ravangen/graphql-rate-limit/pull/282), but working with peer dependencies is annoying for library local development/test as they do not get installed alongside dev dependencies. As a result, I'm switching back to NPM which does install both dev and peer dependencies with npm install.

Resolves https://github.com/ravangen/graphql-rate-limit/issues/281 by switching dependencies to peerDependencies