Skip to content

When using pnpm, pretest won't run by default #370

@segevfiner

Description

@segevfiner

pnpm doesn't run pre/post scripts by default, and the template uses pretest which won't get invoked, even if you select pnpm as the package manager during generation. We should also generate an .npmrc with:

enable-pre-post-scripts = true

In such a case. See https://pnpm.io/cli/run#enable-pre-post-scripts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions