Skip to content

Support for pnpm package.yaml ? #579

Open
@la-magra

Description

@la-magra

Having a project that uses pnpm's package.yaml (ours are extensively commented), we get:

$ corepack up
Usage Error: Couldn't find a project in the local directory - please explicit the package manager to pack, or run this command from a valid project

Right now we are using the following script for corepack updates, in case someone needs it:

(yq -Poj package.yaml > package.json) && corepack up && pmversion=$(yq '.packageManager' package.json) && yq -i ".packageManager = ${pmversion}" package.yaml && rm package.json

Perhaps adding support to package.yaml could be useful for projects that use it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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