Files
pnpm/engine/runtime/node-resolver/package.json
Zoltan Kochan 6586604b19 refactor: remove hardcoded runtime bin workaround from linker (#11058)
Since v11 uses a new store version, all runtime packages (node, deno, bun)
have a generated package.json with bin fields. The hardcoded switch block
in the linker is no longer needed.

Also moves getNodeBinsForCurrentOS, getDenoBinLocationForCurrentOS, and
getBunBinLocationForCurrentOS out of @pnpm/constants into their respective
resolver packages, since each is only used in one place.
2026-03-22 00:21:55 +01:00

57 lines
1.6 KiB
JSON

{
"name": "@pnpm/engine.runtime.node-resolver",
"version": "1001.0.5",
"description": "Resolves a Node.js version specifier to an exact Node.js version",
"keywords": [
"pnpm",
"pnpm11",
"env",
"node.js"
],
"license": "MIT",
"funding": "https://opencollective.com/pnpm",
"repository": "https://github.com/pnpm/pnpm/tree/main/engine/runtime/node-resolver",
"homepage": "https://github.com/pnpm/pnpm/tree/main/engine/runtime/node-resolver#readme",
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"
},
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": "./lib/index.js"
},
"files": [
"lib",
"!*.map"
],
"scripts": {
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
"test": "pnpm run compile && pnpm run .test",
"prepublishOnly": "pnpm run compile",
"compile": "tsgo --build && pnpm run lint --fix",
".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
},
"dependencies": {
"@pnpm/config.reader": "workspace:*",
"@pnpm/crypto.shasums-file": "workspace:*",
"@pnpm/error": "workspace:*",
"@pnpm/fetching.types": "workspace:*",
"@pnpm/resolving.resolver-base": "workspace:*",
"@pnpm/types": "workspace:*",
"semver": "catalog:",
"version-selector-type": "catalog:"
},
"devDependencies": {
"@pnpm/engine.runtime.node-resolver": "workspace:*",
"@pnpm/network.fetch": "workspace:*",
"@types/semver": "catalog:"
},
"engines": {
"node": ">=22.13"
},
"jest": {
"preset": "@pnpm/jest-config"
}
}