gperdomor / nx-tools

Nx Workspaces builders and tools
MIT License
358 stars 56 forks source link

[nx-prisma] Add support for passing `--no-hints` option to the `prisma generate` command #1126

Closed yaronuliel closed 1 month ago

yaronuliel commented 2 months ago

Currently, when executing the prisma-generate nx command - it shows hints from prisma (hints are instructional and promotional messages from the prisma library/creators - source code) While it may help users while in development environment, having this promotional messages appear in CI/CD logs while building for production is super annoying.

This messages can be turned off by passing the flag --no-hints to the prisma generate command

Currently the nx-prisma plugin supports only --watch and --data-proxy flags, instead of supporting all the available flags/options that prisma provides

I've also posted a PR (#1125) to fix that

gperdomor commented 1 month ago

@yaronuliel thank you for your contribution... It's merged now and will be included in the next release