* Updated packages Updated all packages to the latest versions * Refactor Sentry monitoring configuration and services The Sentry monitoring configuration and services have been refactored to simplify the setup process. In addition, unnecessary files or exports have been removed from the Sentry package. These changes should make the process of initializing and using the Sentry monitoring services in both the client and server more straightforward and efficient. * Refactor server-side Sentry instrumentation code The conditional logic responsible for checking the runtime environment and the enabled status of the monitoring instrumentation has been adjusted. This refactoring simplifies the code, making it more readable, by clearly separating the conditions and nesting the environment-specific operations. A typo in the environment variable name "ENABLE_MONITORING_INSTRMENTATION" was also corrected to "ENABLE_MONITORING_INSTRUMENTATION". * Rename environment variable for monitoring instrumentation The environment variable controlling monitoring instrumentation has been renamed from 'MONITORING_INSTRUMENTATION_ENABLED' to 'ENABLE_MONITORING_INSTRUMENTATION'. It affects both the README and .env.production files within the monitoring/api and apps/web directories respectively.
111 lines
3.7 KiB
JSON
111 lines
3.7 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"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",
|
|
"clean": "git clean -xdf .next .turbo node_modules",
|
|
"dev": "pnpm with-env next dev --turbo",
|
|
"next:lint": "next lint",
|
|
"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",
|
|
"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",
|
|
"supabase:reset": "supabase db reset",
|
|
"supabase:status": "supabase status",
|
|
"supabase:test": "supabase db test",
|
|
"supabase:db:lint": "supabase db lint",
|
|
"supabase:deploy": "supabase link --project-ref $SUPABASE_PROJECT_REF && supabase db push",
|
|
"supabase:typegen": "pnpm run supabase:typegen:packages && pnpm run supabase:typegen:app",
|
|
"supabase:typegen:packages": "supabase gen types typescript --local > ../../packages/supabase/src/database.types.ts",
|
|
"supabase:typegen:app": "supabase gen types typescript --local > ./lib/database.types.ts",
|
|
"supabase:db:dump:local": "supabase db dump --local --data-only"
|
|
},
|
|
"dependencies": {
|
|
"@edge-csrf/nextjs": "2.0.0",
|
|
"@hookform/resolvers": "^3.4.0",
|
|
"@kit/accounts": "workspace:^",
|
|
"@kit/admin": "workspace:^",
|
|
"@kit/auth": "workspace:^",
|
|
"@kit/billing": "workspace:^",
|
|
"@kit/billing-gateway": "workspace:^",
|
|
"@kit/cms": "workspace:^",
|
|
"@kit/database-webhooks": "workspace:^",
|
|
"@kit/email-templates": "workspace:^",
|
|
"@kit/i18n": "workspace:^",
|
|
"@kit/mailers": "workspace:^",
|
|
"@kit/monitoring": "workspace:^",
|
|
"@kit/next": "workspace:^",
|
|
"@kit/notifications": "workspace:^",
|
|
"@kit/shared": "workspace:^",
|
|
"@kit/supabase": "workspace:^",
|
|
"@kit/team-accounts": "workspace:^",
|
|
"@kit/ui": "workspace:^",
|
|
"@makerkit/data-loader-supabase-core": "^0.0.8",
|
|
"@makerkit/data-loader-supabase-nextjs": "^1.2.3",
|
|
"@marsidev/react-turnstile": "^0.6.1",
|
|
"@radix-ui/react-icons": "^1.3.0",
|
|
"@supabase/supabase-js": "^2.43.4",
|
|
"@tanstack/react-query": "5.40.0",
|
|
"@tanstack/react-query-next-experimental": "^5.39.0",
|
|
"@tanstack/react-table": "^8.17.3",
|
|
"date-fns": "^3.6.0",
|
|
"lucide-react": "^0.379.0",
|
|
"next": "14.2.3",
|
|
"next-sitemap": "^4.2.3",
|
|
"next-themes": "0.3.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-hook-form": "^7.51.4",
|
|
"react-i18next": "^14.1.2",
|
|
"recharts": "^2.12.7",
|
|
"sonner": "^1.4.41",
|
|
"tailwind-merge": "^2.3.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/eslint-config": "workspace:^",
|
|
"@kit/prettier-config": "workspace:^",
|
|
"@kit/tailwind-config": "workspace:^",
|
|
"@kit/tsconfig": "workspace:^",
|
|
"@next/bundle-analyzer": "14.2.3",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/node": "^20.12.12",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"dotenv-cli": "^7.4.2",
|
|
"eslint": "^8.57.0",
|
|
"prettier": "^3.2.5",
|
|
"supabase": "^1.169.6",
|
|
"tailwindcss": "3.4.3",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/nextjs",
|
|
"@kit/eslint-config/react",
|
|
"@kit/eslint-config/apps"
|
|
]
|
|
},
|
|
"prettier": "@kit/prettier-config",
|
|
"browserslist": [
|
|
"iOS >= 9",
|
|
"Android >= 4.4",
|
|
"last 2 versions",
|
|
"> 0.2%",
|
|
"not dead"
|
|
]
|
|
}
|