{"name":"@pnpm/resolver-base","version":"11.0.2","keywords":["pnpm8","pnpm","resolver"],"license":"MIT","_id":"@pnpm/resolver-base@11.0.2","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"e448577cc4235b6d48b08e7b068da1132e7cde18","tarball":"http://registry-npm.ywwl.com/@pnpm/resolver-base/download/@pnpm/resolver-base-11.0.2.tgz","fileCount":6,"integrity":"sha512-g6VXB/LK7DugXiCPG62qmYtuypVt44nnwyXYkTv86FKudI5d5Wy1FLkYAYKCj+No9h1GG3eSSwGH1NL0y4IbYg==","signatures":[{"sig":"MEUCIAXXoYwh7STSgTi6+5K6kfRML9pApuouU/DmBl6aGE9oAiEAgjfhCy0nB2wk16bztwRv2oSzPZpXKEuWO4pXqsuLul0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5346,"size":2519,"noattachment":false,"key":"/@pnpm/resolver-base/-/@pnpm/resolver-base-11.0.2.tgz"},"main":"lib/index.js","_from":"file:pnpm-resolver-base-11.0.2.tgz","types":"lib/index.d.ts","engines":{"node":">=16.14"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\"","test":"pnpm run compile","start":"tsc --watch","compile":"tsc --build && pnpm run lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"_resolved":"/tmp/c91e3c9b5e601112d8cd19c5b77a992b/pnpm-resolver-base-11.0.2.tgz","_integrity":"sha512-g6VXB/LK7DugXiCPG62qmYtuypVt44nnwyXYkTv86FKudI5d5Wy1FLkYAYKCj+No9h1GG3eSSwGH1NL0y4IbYg==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base","type":"git"},"_npmVersion":"10.2.3","description":"Types for pnpm-compatible resolvers","directories":{},"_nodeVersion":"18.19.0","dependencies":{"@pnpm/types":"9.4.2"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/resolver-base":"11.0.2"},"_npmOperationalInternal":{"tmp":"tmp/resolver-base_11.0.2_1703602035430_0.3294691268639758","host":"s3://npm-registry-packages"},"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":1703602035626,"_cnpm_publish_time":1703602035626,"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"}}