Skip to content

Commit 2002c6d

Browse files
committed
fix react to v19 and add pliny path resolution
1 parent 71567a3 commit 2002c6d

File tree

3 files changed

+45
-331
lines changed

3 files changed

+45
-331
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
"@tailwindcss/postcss": "^4.0.5",
1919
"@tailwindcss/typography": "^0.5.15",
2020
"body-scroll-lock": "^4.0.0-beta.0",
21-
"contentlayer2": "0.5.3",
21+
"contentlayer2": "0.5.4",
2222
"esbuild": "0.20.2",
2323
"github-slugger": "^2.0.0",
2424
"gray-matter": "^4.0.2",
2525
"hast-util-from-html-isomorphic": "^2.0.0",
2626
"image-size": "1.0.0",
2727
"next": "15.1.4",
28-
"next-contentlayer2": "0.5.3",
28+
"next-contentlayer2": "0.5.4",
2929
"next-themes": "^0.3.0",
30-
"pliny": "0.4.0",
30+
"pliny": "0.4.1",
3131
"postcss": "^8.4.24",
32-
"react": "rc",
33-
"react-dom": "rc",
32+
"react": "19.0.0",
33+
"react-dom": "19.0.0",
3434
"reading-time": "1.5.0",
3535
"rehype-autolink-headings": "^7.1.0",
3636
"rehype-citation": "^2.0.0",
@@ -51,7 +51,7 @@
5151
"@eslint/js": "^9.16.0",
5252
"@svgr/webpack": "^8.0.1",
5353
"@types/mdx": "^2.0.12",
54-
"@types/react": "^18.2.73",
54+
"@types/react": "^19.0.8",
5555
"@typescript-eslint/eslint-plugin": "^8.12.0",
5656
"@typescript-eslint/parser": "^8.12.0",
5757
"cross-env": "^7.0.3",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"@/data/*": ["data/*"],
2222
"@/layouts/*": ["layouts/*"],
2323
"@/css/*": ["css/*"],
24-
"contentlayer/generated": ["./.contentlayer/generated"]
24+
"contentlayer/generated": ["./.contentlayer/generated"],
25+
"pliny/*": ["node_modules/pliny/*"]
2526
},
2627
"plugins": [
2728
{

0 commit comments

Comments
 (0)