Skip to content

Commit b45bef6

Browse files
authored
Merge pull request #1217 from timlrx/update-dependencies
fix: update dependencies
2 parents 0bd9333 + 9c2136e commit b45bef6

8 files changed

Lines changed: 3469 additions & 3458 deletions

File tree

app/tag-data.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
{
2+
"markdown": 1,
3+
"code": 1,
4+
"features": 1,
25
"next-js": 6,
3-
"tailwind": 3,
4-
"guide": 5,
5-
"feature": 2,
6-
"multi-author": 1,
7-
"hello": 1,
86
"math": 1,
97
"ols": 1,
108
"github": 1,
11-
"writings": 1,
12-
"book": 1,
13-
"reflection": 1,
9+
"guide": 5,
10+
"tailwind": 3,
1411
"holiday": 1,
1512
"canada": 1,
1613
"images": 1,
17-
"markdown": 1,
18-
"code": 1,
19-
"features": 1
14+
"feature": 2,
15+
"writings": 1,
16+
"book": 1,
17+
"reflection": 1,
18+
"multi-author": 1
2019
}

components/ThemeSwitch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const ThemeSwitch = () => {
7878
leaveFrom="transform opacity-100 scale-100"
7979
leaveTo="transform opacity-0 scale-95"
8080
>
81-
<MenuItems className="ring-opacity-5 absolute right-0 z-50 mt-2 w-32 origin-top-right divide-y divide-gray-100 rounded-md bg-white ring-1 shadow-lg ring-black focus:outline-hidden dark:bg-gray-800">
81+
<MenuItems className="ring-opacity-5 absolute right-0 z-50 mt-2 w-32 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black focus:outline-hidden dark:bg-gray-800">
8282
<RadioGroup value={theme} onChange={setTheme}>
8383
<div className="p-1">
8484
<Radio value="light">

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const compat = new FlatCompat({
1414

1515
export default [
1616
{
17-
ignores: [],
17+
ignores: ['next-env.d.ts', 'next.config.js'],
1818
},
1919
js.configs.recommended,
2020
...compat.extends(

next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

next.config.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,17 @@ module.exports = () => {
6767
output,
6868
basePath,
6969
reactStrictMode: true,
70-
trailingSlash: false,
71-
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
72-
eslint: {
73-
dirs: ['app', 'components', 'layouts', 'scripts'],
70+
trailingSlash: true,
71+
turbopack: {
72+
root: process.cwd(),
73+
rules: {
74+
'*.svg': {
75+
loaders: ['@svgr/webpack'],
76+
as: '*.js',
77+
},
78+
},
7479
},
80+
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
7581
images: {
7682
remotePatterns: [
7783
{

package.json

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -12,66 +12,66 @@
1212
"prepare": "husky"
1313
},
1414
"dependencies": {
15-
"@headlessui/react": "2.2.0",
16-
"@next/bundle-analyzer": "15.2.4",
17-
"@tailwindcss/forms": "^0.5.9",
18-
"@tailwindcss/postcss": "^4.0.5",
19-
"@tailwindcss/typography": "^0.5.15",
20-
"body-scroll-lock": "^4.0.0-beta.0",
21-
"contentlayer2": "0.5.5",
22-
"esbuild": "0.25.2",
15+
"@headlessui/react": "2.2.9",
16+
"@next/bundle-analyzer": "15.5.12",
17+
"@tailwindcss/forms": "^0.5.11",
18+
"@tailwindcss/postcss": "^4.1.18",
19+
"@tailwindcss/typography": "^0.5.19",
20+
"body-scroll-lock": "^3.1.5",
21+
"contentlayer2": "0.5.8",
22+
"esbuild": "0.27.3",
2323
"github-slugger": "^2.0.0",
24-
"gray-matter": "^4.0.2",
24+
"gray-matter": "^4.0.3",
2525
"hast-util-from-html-isomorphic": "^2.0.0",
26-
"image-size": "2.0.1",
27-
"next": "15.2.4",
28-
"next-contentlayer2": "0.5.5",
26+
"image-size": "2.0.2",
27+
"next": "15.5.12",
28+
"next-contentlayer2": "0.5.8",
2929
"next-themes": "^0.4.6",
3030
"pliny": "0.4.1",
31-
"postcss": "^8.4.24",
32-
"react": "19.0.0",
33-
"react-dom": "19.0.0",
31+
"postcss": "^8.5.6",
32+
"react": "19.2.4",
33+
"react-dom": "19.2.4",
3434
"reading-time": "1.5.0",
3535
"rehype-autolink-headings": "^7.1.0",
36-
"rehype-citation": "^2.3.0",
37-
"rehype-katex": "^7.0.0",
36+
"rehype-citation": "^2.3.2",
37+
"rehype-katex": "^7.0.1",
3838
"rehype-katex-notranslate": "^1.1.4",
39-
"rehype-preset-minify": "7.0.0",
40-
"rehype-prism-plus": "^2.0.0",
39+
"rehype-preset-minify": "7.0.1",
40+
"rehype-prism-plus": "^2.0.2",
4141
"rehype-slug": "^6.0.0",
42-
"remark": "^15.0.0",
43-
"remark-gfm": "^4.0.0",
44-
"remark-github-blockquote-alert": "^1.2.1",
42+
"remark": "^15.0.1",
43+
"remark-gfm": "^4.0.1",
44+
"remark-github-blockquote-alert": "^2.0.1",
4545
"remark-math": "^6.0.0",
46-
"tailwindcss": "^4.0.5",
47-
"unist-util-visit": "^5.0.0"
46+
"tailwindcss": "^4.1.18",
47+
"unist-util-visit": "^5.1.0"
4848
},
4949
"devDependencies": {
50-
"@eslint/eslintrc": "^3.2.0",
51-
"@eslint/js": "^9.16.0",
52-
"@svgr/webpack": "^8.0.1",
53-
"@types/mdx": "^2.0.12",
54-
"@types/react": "^19.0.8",
55-
"@typescript-eslint/eslint-plugin": "^8.12.0",
56-
"@typescript-eslint/parser": "^8.12.0",
57-
"cross-env": "^7.0.3",
58-
"eslint": "^9.14.0",
59-
"eslint-config-next": "15.2.4",
60-
"eslint-config-prettier": "^9.1.0",
61-
"eslint-plugin-prettier": "^5.2.0",
62-
"globals": "^15.12.0",
63-
"husky": "^9.0.0",
64-
"lint-staged": "^13.0.0",
65-
"prettier": "^3.0.0",
66-
"prettier-plugin-tailwindcss": "^0.6.11",
67-
"typescript": "^5.1.3"
50+
"@eslint/eslintrc": "^3.3.3",
51+
"@eslint/js": "^9.18.0",
52+
"@svgr/webpack": "^8.1.0",
53+
"@types/mdx": "^2.0.13",
54+
"@types/react": "^19.2.13",
55+
"@typescript-eslint/eslint-plugin": "^8.54.0",
56+
"@typescript-eslint/parser": "^8.54.0",
57+
"cross-env": "^10.1.0",
58+
"eslint": "^9.18.0",
59+
"eslint-config-next": "15.5.12",
60+
"eslint-config-prettier": "^10.1.8",
61+
"eslint-plugin-prettier": "^5.5.5",
62+
"globals": "^17.3.0",
63+
"husky": "^9.1.7",
64+
"lint-staged": "^16.2.7",
65+
"prettier": "^3.8.1",
66+
"prettier-plugin-tailwindcss": "^0.7.2",
67+
"typescript": "^5.9.3"
6868
},
6969
"lint-staged": {
7070
"*.+(js|jsx|ts|tsx)": [
71-
"eslint --fix"
71+
"yarn eslint --fix"
7272
],
7373
"*.+(js|jsx|ts|tsx|json|css|md|mdx)": [
74-
"prettier --write"
74+
"yarn prettier --write"
7575
]
7676
},
7777
"packageManager": "yarn@3.6.1"

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"**/*.json",
4141
".contentlayer/generated",
4242
".contentlayer/generated/**/*.json",
43-
".next/types/**/*.ts"
43+
".next/types/**/*.ts",
44+
".next/dev/types/**/*.ts"
4445
],
4546
"exclude": ["node_modules"]
4647
}

0 commit comments

Comments
 (0)