Skip to content

Accessing selected package manager in caveat #51

@OfficialCRUGG

Description

@OfficialCRUGG

Hello,
I'm using a function for caveat to list all possible commands, exactly like create-create-app does itself.
I can easily access the template and name in there through AfterHookOptions, but I cannot get what package manager was selected.
This means I have to either show only npm run dev or options for all package managers. Instead, I'd like to show e.g. yarn dev if the user selected yarn as the package manager.

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