Skip to content

Commit

Permalink
chore: remove root tailwind, shadcn
Browse files Browse the repository at this point in the history
  • Loading branch information
nim-od committed Jul 23, 2024
1 parent 5a8b860 commit 18a10f9
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 50 deletions.
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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": "[email protected]"
Expand Down
1 change: 0 additions & 1 deletion packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/admin/src/routes/router.tsx
Original file line number Diff line number Diff line change
@@ -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: <Button>hi</Button>,
}];

const router = createBrowserRouter(routes);
Expand Down
3 changes: 0 additions & 3 deletions packages/admin/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
1 change: 0 additions & 1 deletion packages/user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 0 additions & 3 deletions packages/user/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 0 additions & 6 deletions postcss.config.js

This file was deleted.

9 changes: 0 additions & 9 deletions tailwind.config.cjs

This file was deleted.

18 changes: 0 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 18a10f9

Please sign in to comment.