Skip to content

Commit 064bcb5

Browse files
fix(deps): update dependency @theguild/components to v5 (#2362)
* fix(deps): update dependency @theguild/components to v5 * refactor --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dimitri POSTOLOV <[email protected]>
1 parent ac01683 commit 064bcb5

File tree

5 files changed

+40
-54
lines changed

5 files changed

+40
-54
lines changed

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"analyze": "cross-env ANALYZE=true next build"
1212
},
1313
"dependencies": {
14-
"@theguild/components": "4.6.5",
14+
"@theguild/components": "5.0.0",
1515
"next": "13.4.4",
1616
"next-sitemap": "4.1.3",
1717
"react": "18.2.0",

website/src/pages/docs/essentials/resolvers.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { PackageCmd } from '@theguild/components'
2-
31
# Resolvers
42

53
Let's focus on `resolve` functions usually called just **resolvers**.
@@ -55,7 +53,9 @@ If you have many resolvers files in your module, and you wish to load it dynamic
5553

5654
Start by installing this package:
5755

58-
<PackageCmd packages={['@graphql-tools/load-files']} />
56+
```sh npm2yarn
57+
npm i @graphql-tools/load-files
58+
```
5959

6060
Next, use it to load your files dynamically:
6161

website/src/pages/docs/essentials/type-definitions.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Callout, PackageCmd } from '@theguild/components'
1+
import { Callout } from '@theguild/components'
22

33
# Type Definitions
44

@@ -64,7 +64,9 @@ If you have too many SDL files, and you wish to load them dynamically, you can u
6464

6565
Start by installing this package:
6666

67-
<PackageCmd packages={['@graphql-tools/load-files']} />
67+
```sh npm2yarn
68+
npm i @graphql-tools/load-files
69+
```
6870

6971
Next, use it to load your files dynamically:
7072

website/src/pages/docs/get-started.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { PackageCmd, Tabs, Tab, Callout } from '@theguild/components'
1+
import { Tabs, Tab, Callout } from '@theguild/components'
22

33
# Get Started
44

@@ -12,7 +12,9 @@ To start using GraphQL Modules, all you need is to install its package and `grap
1212

1313
## Installation
1414

15-
<PackageCmd packages={['graphql graphql-modules']} />
15+
```sh npm2yarn
16+
npm i graphql-modules graphql
17+
```
1618

1719
### Your First GraphQL Module
1820

yarn.lock

Lines changed: 28 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2760,10 +2760,10 @@
27602760
lodash.sortby "^4.7.0"
27612761
remove-markdown "^0.5.0"
27622762

2763-
"@theguild/components@4.6.5":
2764-
version "4.6.5"
2765-
resolved "https://registry.yarnpkg.com/@theguild/components/-/components-4.6.5.tgz#d3718c2de647d72d428370074b09ce4739f5877a"
2766-
integrity sha512-Mt8JHgTN422ZxEITvrA+8Cu/M11XMfqKXjN2Q9u8UFnRF1F+eg2MNhQn1nhykFw8rwwR1ld/jcv/dxbYXrZrBg==
2763+
"@theguild/components@5.0.0":
2764+
version "5.0.0"
2765+
resolved "https://registry.yarnpkg.com/@theguild/components/-/components-5.0.0.tgz#ac631f42ce042686a6a75e7aa46eac579255484a"
2766+
integrity sha512-DyFuxkuFSCHkfof48WbYe8Ak3OAxVBDAlZ9OBLlshmyEaBCg5ymfroTlyP0yCl6sXzaNnAspIG8Ql+ZeYnpLQg==
27672767
dependencies:
27682768
"@algolia/autocomplete-js" "1.9.2"
27692769
"@algolia/autocomplete-plugin-algolia-insights" "1.9.2"
@@ -2772,14 +2772,14 @@
27722772
"@giscus/react" "2.2.8"
27732773
"@next/bundle-analyzer" "13.4.2"
27742774
"@radix-ui/react-navigation-menu" "1.1.3"
2775-
"@theguild/remark-mermaid" "0.0.2"
2775+
"@theguild/remark-npm2yarn" "0.0.1"
27762776
algoliasearch "4.17.1"
27772777
clsx "1.2.1"
27782778
focus-trap-react "10.1.4"
27792779
fuzzy "^0.1.3"
27802780
next-videos "1.5.0"
2781-
nextra "2.7.0"
2782-
nextra-theme-docs "2.7.0"
2781+
nextra "2.7.1"
2782+
nextra-theme-docs "2.7.1"
27832783
react-instantsearch-dom "6.40.0"
27842784
react-paginate "8.2.0"
27852785
react-player "2.12.0"
@@ -2788,14 +2788,6 @@
27882788
semver "^7.3.8"
27892789
use-debounce "9.0.4"
27902790

2791-
"@theguild/[email protected]":
2792-
version "0.0.2"
2793-
resolved "https://registry.yarnpkg.com/@theguild/remark-mermaid/-/remark-mermaid-0.0.2.tgz#5df285d6c003f49b9414b5037ddae7af3c389675"
2794-
integrity sha512-W7g+L/MKGSKuv0Iix91cnK7RGafP+o7TPKLp72HrbTrL83LrJNiuRdhaG5lAzfCwyMDRkofM4y9z9/GQTdBoqg==
2795-
dependencies:
2796-
mermaid "^10.2.2"
2797-
unist-util-visit "^4.1.2"
2798-
27992791
"@theguild/remark-mermaid@^0.0.1":
28002792
version "0.0.1"
28012793
resolved "https://registry.yarnpkg.com/@theguild/remark-mermaid/-/remark-mermaid-0.0.1.tgz#984f0f03bee4809cde02abbe4dbdbc192c806109"
@@ -2804,6 +2796,14 @@
28042796
mermaid "10.2.1"
28052797
unist-util-visit "4.1.2"
28062798

2799+
"@theguild/[email protected]":
2800+
version "0.0.1"
2801+
resolved "https://registry.yarnpkg.com/@theguild/remark-npm2yarn/-/remark-npm2yarn-0.0.1.tgz#fcfc3ba46324110e8dae5881ff7dab6e49abaf0b"
2802+
integrity sha512-pm++IBZoVU4yWgtXsMEsBXsGEtsJVNfP2eBCO6pp3T27dYy0dS/gevLkSnvkGKFKo2PHTfYvoEsk9vgxmZXs8Q==
2803+
dependencies:
2804+
npm-to-yarn "^2.0.0"
2805+
unist-util-visit "^4.1.2"
2806+
28072807
"@theguild/[email protected]":
28082808
version "0.2.2"
28092809
resolved "https://registry.yarnpkg.com/@theguild/tailwind-config/-/tailwind-config-0.2.2.tgz#9008ed9f2a1580ab76c182d534643b4568f221be"
@@ -8943,29 +8943,6 @@ [email protected]:
89438943
uuid "^9.0.0"
89448944
web-worker "^1.2.0"
89458945

8946-
mermaid@^10.2.2:
8947-
version "10.2.2"
8948-
resolved "https://registry.yarnpkg.com/mermaid/-/mermaid-10.2.2.tgz#6635b9af5f5850f4df39e4235f3d0913c4ab2965"
8949-
integrity sha512-ifYKlCcZKYq48hxC1poJXnvk/PbCdgqqbg5B4qsybb8nIItPM1ATKqVEDkyde6BBJxVFhVJr9hoUjipzniQJZg==
8950-
dependencies:
8951-
"@braintree/sanitize-url" "^6.0.2"
8952-
cytoscape "^3.23.0"
8953-
cytoscape-cose-bilkent "^4.1.0"
8954-
cytoscape-fcose "^2.1.0"
8955-
d3 "^7.4.0"
8956-
dagre-d3-es "7.0.10"
8957-
dayjs "^1.11.7"
8958-
dompurify "3.0.3"
8959-
elkjs "^0.8.2"
8960-
khroma "^2.0.0"
8961-
lodash-es "^4.17.21"
8962-
mdast-util-from-markdown "^1.3.0"
8963-
non-layered-tidy-tree-layout "^2.0.2"
8964-
stylis "^4.1.3"
8965-
ts-dedent "^2.2.0"
8966-
uuid "^9.0.0"
8967-
web-worker "^1.2.0"
8968-
89698946
mersenne@~0.0.3:
89708947
version "0.0.4"
89718948
resolved "https://registry.yarnpkg.com/mersenne/-/mersenne-0.0.4.tgz#401fdec7ec21cdb9e03cd3d3021398da21b27085"
@@ -9618,10 +9595,10 @@ [email protected]:
96189595
"@next/swc-win32-ia32-msvc" "13.4.4"
96199596
"@next/swc-win32-x64-msvc" "13.4.4"
96209597

9621-
9622-
version "2.7.0"
9623-
resolved "https://registry.yarnpkg.com/nextra-theme-docs/-/nextra-theme-docs-2.7.0.tgz#7bb7464b50831974f145e072a7a75b57422a48d1"
9624-
integrity sha512-984jZR13QO/YTIsLEYpFK2Pf4hQjD2Z2fHrBYJl/ZZQjylwxnnGcx1QAciy65mnPWr7/Kv9/dAKpjm9tYtyLrw==
9598+
9599+
version "2.7.1"
9600+
resolved "https://registry.yarnpkg.com/nextra-theme-docs/-/nextra-theme-docs-2.7.1.tgz#d92827af26a2797bb59b347674115329074fd0da"
9601+
integrity sha512-C2DtoGH15q22t4r2JC89lvvajmnyiqsv3PaqHJpoHRlF2eR5giuLhZC5Oahb9AENRDcnUIUvqVi/8NlfiIM0yQ==
96259602
dependencies:
96269603
"@headlessui/react" "^1.7.10"
96279604
"@popperjs/core" "^2.11.6"
@@ -9636,10 +9613,10 @@ [email protected]:
96369613
scroll-into-view-if-needed "^3.0.0"
96379614
zod "^3.20.2"
96389615

9639-
9640-
version "2.7.0"
9641-
resolved "https://registry.yarnpkg.com/nextra/-/nextra-2.7.0.tgz#6b53ad690e0673b1309acf8713382e94fee5b50d"
9642-
integrity sha512-SXUsczIzb6+apg3ipRQQllBJk6W2FJfUrmJrQySu9DJpUfS36ylQYLX5ofkCI+Sq3ZHfefZbnut49KGozt/rGQ==
9616+
9617+
version "2.7.1"
9618+
resolved "https://registry.yarnpkg.com/nextra/-/nextra-2.7.1.tgz#f3c01c45aa96e4a9285a3aee333e18e8e1d1bf71"
9619+
integrity sha512-qchTb7XSm357XAHf9MV9UlUSGolPEPE8iFnC/9KMwvhIoE4seyPYWMrnH84XraZCcGERvy9TrkFD30VE7Qv1MA==
96439620
dependencies:
96449621
"@mdx-js/mdx" "^2.3.0"
96459622
"@mdx-js/react" "^2.3.0"
@@ -9758,6 +9735,11 @@ npm-run-path@^5.1.0:
97589735
dependencies:
97599736
path-key "^4.0.0"
97609737

9738+
npm-to-yarn@^2.0.0:
9739+
version "2.0.0"
9740+
resolved "https://registry.yarnpkg.com/npm-to-yarn/-/npm-to-yarn-2.0.0.tgz#59c9c615eca3ba8920308a0b418007b73ffc7492"
9741+
integrity sha512-/IbjiJ7vqbxfxJxAZ+QI9CCRjnIbvGxn5KQcSY9xHh0lMKc/Sgqmm7yp7KPmd6TiTZX5/KiSBKlkGHo59ucZbg==
9742+
97619743
nth-check@^2.0.1:
97629744
version "2.1.1"
97639745
resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d"

0 commit comments

Comments
 (0)