From 60887015c53823cb7e766e2f767f8de4d3400d69 Mon Sep 17 00:00:00 2001 From: fuma-nama Date: Sun, 26 May 2024 17:31:05 +0800 Subject: [PATCH 1/6] Format code --- apps/docs/content/blog/why-docs.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/docs/content/blog/why-docs.mdx b/apps/docs/content/blog/why-docs.mdx index 7f912b8bc..70b5b2ce2 100644 --- a/apps/docs/content/blog/why-docs.mdx +++ b/apps/docs/content/blog/why-docs.mdx @@ -31,7 +31,7 @@ I'll just recommend writing your docs in markdown, make it accessible on your Gi Now you may wonder, why major services and frameworks have their own docs sites built with docs frameworks? -Of course, *Usually* using things like GitHub Wiki is adequate, but it is not always true. +Of course, _Usually_ using things like GitHub Wiki is adequate, but it is not always true. Let's take Component Library for example, you cannot showcase your components with Markdown. You will constantly find an ordinary Markdown document lacks of capability and flexibility. @@ -65,7 +65,7 @@ You may notice, we do not have animations everywhere, and we avoided many fancy Fanciness of UI should stay only in landing page, a docs site should focus on **content.** Navigation elements are helpers to browse your site, never should they take up too much space on the screen. -One thing I hated the most is the design of *two sidebars*, it is confusing and meaningless. +One thing I hated the most is the design of _two sidebars_, it is confusing and meaningless. You can just organize all items to a single, clean sidebar, but people instead added two hamburger buttons to the navbar.
@@ -81,4 +81,4 @@ My favourite docs site is still [Linear docs](https://linear.app/docs), looks go 1. You don't need a full-powered docs framework for a small library 2. Don't make a docs site on your own, use a proper docs framework 3. Fumadocs focuses on reading experience -4. You should focus on content, too \ No newline at end of file +4. You should focus on content, too From 09b853748db8611f986243ff520081461794e9e4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 11:55:18 +0000 Subject: [PATCH 2/6] Update all non-major dependencies to v1.6.1 --- packages/twoslash/package.json | 4 ++-- pnpm-lock.yaml | 24 +++++++++++++++++------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/packages/twoslash/package.json b/packages/twoslash/package.json index 340072794..4cae6dd35 100644 --- a/packages/twoslash/package.json +++ b/packages/twoslash/package.json @@ -25,11 +25,11 @@ "types:check": "tsc --noEmit" }, "dependencies": { - "@shikijs/twoslash": "1.6.0", + "@shikijs/twoslash": "1.6.1", "mdast-util-from-markdown": "^2.0.0", "mdast-util-gfm": "^3.0.0", "mdast-util-to-hast": "^13.1.0", - "shiki": "1.6.0" + "shiki": "1.6.1" }, "devDependencies": { "@types/hast": "^3.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2abfc0d36..099daa0a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -634,8 +634,8 @@ importers: packages/twoslash: dependencies: '@shikijs/twoslash': - specifier: 1.6.0 - version: 1.6.0(typescript@5.4.5) + specifier: 1.6.1 + version: 1.6.1(typescript@5.4.5) mdast-util-from-markdown: specifier: ^2.0.0 version: 2.0.0 @@ -646,8 +646,8 @@ importers: specifier: ^13.1.0 version: 13.1.0 shiki: - specifier: 1.6.0 - version: 1.6.0 + specifier: 1.6.1 + version: 1.6.1 devDependencies: '@types/hast': specifier: ^3.0.4 @@ -3460,6 +3460,10 @@ packages: resolution: {integrity: sha512-NIEAi5U5R7BLkbW1pG/ZKu3eb1lzc3/+jD0lFsuxMT7zjaf9bbNwdNyMr7zh/Zl8EXQtQ+MYBAt5G+JLu+5DlA==} dev: false + /@shikijs/core@1.6.1: + resolution: {integrity: sha512-CqYyepN4SnBopaoXYwng4NO8riB5ask/LTCkhOFq+GNGtr2X+aKeD767eYdqYukeixEUvv4bXdyTYVaogj7KBw==} + dev: false + /@shikijs/rehype@1.6.0: resolution: {integrity: sha512-wSypSZqPUWe7ec/UUN56Qg+PKf5UF3cZww+wRHMLsk3m9ollU//bN0zQKN8ymV35IS5VU4gdzpJMpaT8wXYKzA==} dependencies: @@ -3477,10 +3481,10 @@ packages: shiki: 1.6.0 dev: false - /@shikijs/twoslash@1.6.0(typescript@5.4.5): - resolution: {integrity: sha512-sA9l5hgKNiB+CFUNwxeWyh4nvA6J/fSIzVZId1AhO4rRLINi5dFb13MmDSnxqw+60HKCKjsoWKcbVGvToQXJVA==} + /@shikijs/twoslash@1.6.1(typescript@5.4.5): + resolution: {integrity: sha512-VluGZXQ97sDFyxneOzsPkEHK06A6C1SRDh+kSM9AZAkzHorZaGxF4awgA3rh2K0oZnR94NZzfhq8GtERm38EEQ==} dependencies: - '@shikijs/core': 1.6.0 + '@shikijs/core': 1.6.1 twoslash: 0.2.6(typescript@5.4.5) transitivePeerDependencies: - supports-color @@ -9746,6 +9750,12 @@ packages: '@shikijs/core': 1.6.0 dev: false + /shiki@1.6.1: + resolution: {integrity: sha512-1Pu/A1rtsG6HZvQm4W0NExQ45e02og+rPog7PDaFDiMumZgOYnZIu4JtGQeAIfMwdbKSjJQoCUr79vDLKUUxWA==} + dependencies: + '@shikijs/core': 1.6.1 + dev: false + /side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} dependencies: From efc5245cf521684393896e4ad873a6b6524429e2 Mon Sep 17 00:00:00 2001 From: fuma-nama Date: Tue, 28 May 2024 20:48:05 +0800 Subject: [PATCH 3/6] Bump deps --- apps/docs/package.json | 2 +- package.json | 4 +- packages/core/package.json | 6 +- packages/twoslash/package.json | 2 +- packages/typescript/package.json | 2 +- pnpm-lock.yaml | 248 +++++++++++++++++-------------- 6 files changed, 144 insertions(+), 120 deletions(-) diff --git a/apps/docs/package.json b/apps/docs/package.json index a1ce7199a..44d64ed6d 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -32,7 +32,7 @@ "react-dom": "^18.3.1", "rehype-katex": "^7.0.0", "remark-math": "^6.0.0", - "shiki": "^1.6.0", + "shiki": "^1.6.1", "tailwind-merge": "^2.3.0", "zod": "^3.23.8" }, diff --git a/package.json b/package.json index e778ea481..e2ba18c04 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "prettier": "@vercel/style-guide/prettier", "devDependencies": { "@changesets/cli": "^2.27.3", - "@typescript-eslint/eslint-plugin": "^7.10.0", - "@typescript-eslint/parser": "^7.10.0", + "@typescript-eslint/eslint-plugin": "^7.11.0", + "@typescript-eslint/parser": "^7.11.0", "@vercel/style-guide": "^6.0.0", "concurrently": "^8.2.2", "eslint": "^8.57.0", diff --git a/packages/core/package.json b/packages/core/package.json index f60bd8310..e1703f116 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -120,8 +120,8 @@ }, "dependencies": { "@formatjs/intl-localematcher": "^0.5.4", - "@shikijs/rehype": "^1.6.0", - "@shikijs/transformers": "^1.6.0", + "@shikijs/rehype": "^1.6.1", + "@shikijs/transformers": "^1.6.1", "flexsearch": "0.7.21", "github-slugger": "^2.0.0", "hast-util-to-estree": "^3.1.0", @@ -132,7 +132,7 @@ "remark-gfm": "^4.0.0", "remark-mdx": "^3.0.1", "scroll-into-view-if-needed": "^3.1.0", - "shiki": "^1.6.0", + "shiki": "^1.6.1", "swr": "^2.2.5", "unist-util-visit": "^5.0.0" }, diff --git a/packages/twoslash/package.json b/packages/twoslash/package.json index 4cae6dd35..81ca9bd9f 100644 --- a/packages/twoslash/package.json +++ b/packages/twoslash/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "@shikijs/twoslash": "1.6.1", - "mdast-util-from-markdown": "^2.0.0", + "mdast-util-from-markdown": "^2.0.1", "mdast-util-gfm": "^3.0.0", "mdast-util-to-hast": "^13.1.0", "shiki": "1.6.1" diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 4a1ea7362..6d455c58a 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -44,7 +44,7 @@ "dependencies": { "fast-glob": "^3.3.1", "hast-util-to-jsx-runtime": "^2.3.0", - "mdast-util-from-markdown": "^2.0.0", + "mdast-util-from-markdown": "^2.0.1", "mdast-util-gfm": "^3.0.0", "mdast-util-to-hast": "^13.1.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 099daa0a4..336ca5f8f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,11 +20,11 @@ importers: specifier: ^2.27.3 version: 2.27.3 '@typescript-eslint/eslint-plugin': - specifier: ^7.10.0 - version: 7.10.0(@typescript-eslint/parser@7.10.0)(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.11.0 + version: 7.11.0(@typescript-eslint/parser@7.11.0)(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': - specifier: ^7.10.0 - version: 7.10.0(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.11.0 + version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) '@vercel/style-guide': specifier: ^6.0.0 version: 6.0.0(eslint@8.57.0)(prettier@3.2.5)(typescript@5.4.5)(vitest@1.6.0) @@ -116,8 +116,8 @@ importers: specifier: ^6.0.0 version: 6.0.0 shiki: - specifier: ^1.6.0 - version: 1.6.0 + specifier: ^1.6.1 + version: 1.6.1 tailwind-merge: specifier: ^2.3.0 version: 2.3.0 @@ -322,11 +322,11 @@ importers: specifier: ^0.5.4 version: 0.5.4 '@shikijs/rehype': - specifier: ^1.6.0 - version: 1.6.0 + specifier: ^1.6.1 + version: 1.6.1 '@shikijs/transformers': - specifier: ^1.6.0 - version: 1.6.0 + specifier: ^1.6.1 + version: 1.6.1 flexsearch: specifier: 0.7.21 version: 0.7.21 @@ -364,8 +364,8 @@ importers: specifier: ^3.1.0 version: 3.1.0 shiki: - specifier: ^1.6.0 - version: 1.6.0 + specifier: ^1.6.1 + version: 1.6.1 swr: specifier: ^2.2.5 version: 2.2.5(react@18.3.1) @@ -637,8 +637,8 @@ importers: specifier: 1.6.1 version: 1.6.1(typescript@5.4.5) mdast-util-from-markdown: - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^2.0.1 + version: 2.0.1 mdast-util-gfm: specifier: ^3.0.0 version: 3.0.0 @@ -671,8 +671,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 mdast-util-from-markdown: - specifier: ^2.0.0 - version: 2.0.0 + specifier: ^2.0.1 + version: 2.0.1 mdast-util-gfm: specifier: ^3.0.0 version: 3.0.0 @@ -3456,29 +3456,25 @@ packages: resolution: {integrity: sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA==} dev: true - /@shikijs/core@1.6.0: - resolution: {integrity: sha512-NIEAi5U5R7BLkbW1pG/ZKu3eb1lzc3/+jD0lFsuxMT7zjaf9bbNwdNyMr7zh/Zl8EXQtQ+MYBAt5G+JLu+5DlA==} - dev: false - /@shikijs/core@1.6.1: resolution: {integrity: sha512-CqYyepN4SnBopaoXYwng4NO8riB5ask/LTCkhOFq+GNGtr2X+aKeD767eYdqYukeixEUvv4bXdyTYVaogj7KBw==} dev: false - /@shikijs/rehype@1.6.0: - resolution: {integrity: sha512-wSypSZqPUWe7ec/UUN56Qg+PKf5UF3cZww+wRHMLsk3m9ollU//bN0zQKN8ymV35IS5VU4gdzpJMpaT8wXYKzA==} + /@shikijs/rehype@1.6.1: + resolution: {integrity: sha512-qBmZ93ASVX0tfuHvXB9EzgsAEcPmpk1R3I600JgaIBTljF+GsNxhJ+QL7dIVP8QvH6YslQ4jMx/2YC9DSDuCaw==} dependencies: - '@shikijs/transformers': 1.6.0 + '@shikijs/transformers': 1.6.1 '@types/hast': 3.0.4 hast-util-to-string: 3.0.0 - shiki: 1.6.0 + shiki: 1.6.1 unified: 11.0.4 unist-util-visit: 5.0.0 dev: false - /@shikijs/transformers@1.6.0: - resolution: {integrity: sha512-qGfHe1ECiqfE2STPWvfogIj/9Q0SK+MCRJdoITkW7AmFuB7DmbFnBT2US84+zklJOB51MzNO8RUXZiauWssJlQ==} + /@shikijs/transformers@1.6.1: + resolution: {integrity: sha512-m/h2Dh99XWvTzHL8MUQmEnrB+/gxDljIfgDNR00Zg941KENqORx8Hi9sKpGYjCgXoEJKASZlEMQdPnkHj9/8aQ==} dependencies: - shiki: 1.6.0 + shiki: 1.6.1 dev: false /@shikijs/twoslash@1.6.1(typescript@5.4.5): @@ -3532,10 +3528,10 @@ packages: '@types/node': 18.17.5 dev: true - /@types/debug@4.1.8: - resolution: {integrity: sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==} + /@types/debug@4.1.12: + resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} dependencies: - '@types/ms': 0.7.31 + '@types/ms': 0.7.34 /@types/eslint-scope@3.7.6: resolution: {integrity: sha512-zfM4ipmxVKWdxtDaJ3MP3pBurDXOCoyjvlpE3u6Qzrmw4BPbfm4/ambIeTk/r/J0iq/+2/xp0Fmt+gFvXJY2PQ==} @@ -3615,8 +3611,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/ms@0.7.31: - resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} + /@types/ms@0.7.34: + resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} /@types/negotiator@0.6.3: resolution: {integrity: sha512-JkXTOdKs5MF086b/pt8C3+yVp3iDUwG635L7oCH6HvJvvr6lSUU5oe/gLXnPEfYRROHjJIPgCV6cuAg8gGkntQ==} @@ -3667,8 +3663,8 @@ packages: /@types/unist@3.0.2: resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} - /@typescript-eslint/eslint-plugin@7.10.0(@typescript-eslint/parser@7.10.0)(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-PzCr+a/KAef5ZawX7nbyNwBDtM1HdLIT53aSA2DDlxmxMngZ43O8SIePOeX8H5S+FHXeI6t97mTt/dDdzY4Fyw==} + /@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0)(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-P+qEahbgeHW4JQ/87FuItjBj8O3MYv5gELDzr8QaQ7fsll1gSMTYb6j87MYyxwf3DtD7uGFB9ShwgmCJB5KmaQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -3679,11 +3675,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 7.10.0 - '@typescript-eslint/type-utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.10.0 + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.11.0 + '@typescript-eslint/type-utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.11.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -3694,8 +3690,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-2EjZMA0LUW5V5tGQiaa2Gys+nKdfrn2xiTIBLR4fxmPmVSvgPcKNW+AE/ln9k0A4zDUti0J/GZXMDupQoI+e1w==} + /@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-yimw99teuaXVWsBcPO1Ais02kwJ1jmNA1KxE7ng0aT7ndr1pT1wqj0OJnsYVGKKlc4QJai86l/025L6z8CljOg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -3704,10 +3700,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 7.10.0 - '@typescript-eslint/types': 7.10.0 - '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.10.0 + '@typescript-eslint/scope-manager': 7.11.0 + '@typescript-eslint/types': 7.11.0 + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.11.0 debug: 4.3.4 eslint: 8.57.0 typescript: 5.4.5 @@ -3731,16 +3727,16 @@ packages: '@typescript-eslint/visitor-keys': 6.21.0 dev: true - /@typescript-eslint/scope-manager@7.10.0: - resolution: {integrity: sha512-7L01/K8W/VGl7noe2mgH0K7BE29Sq6KAbVmxurj8GGaPDZXPr8EEQ2seOeAS+mEV9DnzxBQB6ax6qQQ5C6P4xg==} + /@typescript-eslint/scope-manager@7.11.0: + resolution: {integrity: sha512-27tGdVEiutD4POirLZX4YzT180vevUURJl4wJGmm6TrQoiYwuxTIY98PBp6L2oN+JQxzE0URvYlzJaBHIekXAw==} engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.10.0 - '@typescript-eslint/visitor-keys': 7.10.0 + '@typescript-eslint/types': 7.11.0 + '@typescript-eslint/visitor-keys': 7.11.0 dev: true - /@typescript-eslint/type-utils@7.10.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-D7tS4WDkJWrVkuzgm90qYw9RdgBcrWmbbRkrLA4d7Pg3w0ttVGDsvYGV19SH8gPR5L7OtcN5J1hTtyenO9xE9g==} + /@typescript-eslint/type-utils@7.11.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-WmppUEgYy+y1NTseNMJ6mCFxt03/7jTOy08bcg7bxJJdsM4nuhnchyBbE8vryveaJUf62noH7LodPSo5Z0WUCg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -3749,8 +3745,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) + '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) @@ -3769,8 +3765,8 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/types@7.10.0: - resolution: {integrity: sha512-7fNj+Ya35aNyhuqrA1E/VayQX9Elwr8NKZ4WueClR3KwJ7Xx9jcCdOrLW04h51de/+gNbyFMs+IDxh5xIwfbNg==} + /@typescript-eslint/types@7.11.0: + resolution: {integrity: sha512-MPEsDRZTyCiXkD4vd3zywDCifi7tatc4K37KqTprCvaXptP7Xlpdw0NR2hRJTetG5TxbWDB79Ys4kLmHliEo/w==} engines: {node: ^18.18.0 || >=20.0.0} dev: true @@ -3817,8 +3813,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@7.10.0(typescript@5.4.5): - resolution: {integrity: sha512-LXFnQJjL9XIcxeVfqmNj60YhatpRLt6UhdlFwAkjNc6jSUlK8zQOl1oktAP8PlWFzPQC1jny/8Bai3/HPuvN5g==} + /@typescript-eslint/typescript-estree@7.11.0(typescript@5.4.5): + resolution: {integrity: sha512-cxkhZ2C/iyi3/6U9EPc5y+a6csqHItndvN/CzbNXTNrsC3/ASoYQZEt9uMaEp+xFNjasqQyszp5TumAVKKvJeQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' @@ -3826,8 +3822,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 7.10.0 - '@typescript-eslint/visitor-keys': 7.10.0 + '@typescript-eslint/types': 7.11.0 + '@typescript-eslint/visitor-keys': 7.11.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -3878,16 +3874,16 @@ packages: - typescript dev: true - /@typescript-eslint/utils@7.10.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-olzif1Fuo8R8m/qKkzJqT7qwy16CzPRWBvERS0uvyc+DHd8AKbO4Jb7kpAvVzMmZm8TrHnI7hvjN4I05zow+tg==} + /@typescript-eslint/utils@7.11.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-xlAWwPleNRHwF37AhrZurOxA1wyXowW4PqVXZVUNCLjB48CqdPJoJWkrpH2nij9Q3Lb7rtWindtoXwxjxlKKCA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@typescript-eslint/scope-manager': 7.10.0 - '@typescript-eslint/types': 7.10.0 - '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.11.0 + '@typescript-eslint/types': 7.11.0 + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) eslint: 8.57.0 transitivePeerDependencies: - supports-color @@ -3910,11 +3906,11 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@7.10.0: - resolution: {integrity: sha512-9ntIVgsi6gg6FIq9xjEO4VQJvwOqA3jaBFQJ/6TK5AvEup2+cECI6Fh7QiBxmfMHXU0V0J4RyPeOU1VDNzl9cg==} + /@typescript-eslint/visitor-keys@7.11.0: + resolution: {integrity: sha512-7syYk4MzjxTEk0g/w3iqtgxnFQspDJfn6QKD36xMuuhTzjcxY7F8EmBLnALjVyaOF1/bVocu3bS/2/F7rXrveQ==} engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/types': 7.11.0 eslint-visitor-keys: 3.4.3 dev: true @@ -3950,15 +3946,15 @@ packages: '@babel/core': 7.24.0 '@babel/eslint-parser': 7.23.10(@babel/core@7.24.0)(eslint@8.57.0) '@rushstack/eslint-patch': 1.7.2 - '@typescript-eslint/eslint-plugin': 7.10.0(@typescript-eslint/parser@7.10.0)(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.11.0(@typescript-eslint/parser@7.11.0)(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-config-prettier: 9.1.0(eslint@8.57.0) eslint-import-resolver-alias: 1.1.2(eslint-plugin-import@2.29.1) - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.10.0)(eslint-plugin-import@2.29.1)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.11.0)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.10.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.10.0)(eslint@8.57.0)(typescript@5.4.5) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.11.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.11.0)(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-jsx-a11y: 6.8.0(eslint@8.57.0) eslint-plugin-playwright: 1.5.2(eslint-plugin-jest@27.9.0)(eslint@8.57.0) eslint-plugin-react: 7.34.0(eslint@8.57.0) @@ -3966,7 +3962,7 @@ packages: eslint-plugin-testing-library: 6.2.0(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-tsdoc: 0.2.17 eslint-plugin-unicorn: 51.0.1(eslint@8.57.0) - eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@7.10.0)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.6.0) + eslint-plugin-vitest: 0.3.22(@typescript-eslint/eslint-plugin@7.11.0)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.6.0) prettier: 3.2.5 prettier-plugin-packagejson: 2.4.12(prettier@3.2.5) typescript: 5.4.5 @@ -5397,7 +5393,7 @@ packages: peerDependencies: eslint-plugin-import: '>=1.4.0' dependencies: - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.10.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.11.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) dev: true /eslint-import-resolver-node@0.3.9: @@ -5410,7 +5406,7 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.10.0)(eslint-plugin-import@2.29.1)(eslint@8.57.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.11.0)(eslint-plugin-import@2.29.1)(eslint@8.57.0): resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -5420,8 +5416,8 @@ packages: debug: 4.3.4 enhanced-resolve: 5.15.0 eslint: 8.57.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.10.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.10.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.11.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.11.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.2 is-core-module: 2.13.1 @@ -5433,7 +5429,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@7.10.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@7.11.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -5454,11 +5450,11 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.10.0)(eslint-plugin-import@2.29.1)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.11.0)(eslint-plugin-import@2.29.1)(eslint@8.57.0) transitivePeerDependencies: - supports-color dev: true @@ -5474,7 +5470,7 @@ packages: ignore: 5.3.1 dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.11.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -5484,7 +5480,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -5493,7 +5489,7 @@ packages: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.10.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.11.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) hasown: 2.0.1 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -5509,7 +5505,7 @@ packages: - supports-color dev: true - /eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.10.0)(eslint@8.57.0)(typescript@5.4.5): + /eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.11.0)(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-QIT7FH7fNmd9n4se7FFKHbsLKGQiw885Ds6Y/sxKgCZ6natwCsXdgPOADnYVxN2QrRweF0FZWbJ6S7Rsn7llug==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -5522,7 +5518,7 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.10.0(@typescript-eslint/parser@7.10.0)(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.11.0(@typescript-eslint/parser@7.11.0)(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 transitivePeerDependencies: @@ -5566,7 +5562,7 @@ packages: optional: true dependencies: eslint: 8.57.0 - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.10.0)(eslint@8.57.0)(typescript@5.4.5) + eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.11.0)(eslint@8.57.0)(typescript@5.4.5) globals: 13.24.0 dev: true @@ -5664,7 +5660,7 @@ packages: - supports-color dev: true - /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@7.10.0)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.6.0): + /eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@7.11.0)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.6.0): resolution: {integrity: sha512-atkFGQ7aVgcuSeSMDqnyevIyUpfBPMnosksgEPrKE7Y8xQlqG/5z2IQ6UDau05zXaaFv7Iz8uzqvIuKshjZ0Zw==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: @@ -5677,7 +5673,7 @@ packages: vitest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.10.0(@typescript-eslint/parser@7.10.0)(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.11.0(@typescript-eslint/parser@7.11.0)(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 vitest: 1.6.0 @@ -7564,8 +7560,8 @@ packages: unist-util-visit-parents: 6.0.1 dev: false - /mdast-util-from-markdown@2.0.0: - resolution: {integrity: sha512-n7MTOr/z+8NAX/wmhhDji8O3bRvPTV/U0oTCaZJkjhPSKTPhS3xufVhKGF8s1pJ7Ox4QgoIU7KHseh09S+9rTA==} + /mdast-util-from-markdown@2.0.1: + resolution: {integrity: sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA==} dependencies: '@types/mdast': 4.0.4 '@types/unist': 3.0.2 @@ -7595,7 +7591,7 @@ packages: '@types/mdast': 4.0.4 devlop: 1.1.0 escape-string-regexp: 5.0.0 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 micromark-extension-frontmatter: 2.0.0 transitivePeerDependencies: @@ -7616,7 +7612,7 @@ packages: dependencies: '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 micromark-util-normalize-identifier: 2.0.0 transitivePeerDependencies: @@ -7627,7 +7623,7 @@ packages: resolution: {integrity: sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==} dependencies: '@types/mdast': 4.0.4 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color @@ -7639,7 +7635,7 @@ packages: '@types/mdast': 4.0.4 devlop: 1.1.0 markdown-table: 3.0.3 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color @@ -7650,7 +7646,7 @@ packages: dependencies: '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color @@ -7659,7 +7655,7 @@ packages: /mdast-util-gfm@3.0.0: resolution: {integrity: sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==} dependencies: - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-gfm-autolink-literal: 2.0.0 mdast-util-gfm-footnote: 2.0.0 mdast-util-gfm-strikethrough: 2.0.0 @@ -7677,7 +7673,7 @@ packages: '@types/mdast': 4.0.4 devlop: 1.1.0 longest-streak: 3.1.0 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 unist-util-remove-position: 5.0.0 transitivePeerDependencies: @@ -7691,7 +7687,7 @@ packages: '@types/hast': 3.0.4 '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color @@ -7705,7 +7701,7 @@ packages: '@types/unist': 3.0.2 ccount: 2.0.1 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 parse-entities: 4.0.1 stringify-entities: 4.0.3 @@ -7718,7 +7714,7 @@ packages: /mdast-util-mdx@3.0.0: resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} dependencies: - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-mdx-expression: 2.0.0 mdast-util-mdx-jsx: 3.0.0 mdast-util-mdxjs-esm: 2.0.1 @@ -7733,7 +7729,7 @@ packages: '@types/hast': 3.0.4 '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color @@ -7882,6 +7878,26 @@ packages: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 + /micromark-core-commonmark@2.0.1: + resolution: {integrity: sha512-CUQyKr1e///ZODyD1U3xit6zXwy1a8q2a1S1HKtIlmgvurrEpaw/Y9y6KSIbF8P59cn/NjzHyO+Q2fAyYLQrAA==} + dependencies: + decode-named-character-reference: 1.0.2 + devlop: 1.1.0 + micromark-factory-destination: 2.0.0 + micromark-factory-label: 2.0.0 + micromark-factory-space: 2.0.0 + micromark-factory-title: 2.0.0 + micromark-factory-whitespace: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-chunked: 2.0.0 + micromark-util-classify-character: 2.0.0 + micromark-util-html-tag-name: 2.0.0 + micromark-util-normalize-identifier: 2.0.0 + micromark-util-resolve-all: 2.0.0 + micromark-util-subtokenize: 2.0.1 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + /micromark-extension-frontmatter@1.1.1: resolution: {integrity: sha512-m2UH9a7n3W8VAH9JO9y01APpPKmNNNs71P0RbknEmYSaZU5Ghogv38BYO94AI5Xw6OYfxZRdHZZ2nYjs/Z+SZQ==} dependencies: @@ -8099,6 +8115,12 @@ packages: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 + /micromark-util-character@2.1.0: + resolution: {integrity: sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ==} + dependencies: + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + /micromark-util-chunked@2.0.0: resolution: {integrity: sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg==} dependencies: @@ -8186,6 +8208,14 @@ packages: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 + /micromark-util-subtokenize@2.0.1: + resolution: {integrity: sha512-jZNtiFl/1aY73yS3UGQkutD0UbhTt68qnRpw2Pifmz5wV9h8gOVsN70v+Lq/f1rKaU/W8pxRe8y8Q9FX1AOe1Q==} + dependencies: + devlop: 1.1.0 + micromark-util-chunked: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + /micromark-util-symbol@1.1.0: resolution: {integrity: sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag==} @@ -8201,13 +8231,13 @@ packages: /micromark@4.0.0: resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} dependencies: - '@types/debug': 4.1.8 + '@types/debug': 4.1.12 debug: 4.3.4 decode-named-character-reference: 1.0.2 devlop: 1.1.0 - micromark-core-commonmark: 2.0.0 + micromark-core-commonmark: 2.0.1 micromark-factory-space: 2.0.0 - micromark-util-character: 2.0.1 + micromark-util-character: 2.1.0 micromark-util-chunked: 2.0.0 micromark-util-combine-extensions: 2.0.0 micromark-util-decode-numeric-character-reference: 2.0.1 @@ -8215,7 +8245,7 @@ packages: micromark-util-normalize-identifier: 2.0.0 micromark-util-resolve-all: 2.0.0 micromark-util-sanitize-uri: 2.0.0 - micromark-util-subtokenize: 2.0.0 + micromark-util-subtokenize: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 transitivePeerDependencies: @@ -9432,7 +9462,7 @@ packages: resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} dependencies: '@types/mdast': 4.0.4 - mdast-util-from-markdown: 2.0.0 + mdast-util-from-markdown: 2.0.1 micromark-util-types: 2.0.0 unified: 11.0.4 transitivePeerDependencies: @@ -9744,12 +9774,6 @@ packages: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} dev: true - /shiki@1.6.0: - resolution: {integrity: sha512-P31ROeXcVgW/k3Z+vUUErcxoTah7ZRaimctOpzGuqAntqnnSmx1HOsvnbAB8Z2qfXPRhw61yptAzCsuKOhTHwQ==} - dependencies: - '@shikijs/core': 1.6.0 - dev: false - /shiki@1.6.1: resolution: {integrity: sha512-1Pu/A1rtsG6HZvQm4W0NExQ45e02og+rPog7PDaFDiMumZgOYnZIu4JtGQeAIfMwdbKSjJQoCUr79vDLKUUxWA==} dependencies: From 9acda31981bbd35c4c5f3102017916eb803e6f43 Mon Sep 17 00:00:00 2001 From: fuma-nama Date: Tue, 28 May 2024 21:14:43 +0800 Subject: [PATCH 4/6] Docs: Introduce search and next-themes customisation --- .../content/docs/ui/blocks/root-provider.mdx | 34 +++++++++++++++---- apps/docs/content/docs/ui/props.ts | 3 -- apps/docs/content/docs/ui/search.mdx | 1 + apps/docs/content/docs/ui/theme.mdx | 11 ++++-- packages/ui/src/contexts/search.tsx | 5 --- packages/ui/src/provider.tsx | 19 ++++++++++- 6 files changed, 56 insertions(+), 17 deletions(-) diff --git a/apps/docs/content/docs/ui/blocks/root-provider.mdx b/apps/docs/content/docs/ui/blocks/root-provider.mdx index 67dc10740..8dd8fee6f 100644 --- a/apps/docs/content/docs/ui/blocks/root-provider.mdx +++ b/apps/docs/content/docs/ui/blocks/root-provider.mdx @@ -22,11 +22,33 @@ export default function Layout({ children }) { } ``` -In addition, You can customize the search dialog from the root provider. +### Search Dialog -```json doc-gen:typescript -{ - "file": "./content/docs/ui/props.ts", - "name": "ProviderProps" -} +Customize or disable the search dialog with `search` option. + +```jsx + + {children} + +``` + +Learn more from [Search](/docs/ui/search). + +### Theme Provider + +Fumadocs supports light/dark modes with [`next-themes`](https://github.com/pacocoursey/next-themes). +Customise or disable it with `theme` option. + +```jsx + + {children} + ``` diff --git a/apps/docs/content/docs/ui/props.ts b/apps/docs/content/docs/ui/props.ts index ee9f0bbce..bed975136 100644 --- a/apps/docs/content/docs/ui/props.ts +++ b/apps/docs/content/docs/ui/props.ts @@ -8,7 +8,6 @@ import type { Card } from 'fumadocs-ui/components/card'; import type { DocsLayoutProps } from 'fumadocs-ui/layout'; import type { AnchorHTMLAttributes, ComponentPropsWithoutRef } from 'react'; import type { DocsPageProps } from 'fumadocs-ui/page'; -import type { RootProviderProps } from 'fumadocs-ui/provider'; import type { AutoTypeTable } from 'fumadocs-typescript/ui'; export type AccordionsProps = Omit< @@ -68,8 +67,6 @@ export type TOCProps = NonNullable; export type FooterProps = NonNullable; -export type ProviderProps = RootProviderProps; - export type AutoTypeTableProps = ComponentPropsWithoutRef; export interface AutoTypeTableExample { diff --git a/apps/docs/content/docs/ui/search.mdx b/apps/docs/content/docs/ui/search.mdx index b5c32a53b..917953a91 100644 --- a/apps/docs/content/docs/ui/search.mdx +++ b/apps/docs/content/docs/ui/search.mdx @@ -44,6 +44,7 @@ When not specified, it uses the [Default Search Client](/docs/headless/search/fl ### Custom Links Add custom link items to search dialog. +They are shown as fallbacks when the query is empty. ```jsx import { RootProvider } from 'fumadocs-ui/root-provider'; diff --git a/apps/docs/content/docs/ui/theme.mdx b/apps/docs/content/docs/ui/theme.mdx index 7011938c1..8432632eb 100644 --- a/apps/docs/content/docs/ui/theme.mdx +++ b/apps/docs/content/docs/ui/theme.mdx @@ -33,9 +33,16 @@ For Tailwind CSS projects, use the official Tailwind CSS plugin. By using the Tailwind CSS plugin, or the pre-built stylesheet, your default border, text and background colors will be changed. +### Light/Dark Modes + +Fumadocs supports light/dark modes with [`next-themes`](https://github.com/pacocoursey/next-themes). +The Theme Provider is a part of Root Provider. + +See [Root Provider](/docs/ui/blocks/root-provider#theme-provider) to learn more. + ### RTL Layout -Fumadocs UI has support for RTL (Right-to-left) layout. To enable, you can pass the `dir` prop to body. +RTL (Right-to-left) layout is supported. To enable RTL, pass the `dir` prop to body. ```tsx @@ -82,7 +89,7 @@ The official Tailwind CSS plugin introduces new colors and extra utilities inclu ### Presets -It comes with several theme presets out-of-the-box, you can pick one you prefer rather than the default one. +It comes with many theme presets out-of-the-box, you can pick one you prefer rather than the default one. ```js import { createPreset } from 'fumadocs-ui/tailwind-plugin'; diff --git a/packages/ui/src/contexts/search.tsx b/packages/ui/src/contexts/search.tsx index 750f816c5..d06c260e8 100644 --- a/packages/ui/src/contexts/search.tsx +++ b/packages/ui/src/contexts/search.tsx @@ -15,11 +15,6 @@ export interface SearchProviderProps { */ links?: SearchLink[]; - /** - * The shortcuts to trigger search dialog - */ - hotKey?: string[]; - /** * Replace default search dialog, allowing you to use other solutions such as Algolia Search * diff --git a/packages/ui/src/provider.tsx b/packages/ui/src/provider.tsx index d41ace575..9257b7a80 100644 --- a/packages/ui/src/provider.tsx +++ b/packages/ui/src/provider.tsx @@ -8,6 +8,7 @@ import { DirectionProvider } from '@radix-ui/react-direction'; import { SidebarCollapseProvider } from '@/contexts/sidebar'; import { DefaultSearchDialogProps } from '@/components/dialog/search-default'; import { SearchProvider, type SearchProviderProps } from './contexts/search'; +import type { ThemeProviderProps } from 'next-themes/dist/types'; interface SearchOptions extends Omit { @@ -35,8 +36,22 @@ export interface RootProviderProps { * Wrap the body in `ThemeProvider` (next-themes) * * @defaultValue true + * @deprecated Use `theme.enable` instead */ enableThemeProvider?: boolean; + + /** + * Customise options of `next-themes` + */ + theme?: Partial & { + /** + * Enable `next-themes` + * + * @defaultValue true + */ + enabled?: boolean; + }; + children: ReactNode; } @@ -49,6 +64,7 @@ export function RootProvider({ children, dir, enableThemeProvider = true, + theme: { enabled = true, ...theme } = {}, search, }: RootProviderProps): React.ReactElement { let body = ( @@ -64,13 +80,14 @@ export function RootProvider({ ); - if (enableThemeProvider) + if (enabled && enableThemeProvider) body = ( {body} From 72096c3b42a188440668108a8ca9b4040c06faf9 Mon Sep 17 00:00:00 2001 From: fuma-nama Date: Tue, 28 May 2024 21:19:22 +0800 Subject: [PATCH 5/6] Add missing changesets --- .changeset/spicy-carrots-roll.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/spicy-carrots-roll.md diff --git a/.changeset/spicy-carrots-roll.md b/.changeset/spicy-carrots-roll.md new file mode 100644 index 000000000..32b69d8c3 --- /dev/null +++ b/.changeset/spicy-carrots-roll.md @@ -0,0 +1,5 @@ +--- +'fumadocs-ui': patch +--- + +Support customising theme options from root provider From 23a08028ffcc44fd5fabe9786fc1a33d67914e6d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 28 May 2024 13:20:02 +0000 Subject: [PATCH 6/6] Version Packages --- .changeset/itchy-pumpkins-care.md | 5 ----- .changeset/spicy-carrots-roll.md | 5 ----- examples/contentlayer/package.json | 6 +++--- examples/i18n/package.json | 6 +++--- examples/next-mdx/package.json | 6 +++--- packages/contentlayer/CHANGELOG.md | 6 ++++++ packages/contentlayer/package.json | 2 +- packages/core/CHANGELOG.md | 2 ++ packages/core/package.json | 2 +- packages/create-app-versions/package.json | 8 +++---- packages/create-app/CHANGELOG.md | 2 ++ packages/create-app/package.json | 2 +- packages/mdx/CHANGELOG.md | 6 ++++++ packages/mdx/package.json | 2 +- packages/ui/CHANGELOG.md | 8 +++++++ packages/ui/package.json | 2 +- pnpm-lock.yaml | 26 +++++++++++------------ 17 files changed, 55 insertions(+), 41 deletions(-) delete mode 100644 .changeset/itchy-pumpkins-care.md delete mode 100644 .changeset/spicy-carrots-roll.md diff --git a/.changeset/itchy-pumpkins-care.md b/.changeset/itchy-pumpkins-care.md deleted file mode 100644 index 7d83a3fdd..000000000 --- a/.changeset/itchy-pumpkins-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fumadocs-ui': patch ---- - -Support customising sidebar background with opacity diff --git a/.changeset/spicy-carrots-roll.md b/.changeset/spicy-carrots-roll.md deleted file mode 100644 index 32b69d8c3..000000000 --- a/.changeset/spicy-carrots-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'fumadocs-ui': patch ---- - -Support customising theme options from root provider diff --git a/examples/contentlayer/package.json b/examples/contentlayer/package.json index dee7bfaad..d7451f52f 100644 --- a/examples/contentlayer/package.json +++ b/examples/contentlayer/package.json @@ -10,9 +10,9 @@ }, "dependencies": { "contentlayer": "0.3.4", - "fumadocs-contentlayer": "1.1.25", - "fumadocs-core": "11.2.1", - "fumadocs-ui": "11.2.1", + "fumadocs-contentlayer": "1.1.26", + "fumadocs-core": "11.2.2", + "fumadocs-ui": "11.2.2", "next": "^14.2.3", "next-contentlayer": "^0.3.4", "react": "18.3.1", diff --git a/examples/i18n/package.json b/examples/i18n/package.json index 63c6f6938..20bb28659 100644 --- a/examples/i18n/package.json +++ b/examples/i18n/package.json @@ -8,9 +8,9 @@ "start": "next start" }, "dependencies": { - "fumadocs-core": "11.2.1", - "fumadocs-mdx": "8.2.23", - "fumadocs-ui": "11.2.1", + "fumadocs-core": "11.2.2", + "fumadocs-mdx": "8.2.24", + "fumadocs-ui": "11.2.2", "next": "^14.2.3", "react": "18.3.1", "react-dom": "18.3.1" diff --git a/examples/next-mdx/package.json b/examples/next-mdx/package.json index 574583f18..81db9c4cd 100644 --- a/examples/next-mdx/package.json +++ b/examples/next-mdx/package.json @@ -8,9 +8,9 @@ "start": "next start" }, "dependencies": { - "fumadocs-core": "11.2.1", - "fumadocs-mdx": "8.2.23", - "fumadocs-ui": "11.2.1", + "fumadocs-core": "11.2.2", + "fumadocs-mdx": "8.2.24", + "fumadocs-ui": "11.2.2", "next": "^14.2.3", "react": "18.3.1", "react-dom": "18.3.1" diff --git a/packages/contentlayer/CHANGELOG.md b/packages/contentlayer/CHANGELOG.md index 366fd3ea4..7eb479133 100644 --- a/packages/contentlayer/CHANGELOG.md +++ b/packages/contentlayer/CHANGELOG.md @@ -1,5 +1,11 @@ # fumadocs-contentlayer +## 1.1.26 + +### Patch Changes + +- fumadocs-core@11.2.2 + ## 1.1.25 ### Patch Changes diff --git a/packages/contentlayer/package.json b/packages/contentlayer/package.json index 6290d0184..aa960a1f6 100644 --- a/packages/contentlayer/package.json +++ b/packages/contentlayer/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-contentlayer", - "version": "1.1.25", + "version": "1.1.26", "description": "The Contentlayer adapter for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 623a80a3c..bed995911 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,7 @@ # next-docs-zeta +## 11.2.2 + ## 11.2.1 ## 11.2.0 diff --git a/packages/core/package.json b/packages/core/package.json index e1703f116..52495ec3a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-core", - "version": "11.2.1", + "version": "11.2.2", "description": "The library for building a documentation website in Next.js", "keywords": [ "NextJs", diff --git a/packages/create-app-versions/package.json b/packages/create-app-versions/package.json index 1e5329153..440433fb5 100644 --- a/packages/create-app-versions/package.json +++ b/packages/create-app-versions/package.json @@ -10,10 +10,10 @@ "@types/react-dom": "^18.3.0", "autoprefixer": "^10.4.19", "contentlayer": "^0.3.4", - "fumadocs-contentlayer": "^1.1.25", - "fumadocs-core": "^11.2.1", - "fumadocs-mdx": "^8.2.23", - "fumadocs-ui": "^11.2.1", + "fumadocs-contentlayer": "^1.1.26", + "fumadocs-core": "^11.2.2", + "fumadocs-mdx": "^8.2.24", + "fumadocs-ui": "^11.2.2", "next": "^14.2.3", "next-contentlayer": "^0.3.4", "postcss": "^8.4.38", diff --git a/packages/create-app/CHANGELOG.md b/packages/create-app/CHANGELOG.md index 12d3e0899..9cb7eb828 100644 --- a/packages/create-app/CHANGELOG.md +++ b/packages/create-app/CHANGELOG.md @@ -1,5 +1,7 @@ # create-next-docs-app +## 11.2.2 + ## 11.2.1 ## 11.2.0 diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 2ffa8aa99..8df239aee 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -1,6 +1,6 @@ { "name": "create-fumadocs-app", - "version": "11.2.1", + "version": "11.2.2", "description": "Create a new documentation site with Fumadocs", "keywords": [ "NextJs", diff --git a/packages/mdx/CHANGELOG.md b/packages/mdx/CHANGELOG.md index 63fcae86b..8912ae350 100644 --- a/packages/mdx/CHANGELOG.md +++ b/packages/mdx/CHANGELOG.md @@ -1,5 +1,11 @@ # next-docs-mdx +## 8.2.24 + +### Patch Changes + +- fumadocs-core@11.2.2 + ## 8.2.23 ### Patch Changes diff --git a/packages/mdx/package.json b/packages/mdx/package.json index cc645822b..0eeced190 100644 --- a/packages/mdx/package.json +++ b/packages/mdx/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-mdx", - "version": "8.2.23", + "version": "8.2.24", "description": "The built-in source for Fumadocs", "keywords": [ "NextJs", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 4dba244c8..ca2312b39 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,13 @@ # next-docs-ui +## 11.2.2 + +### Patch Changes + +- dd0feb2: Support customising sidebar background with opacity +- 72096c3: Support customising theme options from root provider + - fumadocs-core@11.2.2 + ## 11.2.1 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index d8d9bb09e..229a66bd9 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "fumadocs-ui", - "version": "11.2.1", + "version": "11.2.2", "description": "The framework for building a documentation website in Next.js", "keywords": [ "NextJs", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 336ca5f8f..4720eb6ad 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -186,13 +186,13 @@ importers: specifier: 0.3.4 version: 0.3.4 fumadocs-contentlayer: - specifier: 1.1.25 + specifier: 1.1.26 version: link:../../packages/contentlayer fumadocs-core: - specifier: 11.2.1 + specifier: 11.2.2 version: link:../../packages/core fumadocs-ui: - specifier: 11.2.1 + specifier: 11.2.2 version: link:../../packages/ui next: specifier: ^14.2.3 @@ -229,13 +229,13 @@ importers: examples/i18n: dependencies: fumadocs-core: - specifier: 11.2.1 + specifier: 11.2.2 version: link:../../packages/core fumadocs-mdx: - specifier: 8.2.23 + specifier: 8.2.24 version: link:../../packages/mdx fumadocs-ui: - specifier: 11.2.1 + specifier: 11.2.2 version: link:../../packages/ui next: specifier: ^14.2.3 @@ -263,13 +263,13 @@ importers: examples/next-mdx: dependencies: fumadocs-core: - specifier: 11.2.1 + specifier: 11.2.2 version: link:../../packages/core fumadocs-mdx: - specifier: 8.2.23 + specifier: 8.2.24 version: link:../../packages/mdx fumadocs-ui: - specifier: 11.2.1 + specifier: 11.2.2 version: link:../../packages/ui next: specifier: ^14.2.3 @@ -465,16 +465,16 @@ importers: specifier: ^0.3.4 version: 0.3.4 fumadocs-contentlayer: - specifier: ^1.1.25 + specifier: ^1.1.26 version: link:../contentlayer fumadocs-core: - specifier: ^11.2.1 + specifier: ^11.2.2 version: link:../core fumadocs-mdx: - specifier: ^8.2.23 + specifier: ^8.2.24 version: link:../mdx fumadocs-ui: - specifier: ^11.2.1 + specifier: ^11.2.2 version: link:../ui next: specifier: ^14.2.3