From 3a8a7e3ba1afca365c5deac021a32b211ae41d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miku=E3=81=AE=E9=AC=86?= Date: Sun, 3 Nov 2024 11:42:24 +0800 Subject: [PATCH] refactor: install Clsx package --- package.json | 9 +++++---- pnpm-lock.yaml | 13 +++++++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index bf1c6e9..2ea46e7 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@orama/tokenizers": "^3.0.1", "@oramacloud/client": "^1.3.19", "autocorrect-node": "^2.13.0", + "clsx": "^2.1.1", "commitizen": "^4.3.1", "copy-to-clipboard": "^3.3.3", "cz-conventional-changelog": "^3.3.0", @@ -23,7 +24,7 @@ "framer-motion": "^11.11.11", "fumadocs-core": "14.2.0", "fumadocs-mdx": "11.1.1", - "fumadocs-typescript": "^3.0.1", + "fumadocs-typescript": "^3.0.2", "fumadocs-ui": "14.2.0", "globby": "^14.0.2", "lucide-react": "^0.454.0", @@ -34,15 +35,15 @@ "react-icons": "^5.3.0" }, "devDependencies": { + "@types/mdx": "^2.0.13", "@types/node": "22.8.1", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "typescript": "^5.6.3", - "@types/mdx": "^2.0.13", "autoprefixer": "^10.4.20", "postcss": "^8.4.47", "tailwindcss": "^3.4.14", - "tsx": "^4.7.1" + "tsx": "^4.19.2", + "typescript": "^5.6.3" }, "config": { "commitizen": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc54a3e..b5c94bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,9 @@ importers: autocorrect-node: specifier: ^2.13.0 version: 2.13.0 + clsx: + specifier: ^2.1.1 + version: 2.1.1 commitizen: specifier: ^4.3.1 version: 4.3.1(@types/node@22.8.1)(typescript@5.6.3) @@ -42,7 +45,7 @@ importers: specifier: 11.1.1 version: 11.1.1(acorn@8.14.0)(fumadocs-core@14.2.0(@oramacloud/client@1.3.19(typescript@5.6.3)(zod@3.23.8))(@types/react@18.3.12)(next@15.0.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(next@15.0.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) fumadocs-typescript: - specifier: ^3.0.1 + specifier: ^3.0.2 version: 3.0.2(typescript@5.6.3) fumadocs-ui: specifier: 14.2.0 @@ -91,7 +94,7 @@ importers: specifier: ^3.4.14 version: 3.4.14 tsx: - specifier: ^4.7.1 + specifier: ^4.19.2 version: 4.19.2 typescript: specifier: ^5.6.3 @@ -1400,6 +1403,10 @@ packages: resolution: {integrity: sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==} engines: {node: '>=6'} + clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} + engines: {node: '>=6'} + code-block-writer@13.0.3: resolution: {integrity: sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==} @@ -4131,6 +4138,8 @@ snapshots: clsx@2.0.0: {} + clsx@2.1.1: {} + code-block-writer@13.0.3: {} collapse-white-space@2.1.0: {}