Comments (6)
^pnpm
is an invalid prefix.
from action-setup.
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
from action-setup.
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.
It seems that our action supporting version range is a non-standard extension. The spec seems the require the exact version (packageManager
itself is still experimental after all). And the regex in VS Code schema fails to exclude invalid initial characters.
from action-setup.
permalink for the package.json example:
from action-setup.
This behavior makes Dependabot failing on my project
i put this in my package.json
"packageManager": "pnpm@^8.6.1",
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
updater | 2023/11/13 07:51:02 ERROR <job_748887009> Usage Error: Invalid package manager specification in package.json; expected a semver version
So I rollbacked and put my pnpm version hardcoded in my github actions :(
from action-setup.
@Potof-TheOz Caret isn't supported by corepack
either. So I guess our unintentional extension was a mistake.
from action-setup.
Related Issues (20)
- Build script fails with "Cannot augment module '_' with value exports because it resolves to a non-module entity."
- Duplicate message in error: in the package.json with the key "packageManager" HOT 1
- How does this compare to `run: corepack enable`? HOT 10
- `dest` not working HOT 1
- Could not read from remote repository due to renamed organization
- ENOENT: no such file or directory during self-install HOT 6
- Add support for `volta.pnpm` field HOT 1
- Update to Node.js v20 HOT 1
- should upgrade node16 to node20 HOT 1
- The action breaks the container environment in the openSUSE HOT 1
- Permission denied errors with github repo references in transitive deps HOT 1
- Add support for grabbing `version` from the `engines.pnpm` field HOT 2
- Automatically install compatible version of pnpm
- Double cache retrieval in README HOT 1
- Action failing with setup that has previously been working HOT 29
- action-setup V2 issue: ERR_PNPM_META_FETCH_FAIL HOT 5
- Adding `+` to version prevents checkout
- Allow Configuration of Self-installer Settings
- EACCES: permission denied when running in a container w/ non-default user
- node20 support HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-setup.