Skip to content

Commit

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

Updated Prisma & Sentry
  • Loading branch information
sagararyal authored Dec 23, 2024
2 parents 5f7dc8d + 9fcea33 commit 37aaed3
Show file tree
Hide file tree
Showing 5 changed files with 1,154 additions and 818 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**
18 changes: 10 additions & 8 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": "cd ../../ && npx prisma generate",
"postinstall": "npm run db:generate",
"lint": "dotenv -e ../../.env next lint",
"start": "dotenv -e ../../.env next start",
"heroku-start": "next start -p $PORT",
Expand All @@ -17,15 +17,17 @@
"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:generate": "dotenv -e ../../.env npx prisma generate",
"db:studio": "dotenv -e ../../.env npx prisma studio"
},
"dependencies": {
"@google/earthengine": "^0.1.396",
"@google/earthengine": "^1.4.3",
"@logtail/node": "^0.4.0",
"@planet-sdk/common": "^0.1.11",
"@prisma/client": "^5.0.0",
"@sentry/nextjs": "^7.77.0",
"@sentry/profiling-node": "^0.3.0",
"@prisma/client": "^6.1.0",
"@sentry/nextjs": "^8.47.0",
"@sentry/node": "^8.47.0",
"@sentry/profiling-node": "^8.47.0",
"@tanstack/react-query": "^4.20.2",
"@trpc/client": "^10.9.0",
"@trpc/next": "^10.40.0",
Expand All @@ -44,7 +46,7 @@
"nodemailer": "^6.9.1",
"pg-promise": "^11.4.3",
"phone": "^3.1.37",
"prisma": "^5.10.2",
"prisma": "^6.1.0",
"react": "^18.2.0",
"react-cookie": "^4.1.1",
"react-dom": "^18.2.0",
Expand All @@ -66,7 +68,7 @@
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"eslint-config-next": "^13.5.4",
"prisma": "^5.10.2",
"prisma": "^6.1.0",
"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 {ProfilingIntegration} from '@sentry/profiling-node';
import {nodeProfilingIntegration} 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
new ProfilingIntegration(),
nodeProfilingIntegration(),
],
});
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 {ProfilingIntegration} from '@sentry/profiling-node';
import {nodeProfilingIntegration} 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
new ProfilingIntegration(),
nodeProfilingIntegration(),
],
});
Loading

0 comments on commit 37aaed3

Please sign in to comment.