Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels
Activity