-
Notifications
You must be signed in to change notification settings - Fork 1
Fix: changes to make Prisma work on Deno #40
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Prisma client import paths to a Deno-compatible module path ("prisma-client/client.ts") across multiple files.
- Changed all imports from "npm:@prisma/client" to "prisma-client/client.ts".
- Ensured consistency in the Prisma client usage for functions and type declarations.
Reviewed Changes
Copilot reviewed 14 out of 20 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib/upcoming.ts | Updated Prisma Show import to new module path. |
| src/lib/shows.ts | Updated Prisma and Show imports to new module path. |
| src/lib/settingsManager.ts | Updated Prisma and DBSettings import. |
| src/lib/prisma.ts | Updated PrismaClient import; note removal of a Deno lint ignore. |
| src/lib/morningSummary.ts | Updated Prisma Show import for consistency. |
| src/lib/messages.ts | Updated Destination import from Prisma. |
| src/lib/episodeNotifier.ts | Updated Prisma Show import to new module path. |
| src/lib/autocomplete.ts | Updated Prisma type import to new module path. |
| src/commands/upcoming.ts | Updated Prisma Show import to new module path. |
| src/commands/setting.ts | Updated Destination import from Prisma. |
| src/commands/post.ts | Updated Destination and Show imports from Prisma. |
| src/commands/list.ts | Updated Prisma Show import to new module path. |
Files not reviewed (6)
- .dockerignore: Language not supported
- Dockerfile: Language not supported
- deno.jsonc: Language not supported
- entrypoint.sh: Language not supported
- import_map.json: Language not supported
- prisma/schema.prisma: Language not supported
Comments suppressed due to low confidence (1)
src/lib/prisma.ts:5
- The Deno lint ignore comment for 'no-var' was removed. Consider re-adding the comment or refactoring the declaration to use 'let' or 'const' to avoid potential linter warnings.
var prisma: PrismaClient | undefined
|
🎉 This PR is included in version 4.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.