Brakebein / prisma-generator-nestjs-dto

Generates NestJS DTO classes from Prisma Schema
Apache License 2.0
51 stars 28 forks source link

Proposed v 1.15 - Update dependencies, remove @prisma/internals, fix node 14 support #11

Closed zackdotcomputer closed 1 year ago

zackdotcomputer commented 2 years ago

This is 3 main changes:

  1. Update all dependencies to latest, including a fix via npm audit fix for the minimatch CVE
  2. Break the dependency on @prisma/internals by moving to vanilla console.log for logging (which is what Prisma's logger was doing anyways) and by bringing the parseEnv function into the codebase locally.
  3. Fix a usage of replaceAll that was breaking compatibility with Node 14 per #10 .
zackdotcomputer commented 1 year ago

Thanks @Brakebein - sorry I fell off on the follow-ups. I was doing this for a migration at work and it has been more difficult than we'd hoped (as they always are). Let me know if I can help out here, though. Happy for this package to thrive especially since we'll be using it in production as of this week...