Skip to content

Conversation

@chvmvd
Copy link
Collaborator

@chvmvd chvmvd commented Oct 28, 2025

すべてのパッケージをアップデートし、Prisma 6.18.0に対応しました。

@chvmvd chvmvd requested a review from Copilot October 29, 2025 03:27
Copy link

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 all packages and migrates to Prisma 6.18.0, which introduces significant configuration changes. The migration switches from the prisma-client-js generator to the new prisma-client generator, requiring adjustments to TypeScript configuration, module handling, and environment variable loading.

Key changes:

  • Upgraded Prisma from 6.17.1 to 6.18.0 and adopted the new prisma-client generator with prisma.config.ts
  • Configured ES modules support by setting "type": "module" in package.json and updating script commands to use --env-file flag
  • Enabled TypeScript declaration file generation and removed allowJs option since the new generator produces TypeScript files

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
backend/tsconfig.json Enabled declaration and declarationMap for TypeScript definitions; removed allowJs since Prisma now generates TypeScript files
backend/prisma/schema.prisma Updated generator provider from prisma-client-js to prisma-client
backend/prisma.config.ts Added new Prisma configuration file with dotenv import for environment variable loading
backend/package.json Added ES module support, updated scripts with --env-file flag, upgraded Prisma packages to 6.18.0, added dotenv dependency
backend/package-lock.json Updated package lock with new dependency versions
backend/main.ts Updated Prisma Client import path from index.js to client.js
README.md Updated installation instructions and removed outdated tsconfig guidance about allowJs
Files not reviewed (1)
  • backend/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chvmvd chvmvd marked this pull request as ready for review November 22, 2025 13:25
@chvmvd chvmvd requested review from chelproc and removed request for chelproc November 22, 2025 13:25
Base automatically changed from update-packages to main December 14, 2025 12:37
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.

3 participants