Skip to content

Conversation

owjs3901
Copy link

If package.json has a packageManager property and set any string to the version of pnpm setup action, it raises an error.
However, the star sign(*) means to allow any version.
So, If * is set as the version of the pnpm setup action, the action should select the version in package.json.

@zkochan
Copy link
Member

zkochan commented Jul 5, 2024

Is this supported by corepack?

@owjs3901
Copy link
Author

@zkochan Yes, It works
image

@zkochan
Copy link
Member

zkochan commented Aug 23, 2024

No, that command will resolve the package manager to an exact version and write an exact version to package.json. The packageManager field currently only works with exact versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants