{"name":"@pnpm/resolver-base","version":"11.0.1","keywords":["pnpm8","pnpm","resolver"],"license":"MIT","_id":"@pnpm/resolver-base@11.0.1","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":"67f12c05b69d7f17bcf2fb8a92886880a50314c0","tarball":"http://registry-npm.ywwl.com/@pnpm/resolver-base/download/@pnpm/resolver-base-11.0.1.tgz","fileCount":6,"integrity":"sha512-0EJ8dZqsaa/MCwB49NGNGy2WIIv3KU8xGkskDfSPpi5I5EyiIEVSi7NzUJp8rchrCbotFbOc+IHswHLeF2TSsw==","signatures":[{"sig":"MEYCIQDjccSSAs+TYCzXRMyt1ZlIbCrJx7LmhZ8NXUGheSixWAIhAKkbdyQm8qZOE3NkAwIeXlphpCAFY9NAk8IaxhqR9UmG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5346,"size":2519,"noattachment":false,"key":"/@pnpm/resolver-base/-/@pnpm/resolver-base-11.0.1.tgz"},"main":"lib/index.js","_from":"file:pnpm-resolver-base-11.0.1.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":"zkochan","email":"z@kochan.io"},"_resolved":"/private/var/folders/g7/5ygp0ncd6qx5g4fn5hpsqq5c0000gn/T/45b1e3c65183c708bf9963d2903253cf/pnpm-resolver-base-11.0.1.tgz","_integrity":"sha512-0EJ8dZqsaa/MCwB49NGNGy2WIIv3KU8xGkskDfSPpi5I5EyiIEVSi7NzUJp8rchrCbotFbOc+IHswHLeF2TSsw==","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.18.2","dependencies":{"@pnpm/types":"9.4.1"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/resolver-base":"11.0.1"},"_npmOperationalInternal":{"tmp":"tmp/resolver-base_11.0.1_1702567516805_0.10348613594799727","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":1702567517006,"_cnpm_publish_time":1702567517006,"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"}}