Skip to content

Commit 895b675

Browse files
devsargamhkirat
authored andcommitted
remove multiple unused components (#1497)
* chore: remove dead code * chore: remove dead code * checkpoint for cleanup * remove more stuff * rm drawer * remove more unused code * changes
1 parent 9fb8a88 commit 895b675

37 files changed

+3222
-11714
lines changed

.env.test

Lines changed: 0 additions & 2 deletions
This file was deleted.

.storybook/main.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

.storybook/preview.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

chromatic.config.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

migrations/neondb_backup.sql

Lines changed: 0 additions & 163 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"dev": "next dev",
1212
"build": "next build",
1313
"start": "next start",
14-
"test": "vitest -c ./vitest.config.unit.ts",
15-
"test:integration": "./scripts/run-integration.sh",
16-
"coverage": "vitest run -c ./vitest.config.unit.ts --coverage",
1714
"lint:check": "eslint --max-warnings 0 --config .eslintrc .",
1815
"lint:fix": "eslint --max-warnings 0 --config .eslintrc . --fix",
1916
"format:fix": "prettier --write \"**/*.{ts,tsx,json}\"",
@@ -24,18 +21,9 @@
2421
"db:seed": "prisma db seed",
2522
"db:reset": "prisma migrate reset",
2623
"update:videometadata": "ts-node --compiler-options \"{\\\"module\\\": \\\"CommonJS\\\"}\" ./src/scripts/updateVideoMetaData.ts",
27-
"studio": "prisma studio",
28-
"studio:docker": "open http://localhost:5555 || start http://localhost:5555",
29-
"storybook": "concurrently 'yarn:watch:*'",
30-
"watch:storybook": "storybook dev -p 6006",
31-
"watch:tailwind": "npx tailwind -i ./src/styles/tailwind-input.css -o ./src/styles/tailwind.css --watch",
32-
"build:tailwind": "npx tailwind -i ./src/styles/tailwind-input.css -o ./src/styles/tailwind.css",
33-
"build-storybook": "npm run build:tailwind && storybook build"
24+
"studio": "prisma studio"
3425
},
3526
"dependencies": {
36-
"@auth/prisma-adapter": "^1.0.6",
37-
"@discordjs/core": "^1.1.1",
38-
"@discordjs/next": "^0.1.1-dev.1673526225-a580768.0",
3927
"@hookform/resolvers": "^3.6.0",
4028
"@icons-pack/react-simple-icons": "^9.4.0",
4129
"@prisma/client": "^5.18.0",
@@ -54,9 +42,9 @@
5442
"@radix-ui/react-tooltip": "^1.1.2",
5543
"@tabler/icons-react": "^3.14.0",
5644
"@types/bcrypt": "^5.0.2",
57-
"@types/jsonwebtoken": "^9.0.5",
5845
"@uiw/react-markdown-preview": "^5.1.3",
5946
"@uiw/react-md-editor": "^4.0.4",
47+
"autoprefixer": "^10.4.20",
6048
"axios": "^1.6.2",
6149
"bcrypt": "^5.1.1",
6250
"class-variance-authority": "^0.7.0",
@@ -65,21 +53,18 @@
6553
"date-fns": "^3.6.0",
6654
"dayjs": "^1.11.10",
6755
"discord-oauth2": "^2.11.0",
68-
"discord.js": "^14.14.1",
6956
"embla-carousel-react": "^8.0.0",
7057
"framer-motion": "^11.3.28",
7158
"fuse.js": "^7.0.0",
7259
"ioredis": "^5.4.1",
7360
"jose": "^5.2.2",
74-
"jsonwebtoken": "^9.0.2",
7561
"katex": "^0.16.11",
7662
"lucide-react": "^0.321.0",
7763
"moment": "^2.30.1",
7864
"next": "14.0.2",
7965
"next-auth": "^4.24.5",
8066
"next-themes": "^0.2.1",
8167
"nextjs-toploader": "^1.6.11",
82-
"node-fetch": "^3.3.2",
8368
"notion-client": "^6.16.0",
8469
"pdf-lib": "^1.17.1",
8570
"prismjs": "^1.29.0",
@@ -94,7 +79,6 @@
9479
"react-resizable-panels": "^1.0.7",
9580
"recoil": "^0.7.7",
9681
"sonner": "^1.4.0",
97-
"storybook": "^8.0.8",
9882
"tailwind-merge": "^2.2.1",
9983
"tailwindcss-animate": "^1.0.7",
10084
"vaul": "^0.8.9",
@@ -106,16 +90,6 @@
10690
"zod": "^3.22.4"
10791
},
10892
"devDependencies": {
109-
"@chromatic-com/storybook": "^1.3.3",
110-
"@storybook/addon-controls": "^8.0.8",
111-
"@storybook/addon-essentials": "^8.0.8",
112-
"@storybook/addon-interactions": "^8.0.8",
113-
"@storybook/addon-links": "^8.0.8",
114-
"@storybook/addon-onboarding": "^8.0.8",
115-
"@storybook/blocks": "^8.0.8",
116-
"@storybook/nextjs": "^8.0.8",
117-
"@storybook/react": "^8.0.8",
118-
"@storybook/test": "^8.0.8",
11993
"@testing-library/jest-dom": "^6.4.5",
12094
"@testing-library/react": "^15.0.7",
12195
"@types/node": "^20",
@@ -124,15 +98,9 @@
12498
"@types/react-dom": "^18",
12599
"@typescript-eslint/eslint-plugin": "^6.20.0",
126100
"@typescript-eslint/parser": "^6.20.0",
127-
"@vitejs/plugin-react": "^4.3.0",
128-
"@vitest/coverage-v8": "^1.6.0",
129-
"autoprefixer": "^10.0.1",
130101
"eslint": "^8.56.0",
131-
"eslint-plugin-storybook": "^0.8.0",
132102
"jsdom": "^24.0.0",
133-
"postcss": "^8",
134103
"prettier": "^3.2.4",
135-
"prettier-plugin-tailwindcss": "^0.6.1",
136104
"prisma": "^5.18.0",
137105
"tailwindcss": "^3.3.0",
138106
"ts-node": "^10.9.2",

0 commit comments

Comments
 (0)