Skip to content

Support for direct execution #77

Description

@garysb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions