Skip to content

Conversation

@cbackas
Copy link
Owner

@cbackas cbackas commented Apr 19, 2025

No description provided.

@cbackas cbackas changed the title test build Fix: changes to make Prisma work on Deno Apr 23, 2025
@cbackas cbackas requested a review from Copilot April 23, 2025 20:23

This comment was marked as outdated.

@cbackas cbackas requested a review from Copilot April 23, 2025 20:26

This comment was marked as outdated.

@cbackas cbackas requested a review from Copilot April 23, 2025 20:27
Copy link
Contributor

Copilot AI left a 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

@cbackas cbackas enabled auto-merge (squash) April 23, 2025 20:29
@cbackas cbackas merged commit c2562f8 into main Apr 23, 2025
6 checks passed
@cbackas cbackas deleted the testing branch April 23, 2025 20:31
@cbackas
Copy link
Owner Author

cbackas commented Apr 23, 2025

🎉 This PR is included in version 4.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants