Skip to content

Commit a52086f

Browse files
Dimitri POSTOLOVbenface
andauthored
Remote Substreams docs (#346)
* remote substreams docs * update next.js/nextra * fix * pnpm i * fix lint * Hide locale switcher on `/en/substreams` pages (#361) * Hide locale switcher on `/en/substreams` pages * Trailing slashes are important, apparently --------- Co-authored-by: Benoît Rouleau <[email protected]>
1 parent 3ee5ff7 commit a52086f

File tree

16 files changed

+749
-345
lines changed

16 files changed

+749
-345
lines changed

.eslintrc.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** @type {import('eslint').Linter.Config} */
12
module.exports = {
23
root: true,
34
overrides: [
@@ -23,6 +24,10 @@ module.exports = {
2324
rules: {
2425
'mdx/remark': 'error',
2526
},
27+
parserOptions: {
28+
ecmaVersion: 'latest',
29+
sourceType: 'module',
30+
},
2631
},
2732
],
2833
}

packages/nextra-theme/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020
"dist"
2121
],
2222
"scripts": {
23-
"build": "tsup"
23+
"build": "tsup",
24+
"dev": "tsup --watch"
2425
},
2526
"peerDependencies": {
2627
"@edgeandnode/gds": "^1.3.2",
2728
"@emotion/react": "^11.10.6",
28-
"next": "^13.2.4",
29+
"next": "^13.3.1",
2930
"next-seo": "^5.15.0",
30-
"nextra": "^2.3.0",
31+
"nextra": "^2.4.2",
3132
"react-dom": "^18.2.0",
3233
"theme-ui": "^0.15.5"
3334
},
@@ -46,9 +47,9 @@
4647
"@types/lodash": "^4.14.194",
4748
"@types/react": "^18.0.37",
4849
"@types/react-dom": "^18.0.11",
49-
"next": "^13.3.0",
50+
"next": "^13.3.1",
5051
"next-seo": "^6.0.0",
51-
"nextra": "2.3.0",
52+
"nextra": "2.4.2",
5253
"react": "18.2.0",
5354
"react-dom": "^18.2.0",
5455
"theme-ui": "^0.15.7",

packages/nextra-theme/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig } from 'tsup'
33
import tsconfig from './tsconfig.json'
44

55
export default defineConfig({
6-
name: 'nextra-theme-docs',
6+
name: 'nextra-theme',
77
entry: ['src/index.tsx'],
88
format: 'esm',
99
dts: true,

0 commit comments

Comments
 (0)