Skip to content

Commit

Permalink
remove multiple unused components (code100x#1497)
Browse files Browse the repository at this point in the history
* chore: remove dead code

* chore: remove dead code

* checkpoint for cleanup

* remove more stuff

* rm drawer

* remove more unused code

* changes
  • Loading branch information
devsargam authored Dec 3, 2024
1 parent f8f6e90 commit b418a4e
Show file tree
Hide file tree
Showing 37 changed files with 3,222 additions and 11,714 deletions.
2 changes: 0 additions & 2 deletions .env.test

This file was deleted.

24 changes: 0 additions & 24 deletions .storybook/main.ts

This file was deleted.

15 changes: 0 additions & 15 deletions .storybook/preview.ts

This file was deleted.

4 changes: 0 additions & 4 deletions chromatic.config.json

This file was deleted.

163 changes: 0 additions & 163 deletions migrations/neondb_backup.sql

This file was deleted.

36 changes: 2 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"test": "vitest -c ./vitest.config.unit.ts",
"test:integration": "./scripts/run-integration.sh",
"coverage": "vitest run -c ./vitest.config.unit.ts --coverage",
"lint:check": "eslint --max-warnings 0 --config .eslintrc .",
"lint:fix": "eslint --max-warnings 0 --config .eslintrc . --fix",
"format:fix": "prettier --write \"**/*.{ts,tsx,json}\"",
Expand All @@ -24,18 +21,9 @@
"db:seed": "prisma db seed",
"db:reset": "prisma migrate reset",
"update:videometadata": "ts-node --compiler-options \"{\\\"module\\\": \\\"CommonJS\\\"}\" ./src/scripts/updateVideoMetaData.ts",
"studio": "prisma studio",
"studio:docker": "open http://localhost:5555 || start http://localhost:5555",
"storybook": "concurrently 'yarn:watch:*'",
"watch:storybook": "storybook dev -p 6006",
"watch:tailwind": "npx tailwind -i ./src/styles/tailwind-input.css -o ./src/styles/tailwind.css --watch",
"build:tailwind": "npx tailwind -i ./src/styles/tailwind-input.css -o ./src/styles/tailwind.css",
"build-storybook": "npm run build:tailwind && storybook build"
"studio": "prisma studio"
},
"dependencies": {
"@auth/prisma-adapter": "^1.0.6",
"@discordjs/core": "^1.1.1",
"@discordjs/next": "^0.1.1-dev.1673526225-a580768.0",
"@hookform/resolvers": "^3.6.0",
"@icons-pack/react-simple-icons": "^9.4.0",
"@prisma/client": "^5.18.0",
Expand All @@ -54,9 +42,9 @@
"@radix-ui/react-tooltip": "^1.1.2",
"@tabler/icons-react": "^3.14.0",
"@types/bcrypt": "^5.0.2",
"@types/jsonwebtoken": "^9.0.5",
"@uiw/react-markdown-preview": "^5.1.3",
"@uiw/react-md-editor": "^4.0.4",
"autoprefixer": "^10.4.20",
"axios": "^1.6.2",
"bcrypt": "^5.1.1",
"class-variance-authority": "^0.7.0",
Expand All @@ -65,21 +53,18 @@
"date-fns": "^3.6.0",
"dayjs": "^1.11.10",
"discord-oauth2": "^2.11.0",
"discord.js": "^14.14.1",
"embla-carousel-react": "^8.0.0",
"framer-motion": "^11.3.28",
"fuse.js": "^7.0.0",
"ioredis": "^5.4.1",
"jose": "^5.2.2",
"jsonwebtoken": "^9.0.2",
"katex": "^0.16.11",
"lucide-react": "^0.321.0",
"moment": "^2.30.1",
"next": "14.0.2",
"next-auth": "^4.24.5",
"next-themes": "^0.2.1",
"nextjs-toploader": "^1.6.11",
"node-fetch": "^3.3.2",
"notion-client": "^6.16.0",
"pdf-lib": "^1.17.1",
"prismjs": "^1.29.0",
Expand All @@ -94,7 +79,6 @@
"react-resizable-panels": "^1.0.7",
"recoil": "^0.7.7",
"sonner": "^1.4.0",
"storybook": "^8.0.8",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.8.9",
Expand All @@ -106,16 +90,6 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.3.3",
"@storybook/addon-controls": "^8.0.8",
"@storybook/addon-essentials": "^8.0.8",
"@storybook/addon-interactions": "^8.0.8",
"@storybook/addon-links": "^8.0.8",
"@storybook/addon-onboarding": "^8.0.8",
"@storybook/blocks": "^8.0.8",
"@storybook/nextjs": "^8.0.8",
"@storybook/react": "^8.0.8",
"@storybook/test": "^8.0.8",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@types/node": "^20",
Expand All @@ -124,15 +98,9 @@
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vitejs/plugin-react": "^4.3.0",
"@vitest/coverage-v8": "^1.6.0",
"autoprefixer": "^10.0.1",
"eslint": "^8.56.0",
"eslint-plugin-storybook": "^0.8.0",
"jsdom": "^24.0.0",
"postcss": "^8",
"prettier": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.6.1",
"prisma": "^5.18.0",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
Expand Down
Loading

0 comments on commit b418a4e

Please sign in to comment.