Skip to content

Remove packageManager property from the template's package.json if it differs from the selected package manager. #101

Open
@beeman

Description

@beeman

The task that installs the dependencies should remove the packageManager from package.json if it exists and it's not the same as the selected package manager. If the script decides to remove it, it should print a message to the console to warn about potential incompatibilities.

This prevents issues like #100 and will make the tool compatible with more templates as currently, package managers like yarn and pnpm will error if they find this property and are incompatible with it.

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