Skip to content

Conversation

@bh0fer
Copy link
Contributor

@bh0fer bh0fer commented Dec 29, 2025

  • rewrite imports from @prisma/client to prisma prisma/generated/client
  • move db connection string from schema to prisma config
  • add "type": "module to package.json
    • this leads to the need to fully migrate to esm
    • use tsx instead of ts-node to be compatible with esm
    • use esm-compatible relative imports by adding required .js file extension (needed for ts files too)

@bh0fer bh0fer merged commit ac92162 into main Dec 30, 2025
1 check passed
@bh0fer bh0fer deleted the chore/upgrade-prisma branch December 30, 2025 07:54
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