Skip to content
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"name": "the-graph-docs-monorepo",
"private": true,
"packageManager": "pnpm@9.13.2",
"packageManager": "pnpm@9.15.0",
"scripts": {
"build": "NODE_OPTIONS='--max_old_space_size=4096' turbo run build",
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",
"check:fix": "pnpm typecheck; pnpm lint:fix",
"dev": "turbo run dev --parallel",
"build": "NODE_OPTIONS='--max_old_space_size=4096' turbo run build",
"docker:build": "source ./website/.env.local && DOCKER_BUILDKIT=1 docker build . -t docs --no-cache --build-arg ENVIRONMENT=$ENVIRONMENT",
"docker:clean": "docker builder prune",
"docker:up": "docker run --rm -it -p 3000:80 -v \"$(pwd)/nginx.conf:/etc/nginx/nginx.conf\" docs",
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",
"check:fix": "pnpm typecheck; pnpm lint:fix",
"typecheck": "turbo run typecheck",
"lint": "eslint . --cache --ignore-path .gitignore --max-warnings 0",
"lint:fix": "eslint . --cache --ignore-path .gitignore --fix; pnpm prettier",
"prettier": "pnpm prettier:check --write",
"prettier:check": "prettier --cache --check .",
"test": "turbo run test",
"typecheck": "turbo run typecheck"
"test": "turbo run test"
},
"devDependencies": {
"@edgeandnode/eslint-config": "^2.0.3",
"eslint": "^8.57.1",
"eslint-plugin-mdx": "^2.3.4",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"remark-frontmatter": "^5.0.0",
"remark-lint-first-heading-level": "^3.1.2",
"remark-lint-heading-increment": "^3.1.2",
"remark-lint-no-heading-punctuation": "^3.1.2",
"remark-lint-restrict-elements": "workspace:*",
"turbo": "^1.13.4",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}
18 changes: 9 additions & 9 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@
},
"dependencies": {
"@docsearch/react": "^3.8.0",
"@radix-ui/react-collapsible": "^1.1.1",
"@radix-ui/react-visually-hidden": "^1.1.0",
"@radix-ui/react-collapsible": "^1.1.2",
"@radix-ui/react-visually-hidden": "^1.1.1",
"lodash": "^4.17.21",
"react-intersection-observer": "^9.13.1",
"react-use": "^17.5.1"
"react-use": "^17.6.0"
},
"devDependencies": {
"@edgeandnode/gds": "~5.34.0",
"@edgeandnode/go": "~6.60.0",
"@emotion/react": "^11.13.3",
"@edgeandnode/gds": "^5.39.1",
"@edgeandnode/go": "^6.74.0",
"@emotion/react": "^11.14.0",
"@types/lodash": "^4.17.13",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"next": "^14.2.18",
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"next": "^14.2.20",
"next-seo": "^6.6.0",
"nextra": "^2.13.4",
"react": "^18.3.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/nextra-theme/src/layout/MDXLayoutNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ export const MDXLayoutNav = ({ mobile = false }: { mobile?: boolean }) => {
return <NavTree.Heading key={pageItem.name}>{pageItem.title}</NavTree.Heading>
}
if ('children' in pageItem && pageItem.children) {
if (pageItem.children.length === 0) {
return null
}

if (pageItem.type === 'children') {
return <Fragment key={pageItem.name}>{pageItem.children.map(renderSidebar)}</Fragment>
}
Expand Down
8 changes: 4 additions & 4 deletions packages/og-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"yoga-wasm-web": "0.3.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241112.0",
"@types/react": "^18.3.12",
"@cloudflare/workers-types": "^4.20241205.0",
"@types/react": "^18.3.16",
"jest-image-snapshot": "^6.4.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript": "^5.7.2",
"vitest": "^1.6.0",
"wrangler": "^3.87.0"
"wrangler": "^3.95.0"
}
}
7,874 changes: 3,985 additions & 3,889 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

23 changes: 12 additions & 11 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@
"type": "module",
"private": true,
"scripts": {
"build": "rm -rf .next && rm -rf out && next build",
"dev": "next",
"build": "rm -rf .next && rm -rf out && next build",
"fetch-remote-filepaths": "tsx scripts/fetch-remote-filepaths.ts",
"postbuild": "next-sitemap --config next-sitemap.config.mjs && node scripts/sitemap-ci.js",
"prebuild": "pnpm fetch-remote-filepaths",
"fix-pages-structure": "tsx scripts/fix-pages-structure.ts",
"predev": "pnpm fetch-remote-filepaths",
"prebuild": "pnpm fetch-remote-filepaths && pnpm fix-pages-structure",
"postbuild": "next-sitemap --config next-sitemap.config.mjs && node scripts/sitemap-ci.js",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@edgeandnode/common": "^6.30.0",
"@edgeandnode/gds": "~5.34.0",
"@edgeandnode/go": "~6.60.0",
"@emotion/react": "^11.13.3",
"@edgeandnode/common": "^6.38.0",
"@edgeandnode/gds": "^5.39.1",
"@edgeandnode/go": "^6.74.0",
"@emotion/react": "^11.14.0",
"@graphprotocol/contracts": "6.2.1",
"@graphprotocol/nextra-theme": "workspace:*",
"@phosphor-icons/react": "^2.1.7",
"mixpanel-browser": "^2.56.0",
"next": "^14.2.18",
"next": "^14.2.20",
"next-seo": "^6.6.0",
"next-sitemap": "^4.2.3",
"nextra": "^2.13.4",
Expand All @@ -35,13 +36,13 @@
"@graphprotocol/client-cli": "3.0.3",
"@types/mdast": "^4.0.4",
"@types/mixpanel-browser": "^2.50.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"autoprefixer": "^10.4.20",
"fast-xml-parser": "^4.5.0",
"graphql": "^16.9.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"tailwindcss": "^3.4.16",
"tsx": "^4.19.2",
"unified": "^11.0.5"
}
Expand Down
2 changes: 1 addition & 1 deletion website/pages/ar/_meta.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import meta from '../en/_meta.js'

export default {
...structuredClone(meta),
...meta,
}
Loading
Loading