-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The version of pnpm is not being retrieved from the packageManager field in the package.json. #86
Comments
|
yes, using "packageManager": "pnpm@^8.6.1", works, but there is an issue with a pattern matching error in VSC "String does not match the pattern of "(npm|pnpm|yarn)@\d+.\d+.\d+(-.+)?"", I'll look into it. Thanks for your reply |
It seems that our action supporting version range is a non-standard extension. The spec seems the require the exact version ( |
permalink for the package.json example: |
This behavior makes Dependabot failing on my project i put this in my package.json My github action is working quite well, by detecting the good version automatically. But dependantBot fails :( This is the error in the output logs of Dependabot So I rollbacked and put my pnpm version hardcoded in my github actions :( |
@Potof-TheOz Caret isn't supported by |
I see the version can be omitted when we have the packageManager field defined in our package.json.
This is my package.json see pkg.json
This is the error I get: see error
Error: Error: Invalid packageManager field in package.json
It seems that retrieving range versions from the 'packageManager' field is not possible; only exact versions can be retrieved.
The text was updated successfully, but these errors were encountered: