Skip to content

Use lockfile presence to choose the fallback manager? #22

@alexeyr-ci2

Description

@alexeyr-ci2

README says:

If the packageManager property is not present, then the fallback manager will be used; this defaults to the value of the PACKAGE_JSON_FALLBACK_MANAGER environment variable or otherwise npm. You can also provide a specific fallback manager:

It probably makes sense to check for yarn.lock etc. instead (and for the format of yarn.lock to distinguish Yarn Berry and Yarn Classic).

@G-Rath @justin808 Any objections to a PR to add this?

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