Skip to content

Commit fa9359b

Browse files
🚷
1 parent 7978cd6 commit fa9359b

6 files changed

Lines changed: 1017 additions & 918 deletions

File tree

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ dist/
44
node_modules/
55
.next/
66
.vercel/
7+
next-env.d.ts

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference path="./.next/types/routes.d.ts" />
3+
import "./.next/dev/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

next.config.js

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
import path from 'node:path'
2-
import { fileURLToPath } from 'node:url'
1+
// import path from 'node:path'
2+
// import { fileURLToPath } from 'node:url'
33

4-
import bundleAnalyzer from '@next/bundle-analyzer'
5-
6-
const withBundleAnalyzer = bundleAnalyzer({
7-
// eslint-disable-next-line no-process-env
8-
enabled: process.env.ANALYZE === 'true'
9-
})
10-
11-
export default withBundleAnalyzer({
4+
export default {
125
staticPageGenerationTimeout: 300,
136
images: {
147
remotePatterns: [
@@ -24,19 +17,19 @@ export default withBundleAnalyzer({
2417
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;"
2518
},
2619

27-
webpack: (config) => {
28-
// Workaround for ensuring that `react` and `react-dom` resolve correctly
29-
// when using a locally-linked version of `react-notion-x`.
30-
// @see https://github.com/vercel/next.js/issues/50391
31-
const dirname = path.dirname(fileURLToPath(import.meta.url))
32-
config.resolve.alias.react = path.resolve(dirname, 'node_modules/react')
33-
config.resolve.alias['react-dom'] = path.resolve(
34-
dirname,
35-
'node_modules/react-dom'
36-
)
37-
return config
38-
},
20+
// webpack: (config) => {
21+
// // Workaround for ensuring that `react` and `react-dom` resolve correctly
22+
// // when using a locally-linked version of `react-notion-x`.
23+
// // @see https://github.com/vercel/next.js/issues/50391
24+
// const dirname = path.dirname(fileURLToPath(import.meta.url))
25+
// config.resolve.alias.react = path.resolve(dirname, 'node_modules/react')
26+
// config.resolve.alias['react-dom'] = path.resolve(
27+
// dirname,
28+
// 'node_modules/react-dom'
29+
// )
30+
// return config
31+
// },
3932

4033
// See https://react-tweet.vercel.app/next#troubleshooting
4134
transpilePackages: ['react-tweet']
42-
})
35+
}

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,37 +38,37 @@
3838
"classnames": "^2.5.1",
3939
"expiry-map": "^2.0.0",
4040
"fathom-client": "^3.4.1",
41-
"ky": "^1.8.1",
41+
"katex": "^0.16.28",
42+
"ky": "^1.14.3",
4243
"lqip-modern": "^2.2.1",
43-
"next": "^15.5.3",
44+
"next": "^16.1.6",
4445
"notion-client": "^7.8.1",
4546
"notion-types": "^7.8.1",
4647
"notion-utils": "^7.8.1",
47-
"p-map": "^7.0.3",
48-
"p-memoize": "^7.1.1",
48+
"p-map": "^7.0.4",
49+
"p-memoize": "^8.0.0",
4950
"posthog-js": "^1.249.4",
5051
"prismjs": "^1.30.0",
51-
"react": "^19.1.1",
52+
"react": "^19.2.4",
5253
"react-body-classname": "^1.3.1",
53-
"react-dom": "^19.1.1",
54+
"react-dom": "^19.2.4",
5455
"react-notion-x": "^7.8.1",
55-
"react-tweet": "^3.2.2",
56+
"react-tweet": "^3.3.0",
5657
"react-use": "^17.6.0",
5758
"rss": "^1.2.2"
5859
},
5960
"devDependencies": {
60-
"@fisch0920/config": "^1.2.1",
61-
"@next/bundle-analyzer": "^15.3.3",
62-
"@types/node": "^24.5.2",
61+
"@fisch0920/config": "^1.4.0",
62+
"@types/node": "^25.2.3",
6363
"@types/prismjs": "^1.26.5",
64-
"@types/react": "^19.1.13",
64+
"@types/react": "^19.2.14",
6565
"@types/react-body-classname": "^1.1.10",
6666
"@types/rss": "^0.0.32",
67-
"cross-env": "^10.0.0",
68-
"eslint": "^9.35.0",
67+
"cross-env": "^10.1.0",
68+
"eslint": "^9.39.2",
6969
"npm-run-all2": "^8.0.4",
70-
"prettier": "^3.6.2",
71-
"typescript": "^5.9.2"
70+
"prettier": "^3.8.1",
71+
"typescript": "^5.9.3"
7272
},
7373
"overrides": {
7474
"cacheable-request": {

0 commit comments

Comments
 (0)