From e0be6ecd11e46465979f6df06c29ecb2fb11a1f4 Mon Sep 17 00:00:00 2001 From: caorushizi <84996057@qq.com> Date: Sat, 20 Jul 2024 23:49:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=20remove=20@tailwindcss/?= =?UTF-8?q?line-clamp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/renderer/package.json | 1 - packages/renderer/tailwind.config.js | 3 +-- pnpm-lock.yaml | 12 ------------ 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/renderer/package.json b/packages/renderer/package.json index 11ee9a04..ca651643 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@eslint/compat": "^1.0.1", "@eslint/js": "^8.57.0", - "@tailwindcss/line-clamp": "^0.4.4", "@types/node": "^20.12.12", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", diff --git a/packages/renderer/tailwind.config.js b/packages/renderer/tailwind.config.js index 29f6e611..be409c04 100644 --- a/packages/renderer/tailwind.config.js +++ b/packages/renderer/tailwind.config.js @@ -1,5 +1,4 @@ import tailwindAnimation from "tailwindcss-animate"; -import tailwindLineClamp from "@tailwindcss/line-clamp"; /** @type {import('tailwindcss').Config} */ export default { @@ -76,5 +75,5 @@ export default { }, }, }, - plugins: [tailwindAnimation, tailwindLineClamp], + plugins: [tailwindAnimation], }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bdc98508..40d74c98 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -438,9 +438,6 @@ importers: '@eslint/js': specifier: ^8.57.0 version: 8.57.0 - '@tailwindcss/line-clamp': - specifier: ^0.4.4 - version: 0.4.4(tailwindcss@3.4.4) '@types/node': specifier: ^20.12.12 version: 20.12.12 @@ -1846,11 +1843,6 @@ packages: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} engines: {node: '>=10'} - '@tailwindcss/line-clamp@0.4.4': - resolution: {integrity: sha512-5U6SY5z8N42VtrCrKlsTAA35gy2VSyYtHWCsg1H87NU1SXnEfekTVlrga9fzUDrrHcGi2Lb5KenUWb4lRQT5/g==} - peerDependencies: - tailwindcss: '>=2.0.0 || >=3.0.0 || >=3.0.0-alpha.1' - '@tootallnate/once@2.0.0': resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} @@ -8032,10 +8024,6 @@ snapshots: dependencies: defer-to-connect: 2.0.1 - '@tailwindcss/line-clamp@0.4.4(tailwindcss@3.4.4)': - dependencies: - tailwindcss: 3.4.4 - '@tootallnate/once@2.0.0': {} '@types/body-parser@1.19.5':