Skip to content

Commit 56a4bcc

Browse files
committed
upgrade everything
1 parent cd5e32f commit 56a4bcc

9 files changed

Lines changed: 1925 additions & 1751 deletions

File tree

.yarn/releases/yarn-4.2.1.cjs

Lines changed: 0 additions & 894 deletions
This file was deleted.

.yarn/releases/yarn-4.5.3.cjs

Lines changed: 934 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ nmMode: hardlinks-global
44

55
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-4.2.1.cjs
7+
yarnPath: .yarn/releases/yarn-4.5.3.cjs

components/CommentSection/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function siteUrl(url: string) {
1313
}
1414

1515
function CommentSection({ slug, title }: CommentSectionProps) {
16-
const mut$ = useRef<MutationObserver>()
16+
const mut$ = useRef<MutationObserver>(undefined)
1717
const comments = useRef<HTMLElement>(null)
1818
const commentsVisible = useOnScreen(comments, '-10px')
1919

components/PostWrapper/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import PostCover from 'components/PostCover'
22
import ArticleSeriesBox from 'components/ArticleSeriesBox'
33
import CommentSection from 'components/CommentSection'
44

5+
import type { JSX } from 'react'
56
import type { Article, WithContext } from 'schema-dts'
67

78
import { generateMeta } from './generateMeta'

lib/hooks/useOnScreen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useState, useEffect } from 'react'
22

33
import type { RefObject } from 'react'
44

5-
export default function useOnScreen(ref: RefObject<HTMLElement>, rootMargin = '0px', oneOff = true) {
5+
export default function useOnScreen(ref: RefObject<HTMLElement | null>, rootMargin = '0px', oneOff = true) {
66
// State and setter for storing whether element is visible
77
const [isIntersecting, setIntersecting] = useState(false)
88
useEffect(() => {

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

package.json

Lines changed: 38 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"license": "SEE LICENSE IN LICENSE.code.txt AND LICENSE.content.txt",
55
"type": "module",
6-
"packageManager": "yarn@4.2.1",
6+
"packageManager": "yarn@4.5.3",
77
"scripts": {
88
"dev": "next dev",
99
"dev:turbo": "next dev --turbo",
@@ -17,61 +17,61 @@
1717
"generate:post": "node ./.bin/generate_post.mjs"
1818
},
1919
"dependencies": {
20-
"@mdx-js/loader": "^3.0.1",
21-
"@mdx-js/node-loader": "^3.0.1",
22-
"@mdx-js/react": "^3.0.1",
23-
"@next/mdx": "^14.2.3",
24-
"@tailwindcss/typography": "0.5.13",
25-
"@types/ramda": "^0.30.0",
20+
"@mdx-js/loader": "^3.1.0",
21+
"@mdx-js/node-loader": "^3.1.0",
22+
"@mdx-js/react": "^3.1.0",
23+
"@next/mdx": "15.0.3",
24+
"@tailwindcss/typography": "0.5.15",
25+
"@types/ramda": "^0.30.2",
2626
"clsx": "2.1.1",
27-
"dayjs": "^1.11.11",
27+
"dayjs": "^1.11.13",
2828
"disqus-react": "^1.1.5",
2929
"fast-glob": "^3.3.2",
30-
"next": "14.2.3",
30+
"next": "15.0.3",
3131
"next-sitemap": "4.2.3",
3232
"prismjs": "^1.29.0",
3333
"ramda": "^0.30.1",
34-
"react": "18.3.1",
35-
"react-dom": "18.3.1",
34+
"react": "19.0.0-rc-66855b96-20241106",
35+
"react-dom": "19.0.0-rc-66855b96-20241106",
3636
"react-redux": "^9.1.2",
3737
"react-to-text": "^2.0.1",
3838
"rehype-mathjax": "^6.0.0",
3939
"rehype-prism-plus": "^2.0.0",
4040
"remark-gfm": "^4.0.0",
4141
"remark-math": "^6.0.0",
4242
"schema-dts": "1.1.2",
43-
"sharp": "^0.33.4",
44-
"unified": "^11.0.4",
45-
"wasm-vips": "0.0.9",
43+
"sharp": "^0.33.5",
44+
"unified": "^11.0.5",
45+
"wasm-vips": "0.0.11",
4646
"yargs": "17.7.2"
4747
},
4848
"devDependencies": {
49-
"@next/env": "^14.2.3",
50-
"@types/node": "^20.14.2",
51-
"@types/react": "^18.3.3",
52-
"@types/react-dom": "^18.3.0",
53-
"@typescript-eslint/eslint-plugin": "^7.12.0",
54-
"@typescript-eslint/parser": "^7.12.0",
55-
"autoprefixer": "^10.4.19",
56-
"eslint": "^8.57.0",
57-
"eslint-config-next": "^14.2.3",
49+
"@next/env": "15.0.3",
50+
"@types/node": "^20.17.8",
51+
"@types/react": "npm:types-react@19.0.0-rc.1",
52+
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
53+
"@typescript-eslint/eslint-plugin": "^7.18.0",
54+
"@typescript-eslint/parser": "^7.18.0",
55+
"autoprefixer": "^10.4.20",
56+
"eslint": "^8.57.1",
57+
"eslint-config-next": "15.0.3",
5858
"eslint-config-prettier": "^9.1.0",
5959
"eslint-import-resolver-node": "^0.3.9",
60-
"eslint-plugin-import": "^2.29.1",
61-
"eslint-plugin-jsx-a11y": "^6.8.0",
60+
"eslint-plugin-import": "^2.31.0",
61+
"eslint-plugin-jsx-a11y": "^6.10.2",
6262
"eslint-plugin-node": "^11.1.0",
63-
"eslint-plugin-prettier": "^5.1.3",
64-
"eslint-plugin-promise": "^6.2.0",
65-
"eslint-plugin-react": "^7.34.2",
63+
"eslint-plugin-prettier": "^5.2.1",
64+
"eslint-plugin-promise": "^7.2.0",
65+
"eslint-plugin-react": "^7.37.2",
6666
"image-size": "^1.1.1",
6767
"npm-run-all": "4.1.5",
68-
"postcss": "^8.4.38",
69-
"prettier": "^3.3.1",
70-
"prettier-plugin-tailwindcss": "^0.6.2",
71-
"tailwindcss": "^3.4.4",
68+
"postcss": "^8.4.49",
69+
"prettier": "^3.3.3",
70+
"prettier-plugin-tailwindcss": "^0.6.9",
71+
"tailwindcss": "^3.4.15",
7272
"ts-node": "^10.9.2",
73-
"types-ramda": "^0.30.0",
74-
"typescript": "^5.4.5"
73+
"types-ramda": "^0.30.1",
74+
"typescript": "^5.7.2"
7575
},
7676
"overrides": {
7777
"sharp": "$sharp"
@@ -88,5 +88,9 @@
8888
"plugins": [
8989
"prettier-plugin-tailwindcss"
9090
]
91+
},
92+
"resolutions": {
93+
"@types/react": "npm:types-react@19.0.0-rc.1",
94+
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
9195
}
9296
}

0 commit comments

Comments
 (0)