Dependencies cleanup (#216)

1. Updated dependencies
2. Disable Next.js Telemetry by default
3. Cleaned up unused dependencies
4. Refactored NPM scripts
This commit is contained in:
Giancarlo Buomprisco
2025-03-25 09:26:32 +07:00
committed by GitHub
parent a3c37d0e7c
commit 6fbc5cf6e5
27 changed files with 529 additions and 675 deletions

View File

@@ -6,18 +6,16 @@
"type": "module",
"scripts": {
"analyze": "ANALYZE=true pnpm run build",
"build": "pnpm with-env next build",
"build:test": "NODE_ENV=test pnpm with-env:test next build",
"build": "next build",
"build:test": "NODE_ENV=test next build",
"clean": "git clean -xdf .next .turbo node_modules",
"dev": "pnpm with-env next dev --turbo | pino-pretty -c",
"dev": "next dev --turbo | pino-pretty -c",
"lint": "eslint .",
"lint:fix": "next lint --fix",
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
"start": "pnpm with-env next start",
"start:test": "NODE_ENV=test pnpm with-env:test next start",
"start": "next start",
"start:test": "NODE_ENV=test next start",
"typecheck": "tsc --noEmit",
"with-env": "dotenv -e ./.env.local --",
"with-env:test": "dotenv -e ./.env.test --",
"supabase": "supabase",
"supabase:start": "supabase status || supabase start",
"supabase:stop": "supabase stop",
@@ -56,12 +54,12 @@
"@makerkit/data-loader-supabase-nextjs": "^1.2.3",
"@marsidev/react-turnstile": "^1.1.0",
"@radix-ui/react-icons": "^1.3.2",
"@supabase/supabase-js": "2.49.1",
"@supabase/supabase-js": "2.49.3",
"@tanstack/react-query": "5.69.0",
"@tanstack/react-table": "^8.21.2",
"date-fns": "^4.1.0",
"lucide-react": "^0.483.0",
"next": "15.2.3",
"next": "15.2.4",
"next-sitemap": "^4.2.3",
"next-themes": "0.4.6",
"react": "19.0.0",
@@ -77,15 +75,13 @@
"@kit/eslint-config": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@next/bundle-analyzer": "15.2.3",
"@next/bundle-analyzer": "15.2.4",
"@tailwindcss/postcss": "^4.0.15",
"@types/node": "^22.13.11",
"@types/node": "^22.13.13",
"@types/react": "19.0.12",
"@types/react-dom": "19.0.4",
"autoprefixer": "^10.4.20",
"babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
"babel-plugin-react-compiler": "beta",
"cssnano": "^7.0.6",
"dotenv-cli": "^8.0.0",
"pino-pretty": "^13.0.0",
"prettier": "^3.5.3",
"supabase": "^2.19.7",