Skip to content

Commit

Permalink
feat: depcheck and clean up deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mbifulco committed Dec 21, 2024
1 parent 2f5778e commit 9ca56f0
Show file tree
Hide file tree
Showing 3 changed files with 342 additions and 1,055 deletions.
49 changes: 49 additions & 0 deletions .depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"ignorePatterns": [],
"ignores": [
"@eslint/js",
"@ianvs/prettier-plugin-sort-imports",
"@next/eslint-plugin-next",
"@prettier/plugin-ruby",
"@tailwindcss/forms",
"@tailwindcss/typography",
"@types/eslint",
"@typescript-eslint",
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"autoprefixer",
"depcheck",
"eslint-*",
"eslint",
"jiti",
"playwright",
"postcss-import",
"postcss",
"prettier-plugin-tailwindcss",
"prettier",
"react-email",
"tailwindcss",
"typescript-eslint",

"@server/*",
"@components/*",
"@hooks/*",
"@layouts/*",
"@lib/*",
"@utils/*",
"@/config"
],
"parsers": {
"**/*.{ts,tsx}": ["typescript"]
},
"aliases": {
"@components": "./src/components",
"@hooks": "./src/hooks",
"@layouts": "./src/components/layouts",
"@lib": "./src/lib",
"@utils": "./src/utils",
"@server": "./src/server",
"@/config": "./src/config.ts"
},
"specials": ["depcheck.special.eslint", "depcheck.special.webpack"]
}
15 changes: 2 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"analyze": "ANALYZE=true next build",
"build": "next build",
"dev": "NODE_OPTIONS='--inspect' next dev --turbopack",
"depcheck": "depcheck",
"email": "email dev --dir ./src/utils/email/templates",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,mdx}\"",
"start": "next start",
Expand All @@ -18,15 +19,9 @@
},
"dependencies": {
"@cloudinary/url-gen": "^1.21.0",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@headlessui/react": "^2.2.0",
"@heroicons/react": "^2.2.0",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/mdx": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/bundle-analyzer": "15.1.2",
"@next/mdx": "15.1.2",
"@number-flow/react": "^0.4.4",
"@react-email/components": "^0.0.31",
"@react-email/render": "^1.0.3",
Expand All @@ -39,14 +34,11 @@
"@trpc/react-query": "11.0.0-rc.660",
"@trpc/server": "11.0.0-rc.660",
"@types/mdx": "^2.0.13",
"@types/semver": "^7.5.8",
"airtable": "^0.12.2",
"autoprefixer": "^10.4.20",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"fathom-client": "^3.7.2",
"feed": "^4.2.2",
"framer-motion": "^11.15.0",
"gray-matter": "^4.0.3",
"lucide-react": "^0.469.0",
"mailchecker": "^6.0.14",
Expand All @@ -59,18 +51,14 @@
"posthog-js": "^1.203.1",
"posthog-node": "^4.3.2",
"prism-react-renderer": "^2.4.1",
"prop-types": "^15.8.1",
"react": "19.0.0",
"react-aria": "^3.36.0",
"react-dom": "19.0.0",
"react-email": "3.0.4",
"react-icons": "^5.4.0",
"react-stately": "^3.34.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-img-size": "^1.0.1",
"rehype-slug": "^6.0.0",
"remark": "^15.0.1",
"remark-html": "^16.0.1",
"resend": "^4.0.1",
"sass": "^1.83.0",
"sharp": "^0.33.5",
Expand All @@ -91,6 +79,7 @@
"@types/react": "19.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"depcheck": "^1.4.7",
"eslint": "9.17.0",
"eslint-config-next": "15.1.2",
"eslint-config-prettier": "^9.1.0",
Expand Down
Loading

0 comments on commit 9ca56f0

Please sign in to comment.