diff --git a/package.json b/package.json index bdfaa67..921bdd0 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,10 @@ "prettier:fix": "prettier --write './packages/**/*.{js,jsx,ts,tsx}' --cache --cache-location=.yarn/prettier-cache" }, "dependencies": { - "class-variance-authority": "^0.7.0", - "clsx": "^2.1.1", - "lucide-react": "^0.414.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^6.25.1", - "tailwind-merge": "^2.4.0", - "tailwindcss-animate": "^1.0.7" + "tailwind-merge": "^2.4.0" }, "devDependencies": { "@types/eslint": "^8", @@ -33,7 +29,6 @@ "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.1", - "autoprefixer": "^10.4.19", "eslint": "8.57.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^18.0.0", @@ -46,10 +41,8 @@ "eslint-plugin-react": "^7.35.0", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.7", - "postcss": "^8.4.39", "prettier": "^3.3.3", "prettier-plugin-tailwindcss": "^0.6.5", - "tailwindcss": "^3.4.6", "typescript": "^5.2.2" }, "packageManager": "yarn@4.3.1" diff --git a/packages/admin/package.json b/packages/admin/package.json index 2da129e..be49ef7 100644 --- a/packages/admin/package.json +++ b/packages/admin/package.json @@ -18,7 +18,6 @@ "@vitejs/plugin-react": "^4.3.1", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", - "tailwind-merge": "^2.4.0", "tailwindcss-animate": "^1.0.7", "vite": "^5.3.4" }, diff --git a/packages/admin/src/routes/router.tsx b/packages/admin/src/routes/router.tsx index 657fcf0..bad95ef 100644 --- a/packages/admin/src/routes/router.tsx +++ b/packages/admin/src/routes/router.tsx @@ -1,9 +1,10 @@ import { createBrowserRouter, RouteObject } from 'react-router-dom'; +import { Button } from 'src/components/ui/button'; import RoutePaths from 'src/constants/routePath'; const routes:RouteObject[] = [{ path: RoutePaths.HOME, - element: <>home, + element: , }]; const router = createBrowserRouter(routes); diff --git a/packages/admin/vite.config.ts b/packages/admin/vite.config.ts index 48f3b3c..ac4cda0 100644 --- a/packages/admin/vite.config.ts +++ b/packages/admin/vite.config.ts @@ -4,9 +4,6 @@ import { defineConfig } from 'vite'; export default defineConfig({ plugins: [react()], - css: { - postcss: path.resolve(__dirname, '../../postcss.config.js'), - }, cacheDir: './.yarn/.vite', resolve: { alias: { diff --git a/packages/user/package.json b/packages/user/package.json index 7c64028..5f94a7e 100644 --- a/packages/user/package.json +++ b/packages/user/package.json @@ -21,7 +21,6 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "jsdom": "^24.1.1", - "tailwind-merge": "^2.4.0", "tailwindcss-animate": "^1.0.7", "vite": "^5.3.4" }, diff --git a/packages/user/vite.config.ts b/packages/user/vite.config.ts index 20a0d8e..6b2fd77 100644 --- a/packages/user/vite.config.ts +++ b/packages/user/vite.config.ts @@ -9,9 +9,6 @@ interface VitestConfigExport extends UserConfig { export default defineConfig({ plugins: [react()], server: { port: 3000 }, - css: { - postcss: path.resolve(__dirname, '../../postcss.config.js'), - }, cacheDir: './.yarn/.vite', test: { globals: true, diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index 2aa7205..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -}; diff --git a/tailwind.config.cjs b/tailwind.config.cjs deleted file mode 100644 index 62d39a8..0000000 --- a/tailwind.config.cjs +++ /dev/null @@ -1,9 +0,0 @@ -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: ['class'], - content: [ - './packages/**/*.{js,jsx,ts,tsx}', - ], - theme: {}, - plugins: [], -}; diff --git a/yarn.lock b/yarn.lock index 95e2c5d..6a59487 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1138,7 +1138,6 @@ __metadata: class-variance-authority: "npm:^0.7.0" clsx: "npm:^2.1.1" postcss: "npm:^8.4.39" - tailwind-merge: "npm:^2.4.0" tailwindcss: "npm:^3.4.6" tailwindcss-animate: "npm:^1.0.7" vite: "npm:^5.3.4" @@ -3701,15 +3700,6 @@ __metadata: languageName: node linkType: hard -"lucide-react@npm:^0.414.0": - version: 0.414.0 - resolution: "lucide-react@npm:0.414.0" - peerDependencies: - react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 - checksum: 10c0/280123f5f43cad653aa74f519ad2294fdc82c32028c780e3228c2a92997e987e4708a20527af64731882a9dedc6117f98ba0582946e86751a8f02f8297f8f815 - languageName: node - linkType: hard - "magic-string@npm:^0.30.10": version: 0.30.10 resolution: "magic-string@npm:0.30.10" @@ -4984,9 +4974,6 @@ __metadata: "@types/react-dom": "npm:^18.3.0" "@typescript-eslint/eslint-plugin": "npm:^7.16.1" "@typescript-eslint/parser": "npm:^7.16.1" - autoprefixer: "npm:^10.4.19" - class-variance-authority: "npm:^0.7.0" - clsx: "npm:^2.1.1" eslint: "npm:8.57.0" eslint-config-airbnb: "npm:^19.0.4" eslint-config-airbnb-typescript: "npm:^18.0.0" @@ -4999,16 +4986,12 @@ __metadata: eslint-plugin-react: "npm:^7.35.0" eslint-plugin-react-hooks: "npm:^4.6.2" eslint-plugin-react-refresh: "npm:^0.4.7" - lucide-react: "npm:^0.414.0" - postcss: "npm:^8.4.39" prettier: "npm:^3.3.3" prettier-plugin-tailwindcss: "npm:^0.6.5" react: "npm:^18.3.1" react-dom: "npm:^18.3.1" react-router-dom: "npm:^6.25.1" tailwind-merge: "npm:^2.4.0" - tailwindcss: "npm:^3.4.6" - tailwindcss-animate: "npm:^1.0.7" typescript: "npm:^5.2.2" languageName: unknown linkType: soft @@ -5619,7 +5602,6 @@ __metadata: clsx: "npm:^2.1.1" jsdom: "npm:^24.1.1" postcss: "npm:^8.4.39" - tailwind-merge: "npm:^2.4.0" tailwindcss: "npm:^3.4.6" tailwindcss-animate: "npm:^1.0.7" vite: "npm:^5.3.4"