Skip to content

Commit 7081b49

Browse files
authored
Update dependencies + add sunrise announcement banner (#692)
* Update dependencies + add sunrise announcement banner * Update GDS and GO
1 parent d226d91 commit 7081b49

33 files changed

+2507
-2553
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV ENVIRONMENT=$ENVIRONMENT
66
ENV PNPM_HOME="/usr/bin"
77

88
RUN apk add --no-cache git
9-
RUN npm install -g pnpm@9.0.5
9+
RUN npm install -g pnpm@9.1.0
1010

1111
WORKDIR /app
1212

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "the-graph-docs-monorepo",
33
"private": true,
4-
"packageManager": "pnpm@9.0.5",
4+
"packageManager": "pnpm@9.1.0",
55
"scripts": {
66
"build": "NODE_OPTIONS='--max_old_space_size=4096' turbo run build",
77
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",

packages/nextra-theme/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,29 @@
2525
"typecheck": "tsc --noEmit"
2626
},
2727
"peerDependencies": {
28-
"@edgeandnode/gds": "^5.6.1",
29-
"@edgeandnode/go": "^6.7.1",
30-
"@emotion/react": "^11.11",
28+
"@edgeandnode/gds": "^5",
29+
"@edgeandnode/go": "^6",
30+
"@emotion/react": "^11",
3131
"next": "^13",
3232
"next-seo": "^6",
33-
"nextra": "^2.12",
34-
"react-dom": "^18.2",
33+
"nextra": "^2",
34+
"react-dom": "^18",
3535
"theme-ui": "^0.16"
3636
},
3737
"dependencies": {
3838
"@docsearch/react": "^3.6.0",
3939
"@radix-ui/react-collapsible": "^1.0.3",
4040
"@radix-ui/react-visually-hidden": "^1.0.3",
4141
"lodash": "^4.17.21",
42-
"react-intersection-observer": "^9.10.1",
42+
"react-intersection-observer": "^9.10.2",
4343
"react-use": "^17.5.0"
4444
},
4545
"devDependencies": {
46-
"@edgeandnode/gds": "^5.8.1",
47-
"@edgeandnode/go": "^6.10.0",
46+
"@edgeandnode/gds": "^5.12.0",
47+
"@edgeandnode/go": "^6.18.1",
4848
"@emotion/react": "^11.11.4",
49-
"@types/lodash": "^4.17.0",
50-
"@types/react": "^18.3.1",
49+
"@types/lodash": "^4.17.4",
50+
"@types/react": "^18.3.3",
5151
"@types/react-dom": "^18.3.0",
5252
"next": "^14.2.3",
5353
"next-seo": "^6.5.0",

packages/nextra-theme/src/components/Callout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { buildBorder, Spacing, Text, TextProps } from '@edgeandnode/gds'
1+
import { buildBorder, Spacing, Text, type TextProps } from '@edgeandnode/gds'
22

33
export type CalloutProps = Omit<TextProps, 'color'>
44

packages/nextra-theme/src/components/Code.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HTMLAttributes, ReactNode } from 'react'
1+
import type { HTMLAttributes, ReactNode } from 'react'
22

33
import { Code, Spacing } from '@edgeandnode/gds'
44

packages/nextra-theme/src/components/DocSearch.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DocSearchModal, DocSearchProps, useDocSearchKeyboardEvents } from '@docsearch/react'
1+
import { DocSearchModal, type DocSearchProps, useDocSearchKeyboardEvents } from '@docsearch/react'
22
import { keyframes } from '@emotion/react'
33
import { useCallback, useRef, useState } from 'react'
44
import { createPortal } from 'react-dom'
@@ -64,8 +64,8 @@ export function DocSearch(props: DocSearchProps) {
6464
onClick={onOpen}
6565
innerFocusRing
6666
sx={{
67-
borderRadius: [BorderRadius.FULL, null, BorderRadius.S],
68-
'&:focus-visible': { outline: ['none', null, `${BorderWidth['4px']} solid ${theme.colors!.Purple16}`] },
67+
borderRadius: [BorderRadius.FULL, null, null, BorderRadius.S],
68+
'&:focus-visible': { outline: ['none', null, null, `${BorderWidth['4px']} solid ${theme.colors!.Purple16}`] },
6969
}}
7070
>
7171
<Responsive.Multiple as="span" cases={['mobile', null, null, 'desktop']}>

packages/nextra-theme/src/components/EditPageLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { HTMLAttributes, useContext } from 'react'
1+
import { type HTMLAttributes, useContext } from 'react'
22

33
import { Icon, Link, useI18n } from '@edgeandnode/gds'
44

packages/nextra-theme/src/components/Heading.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as VisuallyHidden from '@radix-ui/react-visually-hidden'
2-
import { ElementType, useContext } from 'react'
2+
import { type ElementType, useContext } from 'react'
33
import { useInView } from 'react-intersection-observer'
44
import { useDebounce } from 'react-use'
55

6-
import { buildTransition, Opacity, Spacing, Text, TextProps, useI18n } from '@edgeandnode/gds'
6+
import { buildTransition, Opacity, Spacing, Text, type TextProps, useI18n } from '@edgeandnode/gds'
77

88
import { LinkInline } from '@/components'
99
import { DocumentContext } from '@/layout/DocumentContext'

packages/nextra-theme/src/components/Image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ImgHTMLAttributes } from 'react'
1+
import type { ImgHTMLAttributes } from 'react'
22

33
export type ImageProps = Omit<ImgHTMLAttributes<HTMLImageElement>, 'children'>
44

packages/nextra-theme/src/components/Link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AnchorHTMLAttributes } from 'react'
1+
import type { AnchorHTMLAttributes } from 'react'
22

33
import { Link } from '@edgeandnode/gds'
44

0 commit comments

Comments
 (0)