Skip to content

Commit 366d7e8

Browse files
committed
* updated deps
* fixed some issues in the configuration
1 parent d170724 commit 366d7e8

File tree

6 files changed

+2417
-1770
lines changed

6 files changed

+2417
-1770
lines changed

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fixupPluginRules, includeIgnoreFile } from "@eslint/compat"
55
import eslint from "@eslint/js"
66
import nextPlugin from "@next/eslint-plugin-next"
77
import importPlugin from "eslint-plugin-import-x"
8-
import packageJson from "eslint-plugin-package-json/configs/recommended"
8+
import packageJson from "eslint-plugin-package-json"
99
import reactPlugin from "eslint-plugin-react"
1010
import hooksPlugin from "eslint-plugin-react-hooks"
1111
import tseslint from "typescript-eslint"
@@ -41,11 +41,11 @@ export default tseslint.config(
4141
// Ignore files not tracked by VCS and any config files
4242
includeIgnoreFile(path.join(import.meta.dirname, "./.gitignore")),
4343
{ ignores: ["**/*.config.*"] },
44+
packageJson.configs.recommended,
4445
{
45-
...packageJson,
4646
rules: {
47-
...packageJson.rules,
4847
"package-json/valid-package-def": "off",
48+
"package-json/require-description": "off",
4949
},
5050
},
5151
{

next.config.mjs

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
11
import createMDXPlugin from "@next/mdx"
2-
import { rehypePlugins, remarkPlugins } from "@renoun/mdx"
2+
import rehypeRenoun from "@renoun/mdx/rehype"
3+
import remarkRenounAddHeadings from "@renoun/mdx/remark/add-headings"
4+
import remarkRenounRemoveParagraphs from "@renoun/mdx/remark/remove-immediate-paragraphs"
5+
import remarkRenounRelativeLinks from "@renoun/mdx/remark/transform-relative-links"
36
import rehypeMdxImportMedia from "rehype-mdx-import-media"
7+
import remarkFrontmatter from "remark-frontmatter"
8+
import remarkGfm from "remark-gfm"
9+
import remarkMdxFrontmatter from "remark-mdx-frontmatter"
10+
import remarkSqueezeParagraphs from "remark-squeeze-paragraphs"
11+
import remarkStripBadges from "remark-strip-badges"
412

513
const withMDX = createMDXPlugin({
614
options: {
7-
remarkPlugins,
8-
rehypePlugins: [...rehypePlugins, rehypeMdxImportMedia],
15+
remarkPlugins: [
16+
remarkRenounAddHeadings,
17+
remarkFrontmatter,
18+
remarkMdxFrontmatter,
19+
remarkSqueezeParagraphs,
20+
remarkRenounRemoveParagraphs,
21+
remarkStripBadges,
22+
remarkRenounRelativeLinks,
23+
remarkGfm,
24+
],
25+
rehypePlugins: [rehypeRenoun, rehypeMdxImportMedia],
926
},
1027
})
1128

@@ -14,6 +31,7 @@ export default withMDX({
1431
reactStrictMode: true,
1532
trailingSlash: true,
1633
poweredByHeader: false,
34+
1735
pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"],
1836
eslint: { ignoreDuringBuilds: true },
1937
typescript: { ignoreBuildErrors: true },

package.json

Lines changed: 47 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -27,57 +27,62 @@
2727
"@mdx-js/loader": "3.1.0",
2828
"@mdx-js/node-loader": "3.1.0",
2929
"@mdx-js/react": "3.1.0",
30-
"@next/mdx": "15.2.3",
31-
"@radix-ui/react-accordion": "^1.2.3",
32-
"@radix-ui/react-collapsible": "1.1.3",
33-
"@radix-ui/react-dialog": "1.1.6",
34-
"@radix-ui/react-dropdown-menu": "2.1.6",
35-
"@radix-ui/react-select": "^2.1.6",
36-
"@radix-ui/react-separator": "^1.1.2",
37-
"@radix-ui/react-slot": "1.1.2",
38-
"@radix-ui/react-tabs": "1.1.3",
39-
"@radix-ui/react-tooltip": "^1.1.8",
40-
"@renoun/mdx": "1.6.0",
41-
"@tanstack/react-table": "^8.21.2",
30+
"@next/mdx": "15.3.2",
31+
"@radix-ui/react-accordion": "^1.2.10",
32+
"@radix-ui/react-collapsible": "1.1.10",
33+
"@radix-ui/react-dialog": "1.1.13",
34+
"@radix-ui/react-dropdown-menu": "2.1.14",
35+
"@radix-ui/react-select": "^2.2.4",
36+
"@radix-ui/react-separator": "^1.1.6",
37+
"@radix-ui/react-slot": "1.2.2",
38+
"@radix-ui/react-tabs": "1.1.11",
39+
"@radix-ui/react-tooltip": "^1.2.6",
40+
"@renoun/mdx": "2.1.0",
41+
"@tanstack/react-table": "^8.21.3",
4242
"class-variance-authority": "0.7.1",
4343
"clsx": "2.1.1",
4444
"date-fns": "4.1.0",
45-
"lucide-react": "0.483.0",
46-
"mermaid": "11.5.0",
45+
"lucide-react": "0.510.0",
46+
"mermaid": "11.6.0",
4747
"multimatch": "7.0.0",
48-
"next": "15.2.3",
48+
"next": "15.3.2",
4949
"next-themes": "0.4.6",
5050
"railroad-diagrams": "1.0.0",
51-
"react": "19.0.0",
52-
"react-dom": "19.0.0",
53-
"react-element-to-jsx-string": "17.0.0",
51+
"react": "19.1.0",
52+
"react-dom": "19.1.0",
53+
"react-element-to-jsx-string": "17.0.1",
5454
"rehype-mdx-import-media": "^1.2.0",
55-
"renoun": "8.11.0",
56-
"tailwind-merge": "3.0.2",
55+
"remark-frontmatter": "5.0.0",
56+
"remark-gfm": "4.0.1",
57+
"remark-mdx-frontmatter": "5.1.0",
58+
"remark-squeeze-paragraphs": "6.0.0",
59+
"remark-strip-badges": "7.0.0",
60+
"renoun": "8.14.0",
61+
"tailwind-merge": "3.3.0",
5762
"tailwindcss-animate": "1.0.7",
58-
"tm-themes": "1.10.1",
63+
"tm-themes": "1.10.6",
5964
"ts-dot-prop": "2.1.4",
60-
"zod": "3.24.2",
61-
"zustand": "5.0.3"
65+
"zod": "3.24.4",
66+
"zustand": "5.0.4"
6267
},
6368
"devDependencies": {
64-
"@eslint/compat": "1.2.7",
65-
"@eslint/js": "9.22.0",
69+
"@eslint/compat": "1.2.9",
70+
"@eslint/js": "9.26.0",
6671
"@ianvs/prettier-plugin-sort-imports": "4.4.1",
67-
"@next/eslint-plugin-next": "15.2.3",
68-
"@tailwindcss/postcss": "^4.0.14",
72+
"@next/eslint-plugin-next": "15.3.2",
73+
"@tailwindcss/postcss": "^4.1.7",
6974
"@tailwindcss/typography": "0.5.16",
7075
"@types/mdx": "2.0.13",
71-
"@types/node": "22.13.10",
72-
"@types/react": "19.0.11",
73-
"@types/react-dom": "19.0.4",
76+
"@types/node": "22.15.18",
77+
"@types/react": "19.1.4",
78+
"@types/react-dom": "19.1.5",
7479
"@types/serve-handler": "6.1.4",
75-
"eslint": "9.22.0",
76-
"eslint-config-next": "15.2.3",
77-
"eslint-plugin-import-x": "4.8.0",
80+
"eslint": "9.26.0",
81+
"eslint-config-next": "15.3.2",
82+
"eslint-plugin-import-x": "4.11.1",
7883
"eslint-plugin-jsx-a11y": "6.10.2",
79-
"eslint-plugin-package-json": "0.26.3",
80-
"eslint-plugin-react": "7.37.4",
84+
"eslint-plugin-package-json": "0.31.0",
85+
"eslint-plugin-react": "7.37.5",
8186
"eslint-plugin-react-hooks": "^5.2.0",
8287
"mdast-util-to-string": "4.0.0",
8388
"next-validate-link": "1.5.2",
@@ -87,16 +92,16 @@
8792
"prettier-plugin-tailwindcss": "0.6.11",
8893
"remark-parse": "11.0.0",
8994
"serve-handler": "6.1.6",
90-
"shadcn": "2.4.0-canary.14",
95+
"shadcn": "2.5.0",
9196
"source-map-support": "0.5.21",
92-
"tailwindcss": "4.0.14",
93-
"tsx": "4.19.3",
94-
"type-fest": "4.37.0",
95-
"typescript": "5.8.2",
96-
"typescript-eslint": "8.26.1",
97+
"tailwindcss": "4.1.7",
98+
"tsx": "4.19.4",
99+
"type-fest": "4.41.0",
100+
"typescript": "5.8.3",
101+
"typescript-eslint": "8.32.1",
97102
"unified": "11.0.5"
98103
},
99-
"packageManager": "pnpm@10.6.3",
104+
"packageManager": "pnpm@10.11.0",
100105
"engines": {
101106
"node": ">=22"
102107
},

0 commit comments

Comments
 (0)