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

@@ -11,7 +11,7 @@
"@hookform/resolvers": "^4.1.3",
"@tanstack/react-query": "5.69.0",
"lucide-react": "^0.483.0",
"next": "15.2.3",
"next": "15.2.4",
"nodemailer": "^6.10.0",
"react": "19.0.0",
"react-dom": "19.0.0"
@@ -23,7 +23,7 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@tailwindcss/postcss": "^4.0.15",
"@types/node": "^22.13.11",
"@types/node": "^22.13.13",
"@types/nodemailer": "6.4.17",
"@types/react": "19.0.12",
"@types/react-dom": "19.0.4",

View File

@@ -13,7 +13,7 @@
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.51.1",
"@types/node": "^22.13.11",
"@types/node": "^22.13.13",
"node-html-parser": "^7.0.1",
"totp-generator": "^1.0.0"
}

View File

@@ -39,3 +39,6 @@ NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_BILLING=true
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS=true
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_CREATION=true
NEXT_PUBLIC_LANGUAGE_PRIORITY=application
# NEXTJS
NEXT_TELEMETRY_DISABLED=1

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",

View File

@@ -16,7 +16,7 @@
"@kit/eslint-config": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/node": "^22.13.11"
"@types/node": "^22.13.13"
},
"typesVersions": {
"*": {

View File

@@ -26,11 +26,11 @@
"@kit/supabase": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@supabase/supabase-js": "2.49.1",
"@supabase/supabase-js": "2.49.3",
"@types/react": "19.0.12",
"date-fns": "^4.1.0",
"lucide-react": "^0.483.0",
"next": "15.2.3",
"next": "15.2.4",
"react": "19.0.0",
"react-hook-form": "^7.54.2",
"react-i18next": "^15.4.1",

View File

@@ -25,7 +25,7 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@types/react": "19.0.12",
"next": "15.2.3",
"next": "15.2.4",
"react": "19.0.0",
"zod": "^3.24.2"
},

View File

@@ -29,7 +29,7 @@
"@kit/ui": "workspace:*",
"@types/react": "19.0.12",
"date-fns": "^4.1.0",
"next": "15.2.3",
"next": "15.2.4",
"react": "19.0.0",
"zod": "^3.24.2"
},

View File

@@ -20,7 +20,7 @@
"@kit/shared": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/wordpress": "workspace:*",
"@types/node": "^22.13.11"
"@types/node": "^22.13.13"
},
"typesVersions": {
"*": {

View File

@@ -26,7 +26,7 @@
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@types/node": "^22.13.11",
"@types/node": "^22.13.13",
"@types/react": "19.0.12",
"react": "19.0.0",
"zod": "^3.24.2"

View File

@@ -20,7 +20,7 @@
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@types/node": "^22.13.11",
"@types/node": "^22.13.13",
"@types/react": "19.0.12",
"wp-types": "^4.67.0"
},

View File

@@ -22,7 +22,7 @@
"@kit/supabase": "workspace:*",
"@kit/team-accounts": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@supabase/supabase-js": "2.49.1",
"@supabase/supabase-js": "2.49.3",
"zod": "^3.24.2"
},
"typesVersions": {

View File

@@ -34,12 +34,12 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@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",
"@types/react": "19.0.12",
"@types/react-dom": "19.0.4",
"lucide-react": "^0.483.0",
"next": "15.2.3",
"next": "15.2.4",
"next-themes": "0.4.6",
"react": "19.0.0",
"react-dom": "19.0.0",

View File

@@ -20,12 +20,12 @@
"@kit/ui": "workspace:*",
"@makerkit/data-loader-supabase-core": "^0.0.8",
"@makerkit/data-loader-supabase-nextjs": "^1.2.3",
"@supabase/supabase-js": "2.49.1",
"@supabase/supabase-js": "2.49.3",
"@tanstack/react-query": "5.69.0",
"@tanstack/react-table": "^8.21.2",
"@types/react": "19.0.12",
"lucide-react": "^0.483.0",
"next": "15.2.3",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-hook-form": "^7.54.2",

View File

@@ -28,11 +28,11 @@
"@kit/ui": "workspace:*",
"@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",
"@types/react": "19.0.12",
"lucide-react": "^0.483.0",
"next": "15.2.3",
"next": "15.2.4",
"react-hook-form": "^7.54.2",
"react-i18next": "^15.4.1",
"sonner": "^2.0.1",

View File

@@ -19,7 +19,7 @@
"@kit/supabase": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@supabase/supabase-js": "2.49.1",
"@supabase/supabase-js": "2.49.3",
"@tanstack/react-query": "5.69.0",
"@types/react": "19.0.12",
"lucide-react": "^0.483.0",

View File

@@ -32,7 +32,7 @@
"@kit/supabase": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@supabase/supabase-js": "2.49.1",
"@supabase/supabase-js": "2.49.3",
"@tanstack/react-query": "5.69.0",
"@tanstack/react-table": "^8.21.2",
"@types/react": "19.0.12",
@@ -40,7 +40,7 @@
"class-variance-authority": "^0.7.1",
"date-fns": "^4.1.0",
"lucide-react": "^0.483.0",
"next": "15.2.3",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-hook-form": "^7.54.2",

View File

@@ -21,7 +21,7 @@
"@kit/shared": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@tanstack/react-query": "5.69.0",
"next": "15.2.3",
"next": "15.2.4",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-i18next": "^15.4.1"

View File

@@ -20,7 +20,7 @@
"@kit/resend": "workspace:*",
"@kit/shared": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/node": "^22.13.11",
"@types/node": "^22.13.13",
"zod": "^3.24.2"
},
"typesVersions": {

View File

@@ -17,7 +17,7 @@
"@kit/mailers-shared": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/node": "^22.13.11",
"@types/node": "^22.13.13",
"zod": "^3.24.2"
},
"typesVersions": {

View File

@@ -16,7 +16,7 @@
"./config/server": "./src/sentry.client.server.ts"
},
"dependencies": {
"@sentry/nextjs": "^9.8.0",
"@sentry/nextjs": "^9.9.0",
"import-in-the-middle": "1.13.1"
},
"devDependencies": {

View File

@@ -20,8 +20,8 @@
"@kit/prettier-config": "workspace:*",
"@kit/supabase": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@supabase/supabase-js": "2.49.1",
"next": "15.2.3",
"@supabase/supabase-js": "2.49.3",
"next": "15.2.4",
"zod": "^3.24.2"
},
"typesVersions": {

View File

@@ -25,7 +25,7 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@radix-ui/react-icons": "^1.3.2",
"@supabase/supabase-js": "2.49.1",
"@supabase/supabase-js": "2.49.3",
"@types/react": "19.0.12",
"@types/react-dom": "19.0.4",
"react": "19.0.0",

View File

@@ -28,10 +28,10 @@
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@supabase/ssr": "^0.6.1",
"@supabase/supabase-js": "2.49.1",
"@supabase/supabase-js": "2.49.3",
"@tanstack/react-query": "5.69.0",
"@types/react": "19.0.12",
"next": "15.2.3",
"next": "15.2.4",
"react": "19.0.0",
"server-only": "^0.0.1",
"zod": "^3.24.2"

View File

@@ -50,7 +50,7 @@
"class-variance-authority": "^0.7.1",
"date-fns": "^4.1.0",
"eslint": "^9.23.0",
"next": "15.2.3",
"next": "15.2.4",
"next-themes": "0.4.6",
"prettier": "^3.5.3",
"react-day-picker": "^8.10.1",

1107
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,11 +13,11 @@
"format": "prettier --check \"**/*.{js,json}\""
},
"dependencies": {
"@next/eslint-plugin-next": "15.2.3",
"@next/eslint-plugin-next": "15.2.4",
"@types/eslint": "9.6.1",
"eslint-config-next": "15.2.3",
"eslint-config-next": "15.2.4",
"eslint-config-turbo": "^2.4.4",
"typescript-eslint": "8.27.0"
"typescript-eslint": "8.28.0"
},
"devDependencies": {
"@kit/prettier-config": "workspace:*",