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

test(dataproxy, edge): remove /edge imports #3918

Closed
wants to merge 2 commits into from
Closed
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
4 changes: 2 additions & 2 deletions dataproxy/cloudflare-workers-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"test": "jest"
},
"dependencies": {
"@prisma/client": "5.3.0-dev.52",
"@prisma/client": "5.3.0-integration-feat-auto-edge-import.4",
Copy link
Contributor

Choose a reason for hiding this comment

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

TODO: before merging, switch back to dev version

"@prisma/extension-accelerate": "0.6.2"
},
"devDependencies": {
Expand All @@ -15,7 +15,7 @@
"@types/node-fetch": "2.6.4",
"jest": "28.1.3",
"node-fetch": "2.7.0",
"prisma": "5.3.0-dev.52",
"prisma": "5.3.0-integration-feat-auto-edge-import.4",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"typescript": "5.2.2",
Expand Down
30 changes: 15 additions & 15 deletions dataproxy/cloudflare-workers-module/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dataproxy/cloudflare-workers-module/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Note: see wrangler.toml and https://www.npmjs.com/package/@cloudflare/workers-types for the version
/// <reference types="@cloudflare/workers-types" />
import { PrismaClient } from '@prisma/client/edge'
import { PrismaClient } from '@prisma/client'
import { withAccelerate } from '@prisma/extension-accelerate'

export interface Env {
Expand Down
4 changes: 2 additions & 2 deletions dataproxy/cloudflare-workers-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"test": "jest"
},
"dependencies": {
"@prisma/client": "5.3.0-dev.52",
"@prisma/client": "5.3.0-integration-feat-auto-edge-import.4",
"@prisma/extension-accelerate": "0.6.2"
},
"devDependencies": {
Expand All @@ -15,7 +15,7 @@
"@types/node-fetch": "2.6.4",
"jest": "28.1.3",
"node-fetch": "2.7.0",
"prisma": "5.3.0-dev.52",
"prisma": "5.3.0-integration-feat-auto-edge-import.4",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"typescript": "5.2.2",
Expand Down
30 changes: 15 additions & 15 deletions dataproxy/cloudflare-workers-service/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dataproxy/cloudflare-workers-service/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Note: see wrangler.toml and https://www.npmjs.com/package/@cloudflare/workers-types for the version
/// <reference types="@cloudflare/workers-types" />
import { PrismaClient } from '@prisma/client/edge'
import { PrismaClient } from '@prisma/client'
import { withAccelerate } from '@prisma/extension-accelerate'

let prisma = new PrismaClient({})
Expand Down
2 changes: 1 addition & 1 deletion dataproxy/vercel-edge-functions/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NextRequest, NextResponse } from 'next/server'
import { PrismaClient } from '@prisma/client/edge'
import { PrismaClient } from '@prisma/client'
import { withAccelerate } from '@prisma/extension-accelerate'

let prisma = new PrismaClient()
Expand Down
4 changes: 2 additions & 2 deletions dataproxy/vercel-edge-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"@prisma/client": "5.3.0-dev.52",
"@prisma/client": "5.3.0-integration-feat-auto-edge-import.4",
"@prisma/extension-accelerate": "0.6.2",
"next": "13.4.19",
"react": "18.2.0",
Expand All @@ -21,7 +21,7 @@
"@types/react": "18.2.21",
"jest": "28.1.3",
"node-fetch": "2.7.0",
"prisma": "5.3.0-dev.52",
"prisma": "5.3.0-integration-feat-auto-edge-import.4",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"typescript": "5.2.2",
Expand Down
30 changes: 15 additions & 15 deletions dataproxy/vercel-edge-functions/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.