Skip to content

Commit 5583e23

Browse files
authored
Update dependencies + change “Substreams-Powered Subgraphs” card on home page to “Token API” (#960)
* Update dependencies + run `prebuild:ci` * Fix bug where `Heading` anchor didn’t appear in Firefox + improve alignment * Change “Substreams-Powered Subgraphs” card on home page to “Token API”
1 parent eac76ff commit 5583e23

File tree

430 files changed

+15043
-5121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

430 files changed

+15043
-5121
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "graph-docs",
33
"private": true,
44
"version": "1.0.0",
5-
"packageManager": "pnpm@10.10.0",
5+
"packageManager": "pnpm@10.11.0",
66
"scripts": {
77
"dev": "turbo run dev",
88
"build": "NODE_OPTIONS='--max_old_space_size=8192' turbo run build",
@@ -21,17 +21,17 @@
2121
},
2222
"devDependencies": {
2323
"@edgeandnode/eslint-config": "^2.0.3",
24-
"@types/node": "^22.15.3",
24+
"@types/node": "^22.15.21",
2525
"eslint": "^8.57.1",
26-
"eslint-plugin-mdx": "^3.4.1",
26+
"eslint-plugin-mdx": "^3.4.2",
2727
"prettier": "^3.5.3",
2828
"prettier-plugin-tailwindcss": "^0.6.11",
2929
"remark-frontmatter": "^5.0.0",
3030
"remark-lint-first-heading-level": "^4.0.1",
3131
"remark-lint-heading-increment": "^4.0.1",
3232
"remark-lint-no-heading-punctuation": "^4.0.1",
3333
"remark-lint-restrict-elements": "workspace:*",
34-
"turbo": "^2.5.2",
34+
"turbo": "^2.5.3",
3535
"typescript": "^5.8.3"
3636
},
3737
"resolutions": {

packages/og-image/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
"dependencies": {
1313
"@resvg/resvg-wasm": "^2.6.2",
1414
"react": "^18.3.1",
15-
"satori": "^0.12.2",
15+
"satori": "^0.13.1",
1616
"yoga-wasm-web": "^0.3.3"
1717
},
1818
"devDependencies": {
19-
"@cloudflare/workers-types": "^4.20250502.0",
20-
"@types/react": "^18.3.20",
21-
"jest-image-snapshot": "^6.4.0",
19+
"@cloudflare/workers-types": "^4.20250525.0",
20+
"@types/react": "^18.3.23",
21+
"jest-image-snapshot": "^6.5.1",
2222
"tsx": "^4.19.4",
2323
"typescript": "^5.8.3",
2424
"vitest": "^2.1.9",
25-
"wrangler": "^3.114.8"
25+
"wrangler": "^3.114.9"
2626
},
2727
"sideEffects": false
2828
}

pnpm-lock.yaml

Lines changed: 2226 additions & 4472 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@
1919
"dependencies": {
2020
"@docsearch/react": "^3.9.0",
2121
"@edgeandnode/common": "^7.0.4",
22-
"@edgeandnode/gds": "^6.5.14",
23-
"@edgeandnode/go": "^10.0.2",
22+
"@edgeandnode/gds": "^6.5.15",
23+
"@edgeandnode/go": "^10.1.0",
2424
"@emotion/react": "^11.14.0",
25-
"@graphprotocol/contracts": "6.2.1",
25+
"@graphprotocol/contracts": "^7.1.2",
2626
"@pinax/graph-networks-registry": "^0.6.7",
2727
"@react-hookz/web": "^25.1.1",
2828
"@readme/httpsnippet": "^11.0.0",
29-
"@readme/openapi-parser": "^3.0.3",
29+
"@readme/openapi-parser": "^4.0.0",
3030
"fetch-har": "^11.1.1",
3131
"lodash": "^4.17.21",
32-
"mixpanel-browser": "^2.64.0",
33-
"motion": "^12.9.4",
34-
"next": "^14.2.28",
35-
"next-seo": "^6.6.0",
32+
"mixpanel-browser": "^2.65.0",
33+
"motion": "^12.15.0",
34+
"next": "^14.2.29",
35+
"next-seo": "^6.8.0",
3636
"next-sitemap": "^4.2.3",
3737
"nextra": "^3.3.1",
3838
"openapi-types": "^12.1.3",
@@ -45,20 +45,20 @@
4545
"remark-callouts": "workspace:*",
4646
"theme-ui": "^0.17.2",
4747
"unist-util-visit": "^5.0.0",
48-
"zod": "^3.24.3"
48+
"zod": "^3.25.30"
4949
},
5050
"devDependencies": {
51-
"@types/lodash": "^4.17.16",
51+
"@types/lodash": "^4.17.17",
5252
"@types/mdast": "^4.0.4",
53-
"@types/mixpanel-browser": "^2.54.0",
54-
"@types/node": "^22.15.3",
55-
"@types/react": "^18.3.20",
53+
"@types/mixpanel-browser": "^2.60.0",
54+
"@types/node": "^22.15.21",
55+
"@types/react": "^18.3.23",
5656
"@types/react-dom": "^18.3.7",
5757
"autoprefixer": "^10.4.21",
58-
"fast-xml-parser": "^5.2.1",
58+
"fast-xml-parser": "^5.2.3",
5959
"postcss": "^8.5.3",
6060
"tailwindcss": "^3.4.17",
61-
"tsup": "^8.4.0",
61+
"tsup": "^8.5.0",
6262
"tsx": "^4.19.4"
6363
}
6464
}

website/src/HomePage.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { NetworkType } from '@pinax/graph-networks-registry'
22

33
import { ButtonOrLink, ExperimentalLink, Tooltip } from '@edgeandnode/gds'
44
import {
5+
APIToken,
56
Firehose,
67
GraphExplorer,
78
GraphNode,
89
SocialYouTube,
910
Subgraph,
1011
Substreams,
11-
SubstreamsPoweredSubgraph,
1212
} from '@edgeandnode/gds/icons'
1313
import { NetworkIcon } from '@edgeandnode/go'
1414

@@ -83,12 +83,14 @@ export default function HomePage({ supportedNetworks }: { supportedNetworks: Sup
8383
</div>
8484
<div className="grid grid-cols-1 gap-4 lg:grid-cols-3">
8585
<Card
86-
title={t('index.products.sps.title')}
87-
description={t('index.products.sps.description')}
88-
cta={<ExperimentalLink href="/sps/tutorial/">{t('index.products.sps.cta')}</ExperimentalLink>}
86+
title={t('index.products.tokenApi.title')}
87+
description={t('index.products.tokenApi.description')}
88+
cta={
89+
<ExperimentalLink href="/token-api/quick-start/">{t('index.products.tokenApi.cta')}</ExperimentalLink>
90+
}
8991
icon={
9092
<div className="flex size-8 items-center justify-center rounded-4 bg-space-1400 text-white">
91-
<SubstreamsPoweredSubgraph size={4} />
93+
<APIToken size={4} />
9294
</div>
9395
}
9496
/>

website/src/components/Heading.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ const BaseHeading = ({ as: Element = 'h1', id, className, children, ...props }:
3434
{id ? (
3535
<span
3636
className={`
37-
absolute inset-y-0 end-[calc(100%+theme(spacing[2.5]))] my-auto h-min opacity-0 transition
38-
group-hocus-visible-within/heading:opacity-100
37+
absolute end-[calc(100%+theme(spacing[2.5]))] top-0 flex h-[1lh] items-center opacity-0 transition
38+
group-hover/heading:opacity-100
39+
group-has-focus-visible/heading:opacity-100
3940
max-md:hidden
4041
`}
4142
>

website/src/pages/ar/archived/_meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import titles from './_meta-titles.json'
22

33
export default {
44
sunrise: '',
5-
arbitrum: titles.arbitrum,
5+
arbitrum: titles.arbitrum ?? '',
66
}

website/src/pages/ar/index.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"description": "Fetch and consume blockchain data with parallel execution.",
2020
"cta": "Develop with Substreams"
2121
},
22-
"sps": {
23-
"title": "Substreams-Powered Subgraphs",
24-
"description": "Boost your subgraph's efficiency and scalability by using Substreams.",
25-
"cta": "Set up a Substreams-powered subgraph"
22+
"tokenApi": {
23+
"title": "Token API",
24+
"description": "Query token data and leverage native MCP support.",
25+
"cta": "Develop with Token API"
2626
},
2727
"graphNode": {
2828
"title": "Graph Node",
@@ -70,7 +70,7 @@
7070
"subgraphs": "Subgraphs",
7171
"substreams": "متعدد-السلاسل",
7272
"firehose": "Firehose",
73-
"tokenapi": "Token API"
73+
"tokenApi": "Token API"
7474
}
7575
},
7676
"networkGuides": {
@@ -83,7 +83,7 @@
8383
"title": "Substreams quick start",
8484
"description": "Stream high-speed data for real-time indexing."
8585
},
86-
"tokenapi": {
86+
"tokenApi": {
8787
"title": "The Graph's Token API",
8888
"description": "Query token data and leverage native MCP support."
8989
},

website/src/pages/ar/indexing/_meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import titles from './_meta-titles.json'
22

33
export default {
44
overview: '',
5-
tooling: titles.tooling,
5+
tooling: titles.tooling ?? '',
66
tap: '',
77
'supported-network-requirements': '',
88
'chain-integration-overview': '',

website/src/pages/ar/resources/_meta.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ export default {
44
glossary: '',
55
tokenomics: '',
66
benefits: '',
7-
roles: titles.roles,
8-
'migration-guides': titles['migration-guides'],
7+
roles: titles.roles ?? '',
8+
'migration-guides': titles['migration-guides'] ?? '',
99
'subgraph-studio-faq': '',
10+
'claude-mcp': '',
1011
}

0 commit comments

Comments
 (0)