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
10 lines
142 B
JSON
10 lines
142 B
JSON
[
|
|
{
|
|
"expectedOutput": [
|
|
"Node.js version: v24.16.0",
|
|
"PNPM version (from CLI): v11."
|
|
],
|
|
"stderrAllowed": true
|
|
}
|
|
]
|