{"name":"@pnpm/resolver-base","version":"1000.1.2","keywords":["pnpm10","pnpm","resolver"],"license":"MIT","_id":"@pnpm/resolver-base@1000.1.2","homepage":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"2e18a386aa1e8e3583ae288d4c3a6723c296accd","tarball":"http://registry-npm.ywwl.com/@pnpm/resolver-base/download/@pnpm/resolver-base-1000.1.2.tgz","fileCount":6,"integrity":"sha512-kU8vG7Tt18nIwzIpu0oWejdzg5uFPKSh6mPN/wvVNQZO1T3zcQtgILs28fY8u7ONZPHKV4lcbbEFI/KDiGewFg==","signatures":[{"sig":"MEYCIQDCZLtbAe8VwiYTGiYjXmyhpYS7e3iVE3EjMYrIXU1U5gIhAIixeEdRUn35r6rrDRjNLlNpQFZih8cRddmxcH4wtdnl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5668,"size":2606,"noattachment":false,"key":"/@pnpm/resolver-base/-/@pnpm/resolver-base-1000.1.2.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","_from":"file:pnpm-resolver-base-1000.1.2.tgz","types":"lib/index.d.ts","engines":{"node":">=18.12"},"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/8acd267377c331d337bc015f4f2af1a4/pnpm-resolver-base-1000.1.2.tgz","_integrity":"sha512-kU8vG7Tt18nIwzIpu0oWejdzg5uFPKSh6mPN/wvVNQZO1T3zcQtgILs28fY8u7ONZPHKV4lcbbEFI/KDiGewFg==","repository":{"url":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base","type":"git"},"_npmVersion":"10.8.2","description":"Types for pnpm-compatible resolvers","directories":{},"_nodeVersion":"20.18.1","dependencies":{"@pnpm/types":"1000.1.1"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/resolver-base":"1000.1.2"},"_npmOperationalInternal":{"tmp":"tmp/resolver-base_1000.1.2_1737927404135_0.005337723483318291","host":"s3://npm-registry-packages-npm-production"},"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":1737927404331,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1737927404331,"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"}}