Skip to content

[pull] main from graphprotocol:main #42

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

Open
wants to merge 217 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
6e97572
indexed argument & declared eth_calls moved/edited (#717)
idalithb Jul 11, 2024
590897f
added links for substreams codegen (#724)
idalithb Jul 11, 2024
7242342
-Removed two bridging links (#727)
idalithb Jul 16, 2024
ea02af2
removed banner (#728)
idalithb Jul 17, 2024
91d960f
Optimizing queries (#720)
idalithb Jul 17, 2024
5634476
Update dependencies, notably for updated `GlobalHeader` and `GlobalFo…
benface Jul 19, 2024
0a5a248
Rearranging & adding flags (#735)
idalithb Aug 7, 2024
8b31b4a
New Crowdin updates (#737)
benface Aug 8, 2024
dc89289
New Chain Integration + Minor changes to Chain Integration Overview (…
Giuliano-1 Aug 8, 2024
0fef8c1
major edits (#739)
idalithb Aug 9, 2024
a51de5e
Scrub HS from docs (#740)
MichaelMacaulay Aug 14, 2024
35a7874
edits (#745)
idalithb Aug 16, 2024
6982ad9
Managing subgraphs (#741)
idalithb Aug 19, 2024
6a307fe
removing hosted service card from landing page (#747)
idalithb Aug 19, 2024
8ce2224
Fixing typos (#750)
MichaelMacaulay Aug 22, 2024
478de07
HS Nav sweep (#748)
MichaelMacaulay Aug 22, 2024
f1ed1fc
Clean up redirects a little bit (#753)
benface Aug 22, 2024
8b8b347
Remove Next.js Bundle Analysis workflow (#752)
benface Aug 22, 2024
3dcc640
Update dependencies, notably `@edgeandnode/common` for the supported …
benface Aug 22, 2024
c3ff9f2
Update Curating (#754)
MichaelMacaulay Sep 3, 2024
04ea72d
Update arbitrum faq (#755)
idalithb Sep 3, 2024
ac8a126
Update quick-start.mdx (#756)
MichaelMacaulay Sep 4, 2024
854533d
TAPS Migration Guide (#757)
idalithb Sep 6, 2024
2b7c51c
Update tap.mdx (#759)
aasseman Sep 6, 2024
32d3584
removal (#762)
idalithb Sep 10, 2024
d24d667
Removing migration guide (no longer relevant) (#763)
MichaelMacaulay Sep 11, 2024
aa721d8
Quick start edits (#743)
idalithb Sep 12, 2024
6ed5cba
Creating subgraphs edits & restructure (#758)
idalithb Sep 12, 2024
69b117f
developing-page (#746)
idalithb Sep 13, 2024
dd9ecaf
Remove MIPs (#766)
MichaelMacaulay Sep 16, 2024
d3d4099
Temporarily remove TAP migration guide (#768)
benface Sep 16, 2024
5fffe03
Streamingfast/docs (#765)
Giuliano-1 Sep 16, 2024
b9d5a1c
fixing links (#770)
idalithb Sep 16, 2024
b8c1764
Updating Developer FAQ (#767)
MichaelMacaulay Sep 17, 2024
996eef8
Multiple networks and templates.yaml (#761)
MichaelMacaulay Sep 17, 2024
3949b8d
Revert "Temporarily remove TAP migration guide" (#771)
MichaelMacaulay Sep 17, 2024
bdcec32
Update SpS Tutorial (#773)
enoldev Sep 18, 2024
f2384c4
Add video (#776)
MichaelMacaulay Sep 19, 2024
8e9bcf8
Graph explorer (#775)
idalithb Sep 19, 2024
c75e131
Updating glossary
MichaelMacaulay Sep 20, 2024
7b55d50
Revert "Updating glossary"
MichaelMacaulay Sep 20, 2024
76570a3
Update glossary (#778)
MichaelMacaulay Sep 20, 2024
56d0d0c
Clean up billing (#779)
MichaelMacaulay Sep 20, 2024
a27ae49
API-Edits (#781)
idalithb Sep 20, 2024
3099415
Delegating-edits (#772)
idalithb Sep 21, 2024
a705676
Querying-best-practices edits (#782)
idalithb Sep 21, 2024
5dc472a
Network Overview-Clean Up (#784)
idalithb Oct 2, 2024
58cb1a6
GraphQL API (#785)
idalithb Oct 2, 2024
ee80d5a
Creating a Subgraph (#786)
idalithb Oct 7, 2024
65c21c7
Update SpecVersion (#789)
MichaelMacaulay Oct 7, 2024
525369d
docs: update delegating.mdx (#790)
denverbaumgartner Oct 8, 2024
da16942
Update dependencies to refresh Supported Networks (+ sort them by nam…
benface Oct 8, 2024
d81678e
Update tokenomics (#780)
MichaelMacaulay Oct 8, 2024
1605b4b
Fix CIP order in nav (#792)
MichaelMacaulay Oct 9, 2024
ea09775
Update dependencies to refresh Supported Networks (#793)
benface Oct 10, 2024
80b8a89
Managing sub (#787)
idalithb Oct 11, 2024
7453307
Deploy subgraph (#788)
idalithb Oct 11, 2024
c572f67
Update (#794)
MichaelMacaulay Oct 14, 2024
23f4c46
Adding Subgraphs Page (#795)
idalithb Oct 15, 2024
b0bb012
typo in docs "querying-from-an-application.mdx" (#783)
yanky2000 Oct 16, 2024
b22ab57
Revert "Deploy subgraph" (#797)
idalithb Oct 17, 2024
996ae98
Querying Best Practices (#796)
idalithb Oct 17, 2024
2a18984
Update image (#799)
MichaelMacaulay Oct 18, 2024
498eb24
Fix link (#801)
MichaelMacaulay Oct 22, 2024
5650fa2
Fix list item numbering in `substreams` page (#800)
benface Oct 22, 2024
ebdac80
Fix broken launchpad chart link (#777)
Eduard-Voiculescu Oct 22, 2024
4a0d858
Update dependencies to refresh supported networks (including logos) (…
benface Oct 23, 2024
fc5b636
Matchstick Copy Edits (#805)
idalithb Oct 25, 2024
e279833
Update (#804)
MichaelMacaulay Oct 28, 2024
51106cf
Images add (#808)
idalithb Oct 30, 2024
8d3541b
Redirect TAP Version to indexer docs (#774)
gusinacio Oct 31, 2024
0acfeaf
Revert "Revert "Deploy subgraph" (#797)" (#810)
idalithb Nov 4, 2024
4877ebe
Updating Contracts Table (#812)
idalithb Nov 5, 2024
a77c914
Fixing Gateway Table (#814)
idalithb Nov 6, 2024
627e08a
Querying from app (#807)
idalithb Nov 7, 2024
814fba4
Updating images (#813)
idalithb Nov 11, 2024
3ba7f52
Fixing Command (#816)
idalithb Nov 12, 2024
e6c814b
Remove query key (#817)
MichaelMacaulay Nov 13, 2024
19adf25
Transfer to The Graph Cookbook (#803)
idalithb Nov 15, 2024
5a22177
Cookbook-Enums (#798)
idalithb Nov 15, 2024
c2bcd86
Update dependencies + show Soneium Testnet on Get Started page (#821)
benface Nov 20, 2024
62f761f
Update indexing.mdx (#820)
denverbaumgartner Nov 22, 2024
584a52c
Editing Quick Start (#823)
MichaelMacaulay Nov 22, 2024
ef6d199
Update curating.mdx (#824)
wanasim Nov 27, 2024
2c6c1ae
Managing API Keys-Update (#822)
idalithb Nov 27, 2024
6d5725a
Change dApp to dapp in curating.mdx (#827)
ignatyus Nov 28, 2024
82da910
Deprecate Page Updates (#818)
idalithb Dec 3, 2024
d4e3588
Breaking up creating subgraph flow (#811)
idalithb Dec 4, 2024
3a19272
update substreams logo (#831)
0xa3k5 Dec 6, 2024
5a7f89c
Developing & Subgraphs (#830)
idalithb Dec 9, 2024
de8795f
Intro Page for Creating a Subgraph (#832)
idalithb Dec 10, 2024
1420c3c
Updating Tokenonomics (#829)
idalithb Dec 11, 2024
e674dea
Subgraph Best Practices 5 and 6 (#825)
marcusrein Dec 12, 2024
df0a972
Fix page `title`
benface Dec 12, 2024
b0409e5
Editing quick start (#836)
MichaelMacaulay Dec 13, 2024
a8f1fc6
New Crowdin updates (#837)
benface Dec 13, 2024
00fe78c
Update dependencies + add `fix-pages-structure` script and run it bef…
benface Dec 16, 2024
06315ec
Update locales (remove those not in Crowdin) (#840)
benface Dec 16, 2024
150f812
Add `move-pages` script (#842)
benface Dec 16, 2024
7f9a426
Fix URLs (#841)
MichaelMacaulay Dec 16, 2024
26027b9
Onchain Language (#834)
idalithb Dec 18, 2024
8bebd2e
New navigation (#819)
idalithb Dec 19, 2024
f74b955
Update starting-your-subgraph.mdx (#845)
idalithb Dec 20, 2024
fe24672
fix:typos (#846)
yash251 Dec 23, 2024
b77402c
Update substreams-powered-subgraphs.mdx (#850)
idalithb Jan 13, 2025
fecb7cd
Query-Intro (#848)
idalithb Jan 13, 2025
5f28ecb
Update dependencies, notably `@edgeandnode/common` to update supporte…
benface Jan 14, 2025
3b3fc9e
Query app update (#853)
idalithb Jan 16, 2025
cd4630a
Subgraph quickstart updates (#851)
marcusrein Jan 16, 2025
96c14df
Adding Clarity-Query-app (#855)
idalithb Jan 17, 2025
d1a794b
Update Delegation Page
MichaelMacaulay Jan 17, 2025
8cf1db9
Revert "Update Delegation Page"
MichaelMacaulay Jan 17, 2025
802ef78
Updating Delegation Page (#856)
MichaelMacaulay Jan 21, 2025
9498702
Replace `GlobalHeader` by `MarketingNavbar` (#859)
benface Jan 25, 2025
db4fd82
Keep current origin when clicking on (staging.)thegraph.com links (#860)
benface Jan 26, 2025
48598b0
Updates to Substreams docs and to New Chain Integrations (#849)
Giuliano-1 Jan 26, 2025
6ac3474
Adding Polymarket Cookbook (#858)
MichaelMacaulay Jan 27, 2025
3a99ef4
Updates to Substreams docs and to New Chain Integrations (#862)
Giuliano-1 Jan 28, 2025
4811a66
Try to fix links
benface Jan 28, 2025
3d8c0e6
Revert "Keep current origin when clicking on (staging.)thegraph.com l…
benface Jan 28, 2025
f1ed4f6
Fix SPS redirects (#863)
benface Jan 28, 2025
7464e75
Keep current origin when clicking on (staging.)thegraph.com links (fi…
benface Jan 29, 2025
9323111
Timeseries and aggregations edits (#865)
MichaelMacaulay Jan 29, 2025
5a1a542
Use `@pinax/graph-networks-registry` for Supported Networks (#867)
benface Feb 1, 2025
01ded01
Remove unneeded hack after registry update
benface Feb 1, 2025
8f719c8
Undelegating (#868)
idalithb Feb 6, 2025
04d6097
Adding example (#866)
MichaelMacaulay Feb 10, 2025
f938d65
Fixing Links (#870)
idalithb Feb 11, 2025
c06e99e
Run `fix-pages-structure` script
benface Feb 13, 2025
c042efe
Redesign (v2) (#873)
benface Feb 13, 2025
6ed8a7a
Fix nav styles in Firefox, which doesn’t support style queries
benface Feb 14, 2025
84c7140
Fix markdown causing issues when it gets re-generated by Crowdin
benface Feb 14, 2025
a5b2207
New Crowdin updates (#877)
benface Feb 14, 2025
d5de9f3
remove cosmos (#882)
yash251 Feb 18, 2025
4a8fd7a
Updating Timeseries (#883)
idalithb Feb 18, 2025
cee1092
Tweak folder structure + widen sidebar, shorten sidebar titles + upda…
benface Feb 19, 2025
a8d0588
Updating Subgraph Compatibility (#884)
idalithb Feb 20, 2025
2caea41
Moving specversion releases (#876)
MichaelMacaulay Feb 21, 2025
ef5291b
New caps (#886)
MichaelMacaulay Feb 25, 2025
71f4c62
Update Crowdin config because we have some `.md` files now
benface Feb 25, 2025
603d477
Do not run `fetch-remote-docs` or `fix-pages-structure` on `predev`, …
benface Feb 27, 2025
b355d5c
Comp-Updated (#879)
idalithb Mar 5, 2025
6d9362f
Three Source Example (#889)
idalithb Mar 5, 2025
679f4bb
Remove merge conflict marker
benface Mar 6, 2025
8db2b50
Run `pnpm build`
benface Mar 6, 2025
f327971
reading time & last updated indicator designs (#891)
0xa3k5 Mar 7, 2025
ece1ea8
update Spec and Api versions + typos (#894)
yash251 Mar 7, 2025
c6c1919
Quick Removal (#896)
idalithb Mar 12, 2025
cf40bad
updating recent changes (#897)
MichaelMacaulay Mar 18, 2025
397516e
Adding redirect (#900)
MichaelMacaulay Mar 18, 2025
36c7533
Adding redirect (#903)
MichaelMacaulay Mar 19, 2025
a7bd190
Update typo (#901)
MichaelMacaulay Mar 19, 2025
88a92b4
Update dependencies + use new GDS components and colors + squash some…
benface Mar 21, 2025
6a8397c
Contract analyzer cli - cookbook entry created (#904)
marcusrein Mar 24, 2025
a10724a
Add Token API docs (#906)
benface Mar 27, 2025
3ed272e
Update quick-start.mdx (#907)
UrsaPolarisRecords Mar 27, 2025
95b0d60
More `token-api.service.pinax.network` => `token-api.thegraph.com` re…
benface Mar 27, 2025
b26a993
Token api quick updates (#908)
MichaelMacaulay Mar 27, 2025
2f572c7
Move source-modifying scripts out of prebuild to avoid unintentionall…
benface Mar 31, 2025
22f2f8c
Adding Stellar (#914)
idalithb Apr 2, 2025
80746b7
FAQ (#912)
MichaelMacaulay Apr 2, 2025
8411d42
Supported networks pages (#913)
hayderkg Apr 3, 2025
0253170
GraphTally Update (#916)
MichaelMacaulay Apr 3, 2025
0c37875
Adding link to pricing page (#917)
MichaelMacaulay Apr 3, 2025
f66613a
Publish composable subgraphs (#919)
MichaelMacaulay Apr 5, 2025
acf283e
New Crowdin updates (#920)
benface Apr 5, 2025
6b45405
Update relative link (#925)
MichaelMacaulay Apr 8, 2025
481de29
Add resources for chain-specific landing pages (#923)
hayderkg Apr 9, 2025
b7db187
Update quick-start.mdx (#927)
UrsaPolarisRecords Apr 9, 2025
4115587
Quickstart edits (#926)
MichaelMacaulay Apr 10, 2025
e7e724d
Graph Explorer Revamp (#928)
idalithb Apr 10, 2025
4bd4a86
About The Graph Update (#929)
idalithb Apr 14, 2025
75e1429
Adding Stellar to Quick-Start (#930)
idalithb Apr 15, 2025
1dc53fd
Updates (#931)
MichaelMacaulay Apr 16, 2025
4a4f3a4
Update quick-start.mdx (#933)
UrsaPolarisRecords Apr 22, 2025
c9382c6
Graphql revampt (#932)
MichaelMacaulay Apr 23, 2025
326eb3b
Removing note (#938)
idalithb Apr 25, 2025
5dc31ee
Update faq.mdx (#937)
UrsaPolarisRecords Apr 29, 2025
c9504c4
Quick fix (#940)
MichaelMacaulay Apr 29, 2025
0d04038
Fix table
benface Apr 29, 2025
4a4c3ae
Moving SpS (#939)
idalithb Apr 29, 2025
7f09555
About The Graph update (#942)
MichaelMacaulay May 2, 2025
8ddd5d4
Update Token API docs (#943)
benface May 2, 2025
722624e
Update dependencies + clean up (#922)
benface May 3, 2025
631f8f0
Remove Subgraph (#941)
MichaelMacaulay May 5, 2025
d5e91c4
Updating Endpoint (#945)
idalithb May 5, 2025
eb5a3e3
Update utils.ts (#935)
UrsaPolarisRecords May 6, 2025
92488fc
make g and docs two links and update layout a bit (#934)
0xa3k5 May 7, 2025
ad3ab00
Adding two docs (#950)
idalithb May 15, 2025
6d3fd12
Increase Supported Networks Title (#953)
hayderkg May 16, 2025
82b8130
Edits (#951)
MichaelMacaulay May 16, 2025
bafc80e
Katara subgraph vs deployment (#955)
MichaelMacaulay May 19, 2025
ebf2f2b
Updating Manage API Keys (#954)
idalithb May 20, 2025
6fd5f81
Subgraph mcp (#949)
MichaelMacaulay May 21, 2025
196624c
docs: Add Subgraph MPC guide
May 23, 2025
9030e4c
Updating Best Practices (#959)
idalithb May 27, 2025
eac76ff
GraphQL API Rewrite (#947)
MichaelMacaulay May 28, 2025
5583e23
Update dependencies + change “Substreams-Powered Subgraphs” card on h…
benface May 29, 2025
e40b100
Copy fix (#962)
MichaelMacaulay May 29, 2025
5cffb4b
Patch 11 (#965)
UrsaPolarisRecords May 29, 2025
9a24a35
Update quick-start.mdx (#964)
UrsaPolarisRecords May 29, 2025
eb2fc76
Update Token API (#968)
benface May 29, 2025
1b2aad8
From Update utils.ts #972 (#973)
idalithb Jun 4, 2025
49ea30e
Header updates (#974)
hayderkg Jun 5, 2025
039319d
Update Token API from staging OpenAPI JSON (#976)
benface Jun 5, 2025
2ea9cb8
Fixes for Indexing Section (#971)
idalithb Jun 5, 2025
8da33d5
Update IPFS URL --> https://ipfs.thegraph.com/ (#978)
fordN Jun 6, 2025
d854a87
Firehose Description (#979)
idalithb Jun 7, 2025
bdb6aff
Style inline images properly (#980)
benface Jun 10, 2025
d9c9ba1
Supported networks table (#975)
hayderkg Jun 10, 2025
44a5791
Update quick-start.mdx (#981)
UrsaPolarisRecords Jun 10, 2025
a7e88cf
docs: update subgraph mcp resource name from The Graph to Subgraph Se…
sahra-karakoc Jun 11, 2025
cd9ae21
update callout link on supported networks page (#982)
0xa3k5 Jun 12, 2025
130c551
Updating from "Intro" to "How-to" (#956)
idalithb Jun 12, 2025
16dfb15
Update quick-start.mdx (#983)
UrsaPolarisRecords Jun 16, 2025
6e2347b
Update Token API MCP URL (#986)
benface Jun 20, 2025
b890e07
Update faq.mdx (#988)
UrsaPolarisRecords Jun 23, 2025
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
37 changes: 0 additions & 37 deletions .eslintrc.cjs

This file was deleted.

43 changes: 43 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// @ts-check

const isVSCode = Boolean(process.env.VSCODE_PID)

/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
overrides: [
{
files: ['*.{ts,tsx,js,jsx,mjs,cjs}'],
extends: ['@edgeandnode/eslint-config', '@edgeandnode/eslint-config/next'],
settings: {
next: { rootDir: 'website' },
},
},
{
files: ['*.{ts,tsx}'],
parserOptions: {
project: true,
},
},
{
// Only lint the English pages because the Markdown for the other languages is auto-generated from English (via Crowdin).
// But include all languages when running the ESLint extension in VS Code (in case the user has "eslint.validate": ["mdx"]),
// otherwise there will be random errors since the non-English files don't match any ruleset.
files: [`website/src/pages/${isVSCode ? '' : 'en/'}**/*.{md,mdx}`],
excludedFiles: [
'website/src/pages/*/subgraphs/developing/creating/graph-ts/*.md',
'website/src/pages/*/subgraphs/querying/graph-client/*.md',
],
parser: 'eslint-mdx',
processor: 'mdx/remark',
plugins: ['mdx'],
rules: {
'mdx/remark': 'error',
},
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
},
],
}
3 changes: 2 additions & 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 All @@ -37,6 +37,7 @@ jobs:
cache-to: type=inline
build-args: |
ENVIRONMENT=production
ORIGIN=https://thegraph.com
tags: |
${{ env.BASE_IMAGE }}:${{ github.sha }}
${{ env.BASE_IMAGE }}:latest
Expand Down
29 changes: 9 additions & 20 deletions .github/workflows/ci-cd-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,15 @@ 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 }}

- name: Check out the repo
uses: actions/checkout@v4

- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
uses: the-guild-org/shared-config/setup@v1

- name: Install dependencies
run: pnpm install
Expand All @@ -35,18 +32,15 @@ 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 }}

- name: Check out the repo
uses: actions/checkout@v4

- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
uses: the-guild-org/shared-config/setup@v1

- name: Install dependencies
run: pnpm install
Expand All @@ -59,18 +53,15 @@ 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 }}

- name: Check out the repo
uses: actions/checkout@v4

- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
uses: the-guild-org/shared-config/setup@v1

- name: Install dependencies
run: pnpm install
Expand All @@ -84,18 +75,15 @@ 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 }}

- name: Check out the repo
uses: actions/checkout@v4

- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
uses: the-guild-org/shared-config/setup@v1

- name: Install dependencies
run: pnpm install
Expand All @@ -107,4 +95,5 @@ jobs:
cache-from: type=registry,ref=${{ env.BASE_IMAGE }}:latest
build-args: |
ENVIRONMENT=staging
ORIGIN=https://staging.thegraph.com
push: false
3 changes: 2 additions & 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 All @@ -38,6 +38,7 @@ jobs:
cache-to: type=inline
build-args: |
ENVIRONMENT=staging
ORIGIN=https://staging.thegraph.com
tags: |
${{ env.BASE_IMAGE }}:${{ github.sha }}
${{ env.BASE_IMAGE }}:latest
Expand Down
112 changes: 0 additions & 112 deletions .github/workflows/next-js-bundle-analysis.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/opengraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
ref: ${{ env.COMMIT }}

- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
uses: the-guild-org/shared-config/setup@v1

- name: Deploy
working-directory: ./packages/og-image
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/website-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
website-check:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

Expand All @@ -21,12 +21,12 @@ jobs:
run: git fetch origin main

- name: Set up env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 20
packageManager: pnpm
uses: the-guild-org/shared-config/setup@v1

- name: Run pre-build scripts
run: pnpm prebuild:ci

- name: Build Site
- name: Build
run: pnpm build

- name: Compare
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ build/
.eslintcache
dist/
.turbo/
packages/og-image/vender/*.wasm
packages/og-image/vendor/*.wasm
.wrangler/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
6 changes: 4 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
out/
pnpm-lock.yaml
dist/
website/remote-files/*.json
website/.graphclient/
# fetched files
website/src/openApi/*.json
website/src/pages/*/subgraphs/developing/creating/graph-ts/*.md
website/src/pages/*/subgraphs/querying/graph-client/*.md
8 changes: 7 additions & 1 deletion .remarkrc.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import remarkFrontmatter from 'remark-frontmatter'

/**
* This config is used by `eslint-plugin-mdx` to lint the MDX files, not by Nextra.
* Nextra uses the remark and rehype plugins registered in `next.config.js`, under `mdxOptions`.
*/
export default {
plugins: [
'frontmatter', // should be defined
remarkFrontmatter,
['remark-lint-first-heading-level', 2],
['remark-lint-restrict-elements', { type: 'heading', depth: 1 }],
'remark-lint-heading-increment',
Expand Down
Loading