Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for direct execution #77

Open
garysb opened this issue Jun 18, 2024 · 0 comments
Open

Support for direct execution #77

garysb opened this issue Jun 18, 2024 · 0 comments

Comments

@garysb
Copy link

garysb commented Jun 18, 2024

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.

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

No branches or pull requests

1 participant