Conversation
pnpm should fail if the project has an engines.pnpm field in its package.json and the running pnpm's version does not satisfy the range. pnpm should also fail it the project has an engines.node field and process.version does not satisfy it. close #1382
|
Owkay so I'm using node >10 to run packages that were designed for node 10 and more, and due to this change I can't install them anymore. How do we declare multiple compatible major versions in "engines", or is there a bypass switch ? |
|
you have |
|
Thanks, that indeed is the right syntax. :) (I meant by "I'm using node >10": "the version of node on my computer is strictly greater than 10") |
|
Packages that you don't own? You mean dependencies inside node_modules? Those don't cause installations to fail unless you set the |
|
Thanks for the quick answers! This behaviour is indeed mentionned in the documentation. |
|
hm, I guess we can make this check a warning when engine-strict is false. But only the |
|
That would perfectly fit with my scenario! :) |
pnpm should fail if the project has an engines.pnpm field in its
package.json and the running pnpm's version does not satisfy the
range.
pnpm should also fail it the project has an engines.node field
and process.version does not satisfy it.
close #1382