Skip to content

Commit

Permalink
Update dependencies, including @edgeandnode/common + remove `Sunris…
Browse files Browse the repository at this point in the history
…eCountdownBanner` (#721)

* Update dependencies, including `@edgeandnode/common`

* Use ESM where possible

* Remove `SunriseCountdownBanner`
  • Loading branch information
benface committed Jun 28, 2024
1 parent ebe269e commit da2d6f8
Show file tree
Hide file tree
Showing 14 changed files with 1,692 additions and 1,389 deletions.
2 changes: 1 addition & 1 deletion .remarkrc.cjs → .remarkrc.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: [
'frontmatter', // should be defined
['remark-lint-first-heading-level', 2],
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.2.0
RUN npm install -g pnpm@9.4.0

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@9.2.0",
"packageManager": "pnpm@9.4.0",
"scripts": {
"build": "NODE_OPTIONS='--max_old_space_size=4096' turbo run build",
"check": "pnpm typecheck && pnpm lint && pnpm prettier:check",
Expand Down Expand Up @@ -29,6 +29,6 @@
"remark-lint-no-heading-punctuation": "^3.1.2",
"remark-lint-restrict-elements": "workspace:*",
"turbo": "^1.13.4",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
}
}
10 changes: 5 additions & 5 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@
},
"dependencies": {
"@docsearch/react": "^3.6.0",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-visually-hidden": "^1.0.3",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-visually-hidden": "^1.1.0",
"lodash": "^4.17.21",
"react-intersection-observer": "^9.10.3",
"react-use": "^17.5.0"
},
"devDependencies": {
"@edgeandnode/gds": "^5.17.0",
"@edgeandnode/go": "^6.25.0",
"@edgeandnode/gds": "^5.21.0",
"@edgeandnode/go": "^6.31.0",
"@emotion/react": "^11.11.4",
"@types/lodash": "^4.17.5",
"@types/lodash": "^4.17.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"next": "^14.2.4",
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.20240614.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@types/react": "^18.3.3",
"jest-image-snapshot": "^6.4.0",
"tsx": "^4.15.6",
"typescript": "^5.4.5",
"tsx": "^4.15.7",
"typescript": "^5.5.2",
"vitest": "^1.6.0",
"wrangler": "^3.60.3"
"wrangler": "^3.62.0"
}
}
3,000 changes: 1,641 additions & 1,359 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions prettier.config.js → prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/** @type {import('prettier').Options} */
module.exports = {
export default {
singleQuote: true,
semi: false,
printWidth: 120,
proseWrap: 'never',
plugins: ['prettier-plugin-tailwindcss'],
tailwindConfig: './website/tailwind.config.ts',
tailwindConfig: './website/tailwind.config.mjs',
tailwindPreserveWhitespace: true,
tailwindFunctions: ['classNames'],
overrides: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import('next-sitemap').IConfig} */
module.exports = {
export default {
siteUrl: process.env.SITE_URL,
generateIndexSitemap: false,
}
4 changes: 1 addition & 3 deletions website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ export const getStaticProps = async context => ({
},
})

/**
* @type {import('next').NextConfig}
*/
/** @type {import('next').NextConfig} */
export default withNextra({
env,
output: 'export',
Expand Down
16 changes: 8 additions & 8 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
"build": "rm -rf .next && rm -rf out && next build",
"dev": "next",
"fetch-remote-filepaths": "tsx scripts/fetch-remote-filepaths.ts",
"postbuild": "next-sitemap --config next-sitemap.config.cjs && node scripts/sitemap-ci.js",
"postbuild": "next-sitemap --config next-sitemap.config.mjs && node scripts/sitemap-ci.js",
"prebuild": "pnpm fetch-remote-filepaths",
"predev": "pnpm fetch-remote-filepaths",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@edgeandnode/common": "^6.11.0",
"@edgeandnode/gds": "^5.17.0",
"@edgeandnode/go": "^6.25.0",
"@edgeandnode/common": "^6.13.0",
"@edgeandnode/gds": "^5.21.0",
"@edgeandnode/go": "^6.31.0",
"@emotion/react": "^11.11.4",
"@graphprotocol/contracts": "6.2.1",
"@graphprotocol/nextra-theme": "workspace:*",
"@phosphor-icons/react": "^2.1.6",
"mixpanel-browser": "^2.52.0",
"mixpanel-browser": "^2.53.0",
"next": "^14.2.4",
"next-seo": "^6.5.0",
"next-sitemap": "^4.2.3",
Expand All @@ -39,11 +39,11 @@
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"fast-xml-parser": "^4.4.0",
"graphql": "^16.8.2",
"graphql": "^16.9.0",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4",
"tsx": "^4.15.6",
"unified": "^11.0.4"
"tsx": "^4.15.7",
"unified": "^11.0.5"
},
"nextBundleAnalysis": {
"budget": 358400,
Expand Down
2 changes: 1 addition & 1 deletion website/postcss.config.cjs → website/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
Expand Down
24 changes: 24 additions & 0 deletions website/route-lockfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
/ar/release-notes/graphql-validations-migration-guide/
/ar/substreams/
/ar/sunrise/
/ar/supported-network-requirements/
/ar/tokenomics/
/cs/
/cs/404/
Expand Down Expand Up @@ -116,6 +117,7 @@
/cs/release-notes/graphql-validations-migration-guide/
/cs/substreams/
/cs/sunrise/
/cs/supported-network-requirements/
/cs/tokenomics/
/de/about/
/de/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -173,6 +175,7 @@
/de/release-notes/graphql-validations-migration-guide/
/de/substreams/
/de/sunrise/
/de/supported-network-requirements/
/de/tokenomics/
/en/
/en/404/
Expand Down Expand Up @@ -248,6 +251,7 @@
/en/release-notes/graphql-validations-migration-guide/
/en/substreams/
/en/sunrise/
/en/supported-network-requirements/
/en/tokenomics/
/es/
/es/404/
Expand Down Expand Up @@ -307,6 +311,7 @@
/es/release-notes/graphql-validations-migration-guide/
/es/substreams/
/es/sunrise/
/es/supported-network-requirements/
/es/tokenomics/
/fr/
/fr/404/
Expand Down Expand Up @@ -366,6 +371,7 @@
/fr/release-notes/graphql-validations-migration-guide/
/fr/substreams/
/fr/sunrise/
/fr/supported-network-requirements/
/fr/tokenomics/
/ha/about/
/ha/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -423,6 +429,7 @@
/ha/release-notes/graphql-validations-migration-guide/
/ha/substreams/
/ha/sunrise/
/ha/supported-network-requirements/
/ha/tokenomics/
/hi/
/hi/404/
Expand Down Expand Up @@ -482,6 +489,7 @@
/hi/release-notes/graphql-validations-migration-guide/
/hi/substreams/
/hi/sunrise/
/hi/supported-network-requirements/
/hi/tokenomics/
/it/
/it/404/
Expand Down Expand Up @@ -541,6 +549,7 @@
/it/release-notes/graphql-validations-migration-guide/
/it/substreams/
/it/sunrise/
/it/supported-network-requirements/
/it/tokenomics/
/ja/
/ja/404/
Expand Down Expand Up @@ -600,6 +609,7 @@
/ja/release-notes/graphql-validations-migration-guide/
/ja/substreams/
/ja/sunrise/
/ja/supported-network-requirements/
/ja/tokenomics/
/ko/about/
/ko/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -657,6 +667,7 @@
/ko/release-notes/graphql-validations-migration-guide/
/ko/substreams/
/ko/sunrise/
/ko/supported-network-requirements/
/ko/tokenomics/
/mr/
/mr/404/
Expand Down Expand Up @@ -716,6 +727,7 @@
/mr/release-notes/graphql-validations-migration-guide/
/mr/substreams/
/mr/sunrise/
/mr/supported-network-requirements/
/mr/tokenomics/
/nl/about/
/nl/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -773,6 +785,7 @@
/nl/release-notes/graphql-validations-migration-guide/
/nl/substreams/
/nl/sunrise/
/nl/supported-network-requirements/
/nl/tokenomics/
/pl/about/
/pl/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -830,6 +843,7 @@
/pl/release-notes/graphql-validations-migration-guide/
/pl/substreams/
/pl/sunrise/
/pl/supported-network-requirements/
/pl/tokenomics/
/pt/
/pt/404/
Expand Down Expand Up @@ -889,6 +903,7 @@
/pt/release-notes/graphql-validations-migration-guide/
/pt/substreams/
/pt/sunrise/
/pt/supported-network-requirements/
/pt/tokenomics/
/ro/about/
/ro/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -946,6 +961,7 @@
/ro/release-notes/graphql-validations-migration-guide/
/ro/substreams/
/ro/sunrise/
/ro/supported-network-requirements/
/ro/tokenomics/
/ru/
/ru/404/
Expand Down Expand Up @@ -1005,6 +1021,7 @@
/ru/release-notes/graphql-validations-migration-guide/
/ru/substreams/
/ru/sunrise/
/ru/supported-network-requirements/
/ru/tokenomics/
/sv/
/sv/404/
Expand Down Expand Up @@ -1064,6 +1081,7 @@
/sv/release-notes/graphql-validations-migration-guide/
/sv/substreams/
/sv/sunrise/
/sv/supported-network-requirements/
/sv/tokenomics/
/tr/
/tr/404/
Expand Down Expand Up @@ -1123,6 +1141,7 @@
/tr/release-notes/graphql-validations-migration-guide/
/tr/substreams/
/tr/sunrise/
/tr/supported-network-requirements/
/tr/tokenomics/
/uk/about/
/uk/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -1180,6 +1199,7 @@
/uk/release-notes/graphql-validations-migration-guide/
/uk/substreams/
/uk/sunrise/
/uk/supported-network-requirements/
/uk/tokenomics/
/ur/
/ur/404/
Expand Down Expand Up @@ -1239,6 +1259,7 @@
/ur/release-notes/graphql-validations-migration-guide/
/ur/substreams/
/ur/sunrise/
/ur/supported-network-requirements/
/ur/tokenomics/
/vi/about/
/vi/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -1296,6 +1317,7 @@
/vi/release-notes/graphql-validations-migration-guide/
/vi/substreams/
/vi/sunrise/
/vi/supported-network-requirements/
/vi/tokenomics/
/yo/about/
/yo/arbitrum/arbitrum-faq/
Expand Down Expand Up @@ -1353,6 +1375,7 @@
/yo/release-notes/graphql-validations-migration-guide/
/yo/substreams/
/yo/sunrise/
/yo/supported-network-requirements/
/yo/tokenomics/
/zh/
/zh/404/
Expand Down Expand Up @@ -1412,4 +1435,5 @@
/zh/release-notes/graphql-validations-migration-guide/
/zh/substreams/
/zh/sunrise/
/zh/supported-network-requirements/
/zh/tokenomics/
3 changes: 1 addition & 2 deletions website/src/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
Link,
type NestedStrings,
} from '@edgeandnode/gds'
import { CookieBanner, GlobalFooter, GlobalHeader, SunriseCountdownBanner } from '@edgeandnode/go'
import { CookieBanner, GlobalFooter, GlobalHeader } from '@edgeandnode/go'

import { supportedLocales, translations, useI18n } from '@/i18n'

Expand Down Expand Up @@ -152,7 +152,6 @@ function MyAppWithLocale({ Component, router, pageProps }: AppProps) {
/>
</div>
<Layout
preheader={<SunriseCountdownBanner ctaPosition="end" />}
header={
<GlobalHeader
activeProduct="THE_GRAPH"
Expand Down
File renamed without changes.

0 comments on commit da2d6f8

Please sign in to comment.