Skip to content

Commit

Permalink
Merge branch 'main' into querying-best-practices
Browse files Browse the repository at this point in the history
  • Loading branch information
benface authored Oct 16, 2024
2 parents 2f281e4 + 23f4c46 commit 636efbb
Show file tree
Hide file tree
Showing 252 changed files with 19,676 additions and 3,576 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

Expand All @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

Expand All @@ -84,7 +84,7 @@ jobs:
needs: [lint, format, typecheck]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

Expand Down
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@9.8.0
RUN npm install -g pnpm@9.12.1

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Please read [`CONTRIBUTING.md`](https://github.com/graphprotocol/docs/blob/main/

## Local Setup

This project is built on [Next.js](https://nextjs.org/). You can run it on your machine, provided you have [Node 16+](https://nodejs.org/en/) and [`pnpm`](https://pnpm.io) installed.
This project is built on [Next.js](https://nextjs.org/). You can run it on your machine, provided you have [Node 20+](https://nodejs.org/en/) and [`pnpm`](https://pnpm.io) installed.

First, clone the repo:

Expand Down
3 changes: 1 addition & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,9 @@ http {
rewrite ^/docs/([a-zA-Z][a-zA-Z])/cookbook/quick-start/$ $scheme://$http_host/docs/$1/quick-start/ permanent;
rewrite ^/docs/([a-zA-Z][a-zA-Z])/developer/assemblyscript-api/$ $scheme://$http_host/docs/$1/developing/graph-ts/api/ permanent;
rewrite ^/docs/([a-zA-Z][a-zA-Z])/developing/assemblyscript-api/$ $scheme://$http_host/docs/$1/developing/graph-ts/api/ permanent;
rewrite ^/docs/([a-zA-Z][a-zA-Z])/managing/deprecating-a-subgraph/$ $scheme://$http_host/docs/$1/managing/transfer-and-deprecate-a-subgraph/ permanent;
rewrite ^/docs/([a-zA-Z][a-zA-Z])/managing/transferring-subgraph-ownership/$ $scheme://$http_host/docs/$1/managing/transfer-and-deprecate-a-subgraph/ permanent;
rewrite ^/docs/en/substreams/(?!index\.).+$ https://substreams.streamingfast.io permanent;
rewrite ^/docs/en/firehose/(?!index\.).+$ https://firehose.streamingfast.io permanent;
rewrite ^/docs/([a-zA-Z][a-zA-Z])/deploying/deploying-a-subgraph-to-studio/$ $scheme://$http_host/docs/$1/deploying/deploy-using-subgraph-studio/ permanent;

# Temporary redirects (302)
rewrite ^/docs/en/querying/graph-client/$ $scheme://$http_host/docs/en/querying/graph-client/README/ redirect;
Expand Down
8 changes: 4 additions & 4 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@9.8.0",
"packageManager": "pnpm@9.12.1",
"scripts": {
"build": "NODE_OPTIONS='--max_old_space_size=4096' turbo run build",
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",
Expand All @@ -19,16 +19,16 @@
},
"devDependencies": {
"@edgeandnode/eslint-config": "^2.0.3",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-plugin-mdx": "^2.3.4",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
"prettier-plugin-tailwindcss": "^0.6.8",
"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.5.4"
"typescript": "^5.6.3"
}
}
20 changes: 10 additions & 10 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,27 @@
"theme-ui": "^0.16"
},
"dependencies": {
"@docsearch/react": "^3.6.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@docsearch/react": "^3.6.2",
"@radix-ui/react-collapsible": "^1.1.1",
"@radix-ui/react-visually-hidden": "^1.1.0",
"lodash": "^4.17.21",
"react-intersection-observer": "^9.13.0",
"react-intersection-observer": "^9.13.1",
"react-use": "^17.5.1"
},
"devDependencies": {
"@edgeandnode/gds": "^5.28.0",
"@edgeandnode/go": "^6.44.0",
"@edgeandnode/gds": "^5.31.6",
"@edgeandnode/go": "^6.56.0",
"@emotion/react": "^11.13.3",
"@types/lodash": "^4.17.7",
"@types/react": "^18.3.4",
"@types/lodash": "^4.17.10",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"next": "^14.2.6",
"next-seo": "^6.5.0",
"next": "^14.2.15",
"next-seo": "^6.6.0",
"nextra": "^2.13.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"theme-ui": "^0.16.2",
"tsup": "^8.2.4"
"tsup": "^8.3.0"
},
"sideEffects": false
}
10 changes: 5 additions & 5 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.20240821.1",
"@types/react": "^18.3.4",
"@cloudflare/workers-types": "^4.20241004.0",
"@types/react": "^18.3.11",
"jest-image-snapshot": "^6.4.0",
"tsx": "^4.17.0",
"typescript": "^5.5.4",
"tsx": "^4.19.1",
"typescript": "^5.6.3",
"vitest": "^1.6.0",
"wrangler": "^3.72.2"
"wrangler": "^3.80.2"
}
}
Loading

0 comments on commit 636efbb

Please sign in to comment.