When specifying the provider you currently need to specify executing 'node node_modules/...' because the default cli action is to return an error about trying to start the server. Can the default executables action be to generate the documentation so the provider can be defined as follows (and so other solutions such as Bun can be used):
provider = "prisma-docs-generator"
The providers are automatically executed during the generate process so we should not need to manually execute node and we should definately not need to specify the node_modules path as this will break with tools such as Yarn berry, pnpm workspaces, and bun.
When specifying the provider you currently need to specify executing 'node node_modules/...' because the default cli action is to return an error about trying to start the server. Can the default executables action be to generate the documentation so the provider can be defined as follows (and so other solutions such as Bun can be used):
provider = "prisma-docs-generator"
The providers are automatically executed during the generate process so we should not need to manually execute node and we should definately not need to specify the node_modules path as this will break with tools such as
Yarn berry
,pnpm workspaces
, andbun
.