Skip to content

Commit a33ef1e

Browse files
authored
docs: update Next.js + React (medusajs#14210)
1 parent 7652329 commit a33ef1e

File tree

10 files changed

+172
-154
lines changed

10 files changed

+172
-154
lines changed

www/apps/api-reference/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@mdx-js/react": "^3.1.0",
1919
"@medusajs/icons": "2.12.0",
2020
"@medusajs/ui": "4.0.28",
21-
"@next/mdx": "15.3.5",
21+
"@next/mdx": "15.3.6",
2222
"@react-hook/resize-observer": "^2.0.2",
2323
"@readme/openapi-parser": "^2.5.0",
2424
"algoliasearch": "4",
@@ -29,15 +29,15 @@
2929
"jsdom": "^27.1.0",
3030
"json-schema": "^0.4.0",
3131
"json-stringify-pretty-compact": "^4.0.0",
32-
"next": "15.3.5",
32+
"next": "15.3.6",
3333
"next-mdx-remote": "5.0.0",
3434
"openapi-sampler": "^1.3.1",
3535
"pluralize": "^8.0.0",
3636
"postcss": "8.4.27",
3737
"posthog-js": "^1.298.1",
3838
"prism-react-renderer": "2.4.0",
39-
"react": "rc",
40-
"react-dom": "rc",
39+
"react": "19.2.1",
40+
"react-dom": "19.2.1",
4141
"react-intersection-observer": "^9.13.1",
4242
"react-tooltip": "^5.28.0",
4343
"react-transition-group": "^4.4.5",
@@ -52,14 +52,14 @@
5252
"yaml": "^2.3.1"
5353
},
5454
"devDependencies": {
55-
"@next/bundle-analyzer": "15.3.5",
55+
"@next/bundle-analyzer": "15.3.6",
5656
"@types/jsdom": "^27.0.0",
5757
"@types/mapbox__rehype-prism": "^0.8.0",
5858
"@types/mdx": "^2.0.13",
5959
"@types/node": "20.4.5",
6060
"@types/pluralize": "^0.0.33",
61-
"@types/react": "npm:types-react@rc",
62-
"@types/react-dom": "npm:types-react@rc",
61+
"@types/react": "19.2.1",
62+
"@types/react-dom": "19.2.1",
6363
"build-scripts": "*",
6464
"eslint": "^9.13.0",
6565
"eslint-plugin-prettier": "^5.2.1",
@@ -70,7 +70,7 @@
7070
"node": ">=20"
7171
},
7272
"overrides": {
73-
"@types/react": "npm:types-react@rc",
74-
"@types/react-dom": "npm:types-react-dom@rc"
73+
"@types/react": "19.2.1",
74+
"@types/react-dom": "19.2.1"
7575
}
7676
}

www/apps/book/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"@mdx-js/loader": "^3.1.0",
1818
"@mdx-js/react": "^3.1.0",
1919
"@medusajs/icons": "2.12.0",
20-
"@next/mdx": "15.3.5",
20+
"@next/mdx": "15.3.6",
2121
"@stefanprobst/rehype-extract-toc": "^3.0.0",
2222
"clsx": "^2.1.0",
2323
"docs-ui": "*",
2424
"docs-utils": "*",
25-
"next": "15.3.5",
25+
"next": "15.3.6",
2626
"posthog-js": "^1.298.1",
27-
"react": "rc",
28-
"react-dom": "rc",
27+
"react": "19.2.1",
28+
"react-dom": "19.2.1",
2929
"rehype-mdx-code-props": "^2.0.0",
3030
"rehype-slug": "^6.0.0",
3131
"remark-frontmatter": "^5.0.0",
@@ -34,8 +34,8 @@
3434
"devDependencies": {
3535
"@types/mdx": "^2.0.13",
3636
"@types/node": "^20",
37-
"@types/react": "npm:types-react@rc",
38-
"@types/react-dom": "npm:types-react@rc",
37+
"@types/react": "19.2.1",
38+
"@types/react-dom": "19.2.1",
3939
"autoprefixer": "^10.0.1",
4040
"build-scripts": "*",
4141
"eslint": "^9.13.0",
@@ -53,7 +53,7 @@
5353
"node": ">=20"
5454
},
5555
"overrides": {
56-
"@types/react": "npm:types-react@rc",
57-
"@types/react-dom": "npm:types-react-dom@rc"
56+
"@types/react": "19.2.1",
57+
"@types/react-dom": "19.2.1"
5858
}
5959
}

www/apps/cloud/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"@mdx-js/loader": "^3.1.0",
1818
"@mdx-js/react": "^3.1.0",
1919
"@medusajs/icons": "2.12.0",
20-
"@next/mdx": "15.3.5",
20+
"@next/mdx": "15.3.6",
2121
"@sanity/client": "^7.11.0",
2222
"@stefanprobst/rehype-extract-toc": "^3.0.0",
2323
"clsx": "^2.1.0",
2424
"docs-ui": "*",
25-
"next": "15.3.5",
25+
"next": "15.3.6",
2626
"posthog-js": "^1.298.1",
27-
"react": "rc",
28-
"react-dom": "rc",
27+
"react": "19.2.1",
28+
"react-dom": "19.2.1",
2929
"rehype-mdx-code-props": "^2.0.0",
3030
"rehype-slug": "^6.0.0",
3131
"remark-directive": "^3.0.0",
@@ -36,8 +36,8 @@
3636
"devDependencies": {
3737
"@types/mdx": "^2.0.13",
3838
"@types/node": "^20",
39-
"@types/react": "npm:types-react@rc",
40-
"@types/react-dom": "npm:types-react@rc",
39+
"@types/react": "19.2.1",
40+
"@types/react-dom": "19.2.1",
4141
"autoprefixer": "^10.0.1",
4242
"build-scripts": "*",
4343
"eslint": "^9.13.0",
@@ -54,7 +54,7 @@
5454
"node": ">=20"
5555
},
5656
"overrides": {
57-
"@types/react": "npm:types-react@rc",
58-
"@types/react-dom": "npm:types-react-dom@rc"
57+
"@types/react": "19.2.1",
58+
"@types/react-dom": "19.2.1"
5959
}
6060
}

www/apps/resources/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,26 @@
1717
"@mdx-js/loader": "^3.1.0",
1818
"@mdx-js/react": "^3.1.0",
1919
"@medusajs/icons": "2.12.0",
20-
"@next/mdx": "15.3.5",
20+
"@next/mdx": "15.3.6",
2121
"@stefanprobst/rehype-extract-toc": "^3.0.0",
2222
"clsx": "^2.1.0",
2323
"docs-ui": "*",
24-
"next": "15.3.5",
24+
"next": "15.3.6",
2525
"next-mdx-remote-client": "2",
2626
"posthog-js": "^1.298.1",
27-
"react": "rc",
28-
"react-dom": "rc",
27+
"react": "19.2.1",
28+
"react-dom": "19.2.1",
2929
"rehype-mdx-code-props": "^2.0.0",
3030
"remark-directive": "^3.0.0",
3131
"remark-frontmatter": "^5.0.0",
3232
"swr": "^2.3.6"
3333
},
3434
"devDependencies": {
35-
"@next/bundle-analyzer": "^15.3.5",
35+
"@next/bundle-analyzer": "^15.3.6",
3636
"@types/mdx": "^2.0.13",
3737
"@types/node": "^20",
38-
"@types/react": "npm:types-react@rc",
39-
"@types/react-dom": "npm:types-react@rc",
38+
"@types/react": "19.2.1",
39+
"@types/react-dom": "19.2.1",
4040
"autoprefixer": "^10.0.1",
4141
"build-scripts": "*",
4242
"docs-utils": "*",
@@ -57,7 +57,7 @@
5757
"node": ">=20"
5858
},
5959
"overrides": {
60-
"@types/react": "npm:types-react@rc",
61-
"@types/react-dom": "npm:types-react-dom@rc"
60+
"@types/react": "19.2.1",
61+
"@types/react-dom": "19.2.1"
6262
}
6363
}

www/apps/ui/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"@medusajs/icons": "2.12.0",
2020
"@medusajs/ui": "4.0.28",
2121
"@medusajs/ui-preset": "2.12.0",
22-
"@next/mdx": "15.3.5",
22+
"@next/mdx": "15.3.6",
2323
"@stefanprobst/rehype-extract-toc": "^3.0.0",
2424
"clsx": "^2.1.0",
2525
"docs-ui": "*",
26-
"next": "15.3.5",
26+
"next": "15.3.6",
2727
"posthog-js": "^1.298.1",
28-
"react": "rc",
29-
"react-dom": "rc",
28+
"react": "19.2.1",
29+
"react-dom": "19.2.1",
3030
"rehype-mdx-code-props": "^2.0.0",
3131
"rehype-slug": "^6.0.0",
3232
"remark-directive": "^3.0.0",
@@ -37,8 +37,8 @@
3737
"devDependencies": {
3838
"@types/mdx": "^2.0.13",
3939
"@types/node": "^20",
40-
"@types/react": "npm:types-react@rc",
41-
"@types/react-dom": "npm:types-react@rc",
40+
"@types/react": "19.2.1",
41+
"@types/react-dom": "19.2.1",
4242
"autoprefixer": "^10.0.1",
4343
"build-scripts": "*",
4444
"eslint": "^9.13.0",
@@ -55,7 +55,7 @@
5555
"node": ">=20"
5656
},
5757
"overrides": {
58-
"@types/react": "npm:types-react@rc",
59-
"@types/react-dom": "npm:types-react-dom@rc"
58+
"@types/react": "19.2.1",
59+
"@types/react-dom": "19.2.1"
6060
}
6161
}

www/apps/user-guide/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"@mdx-js/loader": "^3.1.0",
1818
"@mdx-js/react": "^3.1.0",
1919
"@medusajs/icons": "2.12.0",
20-
"@next/mdx": "15.3.5",
20+
"@next/mdx": "15.3.6",
2121
"@stefanprobst/rehype-extract-toc": "^3.0.0",
2222
"clsx": "^2.1.0",
2323
"docs-ui": "*",
24-
"next": "15.3.5",
24+
"next": "15.3.6",
2525
"posthog-js": "^1.298.1",
26-
"react": "rc",
27-
"react-dom": "rc",
26+
"react": "19.2.1",
27+
"react-dom": "19.2.1",
2828
"rehype-mdx-code-props": "^2.0.0",
2929
"rehype-slug": "^6.0.0",
3030
"remark-directive": "^3.0.0",
@@ -34,8 +34,8 @@
3434
"devDependencies": {
3535
"@types/mdx": "^2.0.13",
3636
"@types/node": "^20",
37-
"@types/react": "npm:types-react@rc",
38-
"@types/react-dom": "npm:types-react@rc",
37+
"@types/react": "19.2.1",
38+
"@types/react-dom": "19.2.1",
3939
"autoprefixer": "^10.0.1",
4040
"build-scripts": "*",
4141
"eslint": "^9.13.0",
@@ -52,7 +52,7 @@
5252
"node": ">=20"
5353
},
5454
"overrides": {
55-
"@types/react": "npm:types-react@rc",
56-
"@types/react-dom": "npm:types-react-dom@rc"
55+
"@types/react": "19.2.1",
56+
"@types/react-dom": "19.2.1"
5757
}
5858
}

www/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@babel/eslint-parser": "^7.25.9",
3636
"@eslint/js": "9.13.0",
3737
"@types/eslint__js": "8.42.3",
38-
"eslint-config-next": "15.3.5",
38+
"eslint-config-next": "15.3.6",
3939
"eslint-config-prettier": "9.1.0",
4040
"eslint-config-turbo": "2.2.3",
4141
"eslint-plugin-markdown": "5.1.0",

www/packages/build-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"devDependencies": {
4040
"@types/node": "^20.11.20",
41-
"next": "15.3.5",
41+
"next": "15.3.6",
4242
"rimraf": "^5.0.5",
4343
"tsconfig": "*",
4444
"types": "*",

www/packages/docs-ui/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
"lint": "eslint src --fix"
3535
},
3636
"devDependencies": {
37-
"@types/react": "npm:types-react@rc",
38-
"@types/react-dom": "npm:types-react@rc",
37+
"@types/react": "19.2.1",
38+
"@types/react-dom": "19.2.1",
3939
"clsx": "^2.0.0",
4040
"cpy-cli": "^5.0.0",
4141
"eslint": "^9.13.0",
42-
"next": "15.3.5",
42+
"next": "15.3.6",
4343
"rimraf": "^5.0.1",
4444
"schema-dts": "^1.1.5",
4545
"tailwind": "*",
@@ -62,7 +62,7 @@
6262
"@kapaai/react-sdk": "^0.9.0",
6363
"@medusajs/icons": "2.12.0",
6464
"@medusajs/ui": "4.0.28",
65-
"@next/third-parties": "15.3.5",
65+
"@next/third-parties": "15.3.6",
6666
"@react-hook/resize-observer": "^1.2.6",
6767
"@segment/analytics-next": "^1.75.0",
6868
"@uidotdev/usehooks": "^2.4.1",
@@ -72,8 +72,8 @@
7272
"minisearch": "^7.1.1",
7373
"npm-to-yarn": "^2.1.0",
7474
"prism-react-renderer": "2.4.0",
75-
"react": "rc",
76-
"react-dom": "rc",
75+
"react": "19.2.1",
76+
"react-dom": "19.2.1",
7777
"react-instantsearch": "^7.13.6",
7878
"react-markdown": "^9.0.1",
7979
"react-medium-image-zoom": "^5.2.10",
@@ -84,7 +84,7 @@
8484
"slugify": "^1.6.6"
8585
},
8686
"overrides": {
87-
"@types/react": "npm:types-react@rc",
88-
"@types/react-dom": "npm:types-react-dom@rc"
87+
"@types/react": "19.2.1",
88+
"@types/react-dom": "19.2.1"
8989
}
9090
}

0 commit comments

Comments
 (0)