Skip to content
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

Update dependencies to add missing supported network logos on "Get Started" page #649

Merged
merged 1 commit into from
Apr 24, 2024
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV ENVIRONMENT=$ENVIRONMENT
ENV PNPM_HOME="/usr/bin"

RUN apk add --no-cache git
RUN npm install -g pnpm@8.15.5
RUN npm install -g pnpm@9.0.5

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "the-graph-docs-monorepo",
"private": true,
"packageManager": "pnpm@8.15.5",
"packageManager": "pnpm@9.0.5",
"scripts": {
"build": "NODE_OPTIONS='--max_old_space_size=4096' turbo run build",
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",
Expand All @@ -27,7 +27,7 @@
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.13",
"prettier-plugin-tailwindcss": "^0.5.14",
"remark-frontmatter": "^5.0.0",
"remark-lint-first-heading-level": "^3.1.2",
"remark-lint-heading-increment": "^3.1.2",
Expand Down
12 changes: 6 additions & 6 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@edgeandnode/gds": "^5.4.3",
"@edgeandnode/go": "^6.5.3",
"@edgeandnode/gds": "^5.6.1",
"@edgeandnode/go": "^6.7.1",
"@emotion/react": "^11.11",
"next": "^13",
"next-seo": "^6",
Expand All @@ -43,13 +43,13 @@
"react-use": "^17.5.0"
},
"devDependencies": {
"@edgeandnode/gds": "^5.4.4",
"@edgeandnode/go": "^6.5.4",
"@edgeandnode/gds": "^5.6.1",
"@edgeandnode/go": "^6.7.1",
"@emotion/react": "^11.11.4",
"@types/lodash": "^4.17.0",
"@types/react": "^18.2.77",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"next": "^14.2.0",
"next": "^14.2.3",
"next-seo": "^6.5.0",
"nextra": "^2.13.4",
"react": "^18.2.0",
Expand Down
6 changes: 3 additions & 3 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.20240405.0",
"@types/react": "^18.2.77",
"@cloudflare/workers-types": "^4.20240423.0",
"@types/react": "^18.2.79",
"jest-image-snapshot": "^6.4.0",
"tsx": "^4.7.2",
"typescript": "^5.4.5",
"vitest": "^0.34.6",
"wrangler": "^3.50.0"
"wrangler": "^3.51.2"
}
}
6 changes: 3 additions & 3 deletions packages/og-image/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/* Base options */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"lib": ["es2022"],
"target": "ES2022",
"lib": ["ES2022"],
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
Expand All @@ -14,7 +14,7 @@
"strict": true,
"noUncheckedIndexedAccess": true,
/* NOT transpiling with TS */
"module": "esnext",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"jsx": "react-jsx",
Expand Down
23,697 changes: 11,982 additions & 11,715 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/* Base options */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"lib": ["es2022", "dom", "dom.iterable"],
"target": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
Expand All @@ -14,7 +14,7 @@
"strict": true,
"noUncheckedIndexedAccess": true,
/* NOT transpiling with TS */
"module": "esnext",
"module": "ESNext",
"moduleResolution": "node",
"noEmit": true,
"jsx": "preserve",
Expand Down
12 changes: 6 additions & 6 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@edgeandnode/common": "^6.1.1",
"@edgeandnode/gds": "^5.4.4",
"@edgeandnode/go": "^6.5.4",
"@edgeandnode/common": "^6.2.0",
"@edgeandnode/gds": "^5.6.1",
"@edgeandnode/go": "^6.7.1",
"@emotion/react": "^11.11.4",
"@graphprotocol/contracts": "^6.2.1",
"@graphprotocol/nextra-theme": "workspace:*",
"mixpanel-browser": "^2.49.0",
"next": "^14.2.0",
"next": "^14.2.3",
"next-seo": "^6.5.0",
"next-sitemap": "^4.2.3",
"nextra": "^2.13.4",
Expand All @@ -31,10 +31,10 @@
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@graphprotocol/client-cli": "^3.0.0",
"@graphprotocol/client-cli": "^3.0.1",
"@types/mdast": "^4.0.3",
"@types/mixpanel-browser": "^2.49.0",
"@types/react": "^18.2.77",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"autoprefixer": "^10.4.19",
"fast-xml-parser": "^4.3.6",
Expand Down
4 changes: 2 additions & 2 deletions website/src/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ function MyAppWithLocale({ Component, router, pageProps }: AppProps) {
<GDSProvider
clientRouter={router}
clientLink={NextLink}
mapButtonOrLinkProps={<T extends ButtonOrLinkProps>(props: T) => {
mapButtonOrLinkProps={(props) => {
// Only continue if `href` is set to a string that is not an anchor on the same page
if (!props.href || typeof props.href === 'object' || props.href.startsWith('#')) {
return props
}

let { href, target } = props
let { href, target } = props as ButtonOrLinkProps.ExternalLinkProps

// If the link is internal and absolute, ensure `href` is relative to the base path (i.e. starts with `/`,
// not `/docs/` or `https://...`) and includes a locale (by prepending the current locale if there is none)
Expand Down
Loading