Skip to content

Commit

Permalink
Compile remote docs with md parser instead of mdx + update depend…
Browse files Browse the repository at this point in the history
…encies (graphprotocol#493)

* Update dependencies (except Next and Nextra due to weird issues)

* Improve ESLint and TS configs

* Tweak `package.json` scripts

* Don’t consider a link on thegraph.com domain to be external

* Delete orphan pages (translated pages that no longer have a matching English page)

* Show issue with Nextra 2.9.0+

* tadaaam

* Update pnpm and other dependencies

---------

Co-authored-by: Dimitri POSTOLOV <[email protected]>
  • Loading branch information
benface and dimaMachina authored Aug 28, 2023
1 parent 0425338 commit 00afbb5
Show file tree
Hide file tree
Showing 12 changed files with 494 additions and 493 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:18-alpine as builder
ENV PNPM_HOME="/usr/bin"

RUN apk add --no-cache git
RUN npm install -g pnpm@8.6.9
RUN npm install -g pnpm@8.7.0

WORKDIR /app

Expand Down
6 changes: 3 additions & 3 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.6.9",
"packageManager": "pnpm@8.7.0",
"scripts": {
"build": "NODE_OPTIONS='--max_old_space_size=4096' turbo run build",
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",
Expand All @@ -23,7 +23,7 @@
},
"devDependencies": {
"@edgeandnode/eslint-config": "^2.0.2",
"eslint": "^8.47.0",
"eslint": "^8.48.0",
"eslint-plugin-mdx": "^2.2.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
Expand All @@ -35,7 +35,7 @@
"remark-lint-no-heading-punctuation": "^3.1.2",
"remark-lint-restrict-elements": "workspace:*",
"turbo": "^1.10.13",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,mjs,cjs}": "eslint --fix",
Expand Down
4 changes: 2 additions & 2 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@emotion/react": "^11.11",
"next": "^13",
"next-seo": "^6",
"nextra": "^2.7",
"nextra": "^2.12",
"react-dom": "^18.2",
"theme-ui": "^0.16"
},
Expand All @@ -51,7 +51,7 @@
"@types/react-dom": "^18.2.7",
"next": "13.4.12",
"next-seo": "^6.1.0",
"nextra": "2.7.1",
"nextra": "^2.12.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"theme-ui": "^0.16.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-lint-restrict-elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"dependencies": {
"unified-lint-rule": "^2.1.2",
"unist-util-visit": "^4.1.2"
"unist-util-visit": "^5.0.0"
},
"sideEffects": false
}
Loading

0 comments on commit 00afbb5

Please sign in to comment.