{"name":"@pnpm/resolver-base","version":"13.0.2","description":"Types for pnpm-compatible resolvers","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base"},"keywords":["pnpm9","pnpm","resolver"],"engines":{"node":">=18.12"},"license":"MIT","homepage":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base#readme","dependencies":{"@pnpm/types":"12.0.0"},"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"funding":"https://opencollective.com/pnpm","devDependencies":{"@pnpm/resolver-base":"13.0.2"},"exports":{".":"./lib/index.js"},"scripts":{"start":"tsc --watch","lint":"eslint \"src/**/*.ts\"","test":"pnpm run compile","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/resolver-base@13.0.2","_integrity":"sha512-GS1FTXvo0/UqUQWw/kjpjZAgyxCYfwBJIoKK+QVbxOh3t4GdE/nO7zybU7iKaO5ga9KhjD+HWUk103h1rhrEoA==","_resolved":"/private/var/folders/g7/5ygp0ncd6qx5g4fn5hpsqq5c0000gn/T/ad19c60c9e37c0aaea1d8f82fa0dc7d3/pnpm-resolver-base-13.0.2.tgz","_from":"file:pnpm-resolver-base-13.0.2.tgz","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-GS1FTXvo0/UqUQWw/kjpjZAgyxCYfwBJIoKK+QVbxOh3t4GdE/nO7zybU7iKaO5ga9KhjD+HWUk103h1rhrEoA==","shasum":"40cb6472dceb8c20c453ecb2885c9fe977f6522b","tarball":"http://registry-npm.ywwl.com/@pnpm/resolver-base/download/@pnpm/resolver-base-13.0.2.tgz","fileCount":6,"unpackedSize":5571,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9SsmS0GRmZ+jKQzB2Cy+3W8+lYCj8oWGQx3EAt4b/GAiB2yYlIjtKsVglctpNAlwlN7hLjUiM3Em8ss87S6G3wog=="}],"size":2563,"noattachment":false,"key":"/@pnpm/resolver-base/-/@pnpm/resolver-base-13.0.2.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/resolver-base_13.0.2_1722858664487_0.3239186823583451"},"_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":1722858664623,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1722858664623,"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"}}