Skip to content

Conversation

@aqrln
Copy link
Member

@aqrln aqrln commented Apr 3, 2025

  • Switch from Deno 1.x to Deno 2.x.
  • Switch from prisma-client-js to prisma-client-ts generator.
  • Use deno.json instead of package.json.
  • Disable running Deno with binary engine because there is an issue with ESM binary.mjs bundle, at least on Deno. We should take a look into it before GAing the new generator.

Closes: https://linear.app/prisma-company/issue/ORM-843/fix-deno-ecosystem-tests

@aqrln aqrln requested a review from a team as a code owner April 3, 2025 22:18
@aqrln aqrln force-pushed the push-orxruxlylkuw branch 4 times, most recently from 8ba4e09 to 24e35e5 Compare April 3, 2025 23:26
@aqrln aqrln marked this pull request as draft April 4, 2025 13:25
@aqrln aqrln force-pushed the push-orxruxlylkuw branch 13 times, most recently from fea5bda to 87ecb9a Compare April 7, 2025 11:56
@aqrln aqrln marked this pull request as ready for review April 7, 2025 11:56
@aqrln aqrln force-pushed the push-orxruxlylkuw branch from 87ecb9a to d195a8c Compare April 7, 2025 12:46
Copy link
Contributor

@FGoessler FGoessler left a comment

Choose a reason for hiding this comment

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

This also switches the test to deno 2.x. Are we "breaking" deno 1.x functionality?

@aqrln
Copy link
Member Author

aqrln commented Apr 8, 2025

This also switches the test to deno 2.x. Are we "breaking" deno 1.x functionality?

We never officially supported it (despite having the ecosystem tests) so I guess it's fine either way. I believe Deno 1.x should probably still work, the tests were mainly broken because they accidentally relied on the auto-installation functionality (which is going to be restored to fix other ecosystem tests), but it's more important for us to test Deno 2.x with ESM client rather than obsolete Deno 1.x with the old client (so this PR also contributes to https://linear.app/prisma-company/issue/ORM-683/e2e-tests-esm).

- Switch from Deno 1.x to Deno 2.x
- Switch from `prisma-client-js` to `prisma-client-ts` generator
- Use `deno.json` instead of `package.json`
@aqrln aqrln force-pushed the push-orxruxlylkuw branch from d195a8c to 2b9db34 Compare April 8, 2025 07:23
@aqrln aqrln merged commit 32b9a8b into dev Apr 8, 2025
268 of 291 checks passed
@aqrln aqrln deleted the push-orxruxlylkuw branch April 8, 2025 07:31
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