Comments (8)
Sorry, we forgot to document it. You can disable it by setting package-manager-strict
to false
from pnpm.
I'm confused with the minor versions strict check. In my understanding this is not how semantic versioning works. So at least having the flag would be great.
from pnpm.
I'm confused with the minor versions strict check. In my understanding this is not how semantic versioning works. So at least having the flag would be great.
The issue with packageManager
is that it does not check for semver at all but always uses exact matching. This is not a problem by pnpm, but how the committee decided to implement packageManager
.
https://nodejs.org/api/packages.html#packagemanager
However, while corepack just picks the correct needed package manager, pnpm now fails hardly when the "wrong" pnpm version is installed on the computer 😕 and this is annoying, especially when using multiple projects with different packageManager
values
from pnpm.
How do I use it?
pnpm install --package-manager-strict false
does not work 🤔
and results in
Unknown option: 'package-manager-strict'
Did you mean 'engine-strict'? Use "--config.unknown=value" to force an unknown option.
from pnpm.
See linked PR. There is an ENV property to set, other than the package.json field.
from pnpm.
I did salsita/node-pg-migrate#1105 for now, but I would prefer if it is possible to also do via CLI flag
from pnpm.
You can do pnpm install --config.package-manager-strict=false
from pnpm.
You can do
pnpm install --config.package-manager-strict=false
This works on direct terminal (pnpm install --config.package-manager-strict=false
) ✅,
but not when I wrap inside a package.json
script 👀
e.g.
{
"scripts": {
"preflight": "pnpm install --config.package-manager-strict=false && run-s format lint build"
}
}
pnpm run preflight
from pnpm.
Related Issues (20)
- v9 `run -r` runs in wrong order HOT 4
- Change the way local packages are installed HOT 1
- pnpm init does not create gitignore templates like npm does HOT 1
- peer dependencies incorrectly resolved after updating interactively in monorepo scheme HOT 2
- --no-bail behavior inconsistent
- pnpm v9 multiple react instances
- error (ETIMEDOUT). Will retry in 10 seconds. 2 retries left. HOT 2
- Unsupported warning engine with filters
- Improve Dependency Management in React Native Monorepo HOT 1
- pnpm+nexus install failed ,but npm is success HOT 1
- The terminal crashes when using Ctrl+C to exit the process. HOT 2
- allow `"patchedDependencies"` patch files to come from dependencies HOT 6
- Pnpm does not bundle subdependencies HOT 1
- Couldn't read package.json of local dependency HOT 2
- `pnpm up -i --latest` Updates unspecified packages HOT 7
- ERR_PNPM_FETCH_404 for workspace packages HOT 2
- `pnpm update --prod` installs dev dependencies
- [email protected] seems to incorrectly resolve peer dependencies HOT 4
- Updating to pnpm 9.x (from 8.12.1) and run `pnpm i` throws exception: `Cannot read properties of undefined (reading 'missingPeersOfChildren')` HOT 1
- After updating to v9, pnpm checks only npm registry HOT 2
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 pnpm.