mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-26 15:37:26 -04:00
Add a new `broop:` protocol prefix that resolves packages from Homebrew (macOS/Linux) and Scoop (Windows). This enables installing native binary packages through pnpm's existing global virtual store infrastructure. Usage: pnpm add --global broop:ripgrep pnpm add --global broop:ripgrep@15.1.0 The resolver fetches metadata from both sources in parallel, handles GHCR authentication for Homebrew bottles, and returns a cross-platform VariationsResolution. Transitive dependencies are expressed as broop: specifiers so pnpm's core engine resolves them recursively. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"name": "@pnpm/default-resolver",
|
|
"version": "1002.2.12",
|
|
"description": "pnpm's default package resolver",
|
|
"keywords": [
|
|
"pnpm",
|
|
"pnpm11",
|
|
"npm",
|
|
"resolver"
|
|
],
|
|
"license": "MIT",
|
|
"funding": "https://opencollective.com/pnpm",
|
|
"repository": "https://github.com/pnpm/pnpm/tree/main/resolving/default-resolver",
|
|
"homepage": "https://github.com/pnpm/pnpm/tree/main/resolving/default-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": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
|
|
"test": "pnpm run compile && pnpm run _test",
|
|
"prepublishOnly": "pnpm run compile",
|
|
"compile": "tsgo --build && pnpm run lint --fix"
|
|
},
|
|
"dependencies": {
|
|
"@pnpm/error": "workspace:*",
|
|
"@pnpm/fetching-types": "workspace:*",
|
|
"@pnpm/git-resolver": "workspace:*",
|
|
"@pnpm/hooks.types": "workspace:*",
|
|
"@pnpm/local-resolver": "workspace:*",
|
|
"@pnpm/node.resolver": "workspace:*",
|
|
"@pnpm/npm-resolver": "workspace:*",
|
|
"@pnpm/resolver-base": "workspace:*",
|
|
"@pnpm/resolving.broop-resolver": "workspace:*",
|
|
"@pnpm/resolving.bun-resolver": "workspace:*",
|
|
"@pnpm/resolving.deno-resolver": "workspace:*",
|
|
"@pnpm/tarball-resolver": "workspace:*",
|
|
"@pnpm/types": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "catalog:",
|
|
"@pnpm/cafs-types": "workspace:*",
|
|
"@pnpm/default-resolver": "workspace:*",
|
|
"@pnpm/fetch": "workspace:*",
|
|
"@pnpm/fetcher-base": "workspace:*",
|
|
"@pnpm/tarball-fetcher": "workspace:*",
|
|
"node-fetch": "catalog:"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.13"
|
|
},
|
|
"jest": {
|
|
"preset": "@pnpm/jest-config"
|
|
}
|
|
}
|