{"name":"@pnpm/resolver-base","version":"1000.1.0","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":["pnpm10","pnpm","resolver"],"engines":{"node":">=18.12"},"license":"MIT","homepage":"https://github.com/pnpm/pnpm/blob/main/resolving/resolver-base#readme","dependencies":{"@pnpm/types":"1000.0.0"},"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"funding":"https://opencollective.com/pnpm","devDependencies":{"@pnpm/resolver-base":"1000.1.0"},"exports":{".":"./lib/index.js"},"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.1.0","_integrity":"sha512-ZV8/YGGt/zLMzUXzY2Gkckzx3SZWY/oBfSOniEJVGOZCzkWVyDuhHvovH2D5o5XA/OYEcSWmiIuBxk+HxtO1jQ==","_resolved":"/tmp/6632fda828cf920029b286010ff6b014/pnpm-resolver-base-1000.1.0.tgz","_from":"file:pnpm-resolver-base-1000.1.0.tgz","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ZV8/YGGt/zLMzUXzY2Gkckzx3SZWY/oBfSOniEJVGOZCzkWVyDuhHvovH2D5o5XA/OYEcSWmiIuBxk+HxtO1jQ==","shasum":"57ea898e4a87e73d489a560da45120b382c28a6c","tarball":"http://registry-npm.ywwl.com/@pnpm/resolver-base/download/@pnpm/resolver-base-1000.1.0.tgz","fileCount":6,"unpackedSize":5668,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRuYg5OgYYOWxFfKGj4TIW4cWRh5rOGkhnUbIw+OBVQgIhALusa666hONtm29AdJSFlSZB8m/kJh61LEo4j/S4x3zn"}],"size":2607,"noattachment":false,"key":"/@pnpm/resolver-base/-/@pnpm/resolver-base-1000.1.0.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/resolver-base_1000.1.0_1734314449543_0.33812899375284844"},"_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":1734314449696,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1734314449696,"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"}}