{"name":"@pnpm/resolver-base","version":"1000.2.0","description":"Types for pnpm-compatible resolvers","keywords":["pnpm","pnpm10","resolver"],"license":"MIT","funding":"https://opencollective.com/pnpm","repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base"},"homepage":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js"},"dependencies":{"@pnpm/types":"1000.2.1"},"devDependencies":{"@pnpm/resolver-base":"1000.2.0"},"engines":{"node":">=18.12"},"jest":{"preset":"@pnpm/jest-config"},"scripts":{"start":"tsc --watch","lint":"eslint \"src/**/*.ts\"","test":"pnpm run compile","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/resolver-base@1000.2.0","_integrity":"sha512-n92TPh4IC6WeZmaeaUjWS35wJtOQm/DbU618p7xHcHwqY62X2yFcjFo8CNlY9D7QDSVxdraKfeyEM5CzVmbOFg==","_resolved":"/tmp/1df466be20f2e6c415a3a07450a7ab4c/pnpm-resolver-base-1000.2.0.tgz","_from":"file:pnpm-resolver-base-1000.2.0.tgz","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-n92TPh4IC6WeZmaeaUjWS35wJtOQm/DbU618p7xHcHwqY62X2yFcjFo8CNlY9D7QDSVxdraKfeyEM5CzVmbOFg==","shasum":"535ac7ccc3a1f594ef4ae24d3f30d016da4d4bbf","tarball":"http://registry-npm.ywwl.com/@pnpm/resolver-base/download/@pnpm/resolver-base-1000.2.0.tgz","fileCount":6,"unpackedSize":6020,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCoS2Q8wvpftSGVMopGF1oouSSSVJCiKIYiGrJg+Rps8wIhAIWqc0ko2wykTT+oAkYom/VtfNU70RXY2iIOeJaJxwx0"}],"size":2713,"noattachment":false,"key":"/@pnpm/resolver-base/-/@pnpm/resolver-base-1000.2.0.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/resolver-base_1000.2.0_1742390964512_0.9831956876519152"},"_hasShrinkwrap":false,"readme":"# @pnpm/resolver-base\n\n> Types for pnpm-compatible resolvers\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/resolver-base.svg)](https://www.npmjs.com/package/@pnpm/resolver-base)\n<!--/@-->\n\n## Installation\n\n```sh\npnpm add @pnpm/resolver-base\n```\n\n## Usage\n\nHere's a template of a resolver using types from `@pnpm/resolver-base`:\n\n```ts\nimport {\n  ResolveOptions,\n  ResolveResult,\n  WantedDependency,\n} from '@pnpm/resolver-base'\n\nexport async function testResolver (\n  wantedDependency: WantedDependency,\n  opts: ResolveOptions,\n): Promise<ResolveResult> {\n  // ...\n  return {\n    id,\n    resolution,\n    package,\n    latest,\n    normalizedPref,\n  }\n}\n```\n\n## License\n\nMIT\n","publish_time":1742390964738,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1742390964738,"dist-tags":{"latest":"1005.4.1","latest-10":"1005.4.3","latest-6":"8.1.7","next":"1.0.0","pnpm-temp":"7.0.3"}}