Skip to content

chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.6.0 #2657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@babel/preset-typescript": "7.27.1",
"@changesets/changelog-github": "0.5.1",
"@changesets/cli": "2.29.5",
"@ianvs/prettier-plugin-sort-imports": "4.5.1",
"@ianvs/prettier-plugin-sort-imports": "4.6.0",
"@theguild/prettier-config": "2.0.7",
"@types/benchmark": "2.1.5",
"@types/jest": "30.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/response-cache-redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ In order to use the Redis cache, you need to:
- Create an instance of the Redis Cache and set to the `useResponseCache` plugin options

```ts
import { parse, validate, specifiedRules, execute, subscribe } from 'graphql'
import { execute, parse, specifiedRules, subscribe, validate } from 'graphql'
import Redis from 'ioredis'
import { envelop, useEngine } from '@envelop/core'
import { useResponseCache } from '@envelop/response-cache'
import { createRedisCache } from '@envelop/response-cache-redis'
import Redis from 'ioredis'

/**
* For additional Redis options to create the ioredis client
Expand Down
5 changes: 2 additions & 3 deletions packages/plugins/response-cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,12 @@ In order to use the Redis cache, you need to:
- Create an instance of the Redis Cache and set to the `useResponseCache` plugin options

```ts
import { parse, validate, execute, subscribe } from 'graphql'
import { execute, parse, subscribe, validate } from 'graphql'
import Redis from 'ioredis'
import { envelop } from '@envelop/core'
import { useResponseCache } from '@envelop/response-cache'
import { createRedisCache } from '@envelop/response-cache-redis'

import Redis from 'ioredis'

const redis = new Redis({
host: 'my-redis-db.example.com',
port: '30652',
Expand Down
16 changes: 11 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,10 @@ Then, with that instance of the Redis Cache setup, provide it to the `useRespons
options, and you're done. Here's an example:

```ts
import Redis from 'ioredis'
import { envelop } from '@envelop/core'
import { useResponseCache } from '@envelop/response-cache'
import { createRedisCache } from '@envelop/response-cache-redis'
import Redis from 'ioredis'

const redis = new Redis({
host: 'my-redis-db.example.com',
Expand Down
3 changes: 1 addition & 2 deletions website/src/pages/docs/guides/monitoring-and-tracing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@ it is possible to use apollo-tracing for tracking down slow resolvers with any s

```ts
import * as GraphQLJS from 'graphql'
import { envelop } from '@envelop/core'
import { useApolloTracing } from '@envelop/apollo-tracing'
import { envelop, useEngine } from '@envelop/core'
import { envelop, envelop, useEngine } from '@envelop/core'

const getEnveloped = envelop({
plugins: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,10 @@ options, and you're done. Here's an example:

```ts
import * as GraphQLJS from 'graphql'
import Redis from 'ioredis'
import { envelop, useEngine } from '@envelop/core'
import { useResponseCache } from '@envelop/response-cache'
import { createRedisCache } from '@envelop/response-cache-redis'
import Redis from 'ioredis'

const redis = new Redis({
host: 'my-redis-db.example.com',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,10 @@ options, and you're done. Here's an example:

```ts
import * as GraphQLJS from 'graphql'
import Redis from 'ioredis'
import { envelop, useEngine } from '@envelop/core'
import { useResponseCache } from '@envelop/response-cache'
import { createRedisCache } from '@envelop/response-cache-redis'
import Redis from 'ioredis'

const redis = new Redis({
host: 'my-redis-db.example.com',
Expand Down