mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* feat: add reproduction case for pnpm 11 engines mismatch - Add a new example project to reproduce issues when using pnpm 11 in engines configuration with '.x' notation. - Include a test definition to verify node and pnpm versions as detected by the environment. Generated-by: aiautocommit * test: add snapshot for node-pnpm-11-engines example Generated-by: aiautocommit * feat(node): support pnpm 11+ global bin directory layout * Resolve pnpm version via the context resolver to handle non-semver range notation (e.g., "11.5.x") found in `engines.pnpm`. * Update global bin directory path for pnpm 11+ to `PNPM_HOME/bin` to ensure `node-gyp` installation succeeds. * Add test case for resolved mise versions. Generated-by: aiautocommit
18 lines
397 B
JSON
18 lines
397 B
JSON
{
|
|
"name": "node-pnpm-11-engines",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "Reproduces railpack#577: pnpm 11 via engines (mise) fails on pnpm add -g node-gyp when engines uses .x notation",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "node main.js"
|
|
},
|
|
"engines": {
|
|
"node": "24.16.0",
|
|
"pnpm": "11.5.x"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC"
|
|
}
|