docs: update Next.js + React (#14210)

This commit is contained in:
Shahed Nasser
2025-12-04 11:50:25 +02:00
committed by GitHub
parent 7652329489
commit a33ef1e4d9
10 changed files with 172 additions and 154 deletions

View File

@@ -18,7 +18,7 @@
"@mdx-js/react": "^3.1.0",
"@medusajs/icons": "2.12.0",
"@medusajs/ui": "4.0.28",
"@next/mdx": "15.3.5",
"@next/mdx": "15.3.6",
"@react-hook/resize-observer": "^2.0.2",
"@readme/openapi-parser": "^2.5.0",
"algoliasearch": "4",
@@ -29,15 +29,15 @@
"jsdom": "^27.1.0",
"json-schema": "^0.4.0",
"json-stringify-pretty-compact": "^4.0.0",
"next": "15.3.5",
"next": "15.3.6",
"next-mdx-remote": "5.0.0",
"openapi-sampler": "^1.3.1",
"pluralize": "^8.0.0",
"postcss": "8.4.27",
"posthog-js": "^1.298.1",
"prism-react-renderer": "2.4.0",
"react": "rc",
"react-dom": "rc",
"react": "19.2.1",
"react-dom": "19.2.1",
"react-intersection-observer": "^9.13.1",
"react-tooltip": "^5.28.0",
"react-transition-group": "^4.4.5",
@@ -52,14 +52,14 @@
"yaml": "^2.3.1"
},
"devDependencies": {
"@next/bundle-analyzer": "15.3.5",
"@next/bundle-analyzer": "15.3.6",
"@types/jsdom": "^27.0.0",
"@types/mapbox__rehype-prism": "^0.8.0",
"@types/mdx": "^2.0.13",
"@types/node": "20.4.5",
"@types/pluralize": "^0.0.33",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react@rc",
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1",
"build-scripts": "*",
"eslint": "^9.13.0",
"eslint-plugin-prettier": "^5.2.1",
@@ -70,7 +70,7 @@
"node": ">=20"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1"
}
}

View File

@@ -17,15 +17,15 @@
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@medusajs/icons": "2.12.0",
"@next/mdx": "15.3.5",
"@next/mdx": "15.3.6",
"@stefanprobst/rehype-extract-toc": "^3.0.0",
"clsx": "^2.1.0",
"docs-ui": "*",
"docs-utils": "*",
"next": "15.3.5",
"next": "15.3.6",
"posthog-js": "^1.298.1",
"react": "rc",
"react-dom": "rc",
"react": "19.2.1",
"react-dom": "19.2.1",
"rehype-mdx-code-props": "^2.0.0",
"rehype-slug": "^6.0.0",
"remark-frontmatter": "^5.0.0",
@@ -34,8 +34,8 @@
"devDependencies": {
"@types/mdx": "^2.0.13",
"@types/node": "^20",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react@rc",
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1",
"autoprefixer": "^10.0.1",
"build-scripts": "*",
"eslint": "^9.13.0",
@@ -53,7 +53,7 @@
"node": ">=20"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1"
}
}

View File

@@ -17,15 +17,15 @@
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@medusajs/icons": "2.12.0",
"@next/mdx": "15.3.5",
"@next/mdx": "15.3.6",
"@sanity/client": "^7.11.0",
"@stefanprobst/rehype-extract-toc": "^3.0.0",
"clsx": "^2.1.0",
"docs-ui": "*",
"next": "15.3.5",
"next": "15.3.6",
"posthog-js": "^1.298.1",
"react": "rc",
"react-dom": "rc",
"react": "19.2.1",
"react-dom": "19.2.1",
"rehype-mdx-code-props": "^2.0.0",
"rehype-slug": "^6.0.0",
"remark-directive": "^3.0.0",
@@ -36,8 +36,8 @@
"devDependencies": {
"@types/mdx": "^2.0.13",
"@types/node": "^20",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react@rc",
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1",
"autoprefixer": "^10.0.1",
"build-scripts": "*",
"eslint": "^9.13.0",
@@ -54,7 +54,7 @@
"node": ">=20"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1"
}
}

View File

@@ -17,26 +17,26 @@
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@medusajs/icons": "2.12.0",
"@next/mdx": "15.3.5",
"@next/mdx": "15.3.6",
"@stefanprobst/rehype-extract-toc": "^3.0.0",
"clsx": "^2.1.0",
"docs-ui": "*",
"next": "15.3.5",
"next": "15.3.6",
"next-mdx-remote-client": "2",
"posthog-js": "^1.298.1",
"react": "rc",
"react-dom": "rc",
"react": "19.2.1",
"react-dom": "19.2.1",
"rehype-mdx-code-props": "^2.0.0",
"remark-directive": "^3.0.0",
"remark-frontmatter": "^5.0.0",
"swr": "^2.3.6"
},
"devDependencies": {
"@next/bundle-analyzer": "^15.3.5",
"@next/bundle-analyzer": "^15.3.6",
"@types/mdx": "^2.0.13",
"@types/node": "^20",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react@rc",
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1",
"autoprefixer": "^10.0.1",
"build-scripts": "*",
"docs-utils": "*",
@@ -57,7 +57,7 @@
"node": ">=20"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1"
}
}

View File

@@ -19,14 +19,14 @@
"@medusajs/icons": "2.12.0",
"@medusajs/ui": "4.0.28",
"@medusajs/ui-preset": "2.12.0",
"@next/mdx": "15.3.5",
"@next/mdx": "15.3.6",
"@stefanprobst/rehype-extract-toc": "^3.0.0",
"clsx": "^2.1.0",
"docs-ui": "*",
"next": "15.3.5",
"next": "15.3.6",
"posthog-js": "^1.298.1",
"react": "rc",
"react-dom": "rc",
"react": "19.2.1",
"react-dom": "19.2.1",
"rehype-mdx-code-props": "^2.0.0",
"rehype-slug": "^6.0.0",
"remark-directive": "^3.0.0",
@@ -37,8 +37,8 @@
"devDependencies": {
"@types/mdx": "^2.0.13",
"@types/node": "^20",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react@rc",
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1",
"autoprefixer": "^10.0.1",
"build-scripts": "*",
"eslint": "^9.13.0",
@@ -55,7 +55,7 @@
"node": ">=20"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1"
}
}

View File

@@ -17,14 +17,14 @@
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@medusajs/icons": "2.12.0",
"@next/mdx": "15.3.5",
"@next/mdx": "15.3.6",
"@stefanprobst/rehype-extract-toc": "^3.0.0",
"clsx": "^2.1.0",
"docs-ui": "*",
"next": "15.3.5",
"next": "15.3.6",
"posthog-js": "^1.298.1",
"react": "rc",
"react-dom": "rc",
"react": "19.2.1",
"react-dom": "19.2.1",
"rehype-mdx-code-props": "^2.0.0",
"rehype-slug": "^6.0.0",
"remark-directive": "^3.0.0",
@@ -34,8 +34,8 @@
"devDependencies": {
"@types/mdx": "^2.0.13",
"@types/node": "^20",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react@rc",
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1",
"autoprefixer": "^10.0.1",
"build-scripts": "*",
"eslint": "^9.13.0",
@@ -52,7 +52,7 @@
"node": ">=20"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
"@types/react": "19.2.1",
"@types/react-dom": "19.2.1"
}
}