From 7404fe6c63be63faa148ff8ad6673c42ab1a82f2 Mon Sep 17 00:00:00 2001 From: ahmadshaheer Date: Thu, 24 Oct 2024 10:25:33 +0430 Subject: [PATCH] chore: overall improvements --- packages/alert/.eslintrc.js | 4 ++-- packages/alert/tailwind.config.js | 8 ++++---- packages/alert/tsconfig.app.json | 10 ---------- pnpm-lock.yaml | 4 ++-- 4 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 packages/alert/tsconfig.app.json diff --git a/packages/alert/.eslintrc.js b/packages/alert/.eslintrc.js index f075bfa..003e695 100644 --- a/packages/alert/.eslintrc.js +++ b/packages/alert/.eslintrc.js @@ -1,4 +1,4 @@ /** @type {import("eslint").Linter.Config} */ -module.exports = { - extends: ["@repo/eslint-config/react.js"], +export default { + extends: ['@repo/eslint-config/react.js'], }; diff --git a/packages/alert/tailwind.config.js b/packages/alert/tailwind.config.js index b2e9f87..c869a57 100644 --- a/packages/alert/tailwind.config.js +++ b/packages/alert/tailwind.config.js @@ -1,7 +1,7 @@ -const sharedConfig = require("@signozhq/tailwind-config/tailwind.config.js"); +import sharedConfig from '@signozhq/tailwind-config/tailwind.config.js'; /** @type {import('tailwindcss').Config} */ -module.exports = { - ...sharedConfig, - content: [...sharedConfig.content, "./src/**/*.{js,ts,jsx,tsx}"], +export default { + ...sharedConfig, + content: [...sharedConfig.content, './src/**/*.{js,ts,jsx,tsx}'], }; diff --git a/packages/alert/tsconfig.app.json b/packages/alert/tsconfig.app.json deleted file mode 100644 index 5920b9a..0000000 --- a/packages/alert/tsconfig.app.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] - }, - "forceConsistentCasingInFileNames": true, - "strict": true - } -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0703b84..376b2ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -210,7 +210,7 @@ importers: version: 2.5.2 tailwindcss-animate: specifier: ^1.0.7 - version: 1.0.7(tailwindcss@3.4.13) + version: 1.0.7(tailwindcss@3.4.13(ts-node@10.9.2(@types/node@22.7.3)(typescript@5.6.2))) devDependencies: '@repo/eslint-config': specifier: workspace:* @@ -247,7 +247,7 @@ importers: version: 18.3.1(react@18.3.1) tailwindcss: specifier: ^3.4.12 - version: 3.4.13 + version: 3.4.13(ts-node@10.9.2(@types/node@22.7.3)(typescript@5.6.2)) typescript: specifier: ^5.3.3 version: 5.6.2