Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Prisma & Sentry #181

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please check once GEE changelog for 0.1->1.4. Are the APIs still same and there response.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll check about this for any breaking changes & update if I found anything funny, till then If anyone have any guess or particular parts you want me to check that will help a lot. Till then it is better not to merge.

"@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
Loading