Skip to content

Commit

Permalink
Revert "Merge pull request #181 from Plant-for-the-Planet-org/feature…
Browse files Browse the repository at this point in the history
…/upgradeDeps-prisma-sentry"

This reverts commit 37aaed3, reversing
changes made to 5f7dc8d.
  • Loading branch information
sagararyal committed Dec 23, 2024
1 parent 37aaed3 commit 7025f6a
Show file tree
Hide file tree
Showing 5 changed files with 818 additions and 1,154 deletions.
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

18 changes: 8 additions & 10 deletions apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "yarn db:deploy && dotenv -e ../../.env next build",
"dev": "dotenv -e ../../.env next dev",
"postinstall": "npm run db:generate",
"postinstall": "cd ../../ && npx prisma generate",
"lint": "dotenv -e ../../.env next lint",
"start": "dotenv -e ../../.env next start",
"heroku-start": "next start -p $PORT",
Expand All @@ -17,17 +17,15 @@
"db:pull": "dotenv -e ../../.env npx prisma db pull",
"db:deploy": "dotenv -e ../../.env npx prisma migrate deploy",
"db:reset": "dotenv -e ../../.env npx prisma migrate reset",
"db:generate": "dotenv -e ../../.env npx prisma generate",
"db:studio": "dotenv -e ../../.env npx prisma studio"
"db:generate": "dotenv -e ../../.env npx prisma generate"
},
"dependencies": {
"@google/earthengine": "^1.4.3",
"@google/earthengine": "^0.1.396",
"@logtail/node": "^0.4.0",
"@planet-sdk/common": "^0.1.11",
"@prisma/client": "^6.1.0",
"@sentry/nextjs": "^8.47.0",
"@sentry/node": "^8.47.0",
"@sentry/profiling-node": "^8.47.0",
"@prisma/client": "^5.0.0",
"@sentry/nextjs": "^7.77.0",
"@sentry/profiling-node": "^0.3.0",
"@tanstack/react-query": "^4.20.2",
"@trpc/client": "^10.9.0",
"@trpc/next": "^10.40.0",
Expand All @@ -46,7 +44,7 @@
"nodemailer": "^6.9.1",
"pg-promise": "^11.4.3",
"phone": "^3.1.37",
"prisma": "^6.1.0",
"prisma": "^5.10.2",
"react": "^18.2.0",
"react-cookie": "^4.1.1",
"react-dom": "^18.2.0",
Expand All @@ -68,7 +66,7 @@
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"eslint-config-next": "^13.5.4",
"prisma": "^6.1.0",
"prisma": "^5.10.2",
"tsconfig": "*",
"typescript": "^5.0.3"
},
Expand Down
4 changes: 2 additions & 2 deletions apps/server/sentry.edge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import * as Sentry from '@sentry/nextjs';
import {env} from './src/env.mjs';
import {nodeProfilingIntegration} from '@sentry/profiling-node';
import {ProfilingIntegration} from '@sentry/profiling-node';

Sentry.init({
dsn: env.NEXT_PUBLIC_SENTRY_DSN,
Expand All @@ -19,6 +19,6 @@ Sentry.init({
profilesSampleRate: 1,
integrations: [
// Add profiling integration to list of integrations
nodeProfilingIntegration(),
new ProfilingIntegration(),
],
});
4 changes: 2 additions & 2 deletions apps/server/sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import * as Sentry from '@sentry/nextjs';
import {env} from './src/env.mjs';
import {nodeProfilingIntegration} from '@sentry/profiling-node';
import {ProfilingIntegration} from '@sentry/profiling-node';

Sentry.init({
dsn: env.NEXT_PUBLIC_SENTRY_DSN,
Expand All @@ -18,6 +18,6 @@ Sentry.init({
profilesSampleRate: 1,
integrations: [
// Add profiling integration to list of integrations
nodeProfilingIntegration(),
new ProfilingIntegration(),
],
});
Loading

0 comments on commit 7025f6a

Please sign in to comment.