hunk.code_window: import { getPeerDependencyIssues } from '@pnpm/core'
   import { prepareEmpty } from '@pnpm/prepare'
   import { testDefaults } from './utils'
   afterEach(async () => {
     // @ts-expect-error
     await global.finishWorkers?.()
   })
   test('cannot resolve peer dependency for top-level dependency', async () => {
     prepareEmpty()
     const peerDependencyIssues = await getPeerDependencyIssues([
       {
  
hunk.labels: keep keep keep keep replace replace replace replace replace keep keep keep keep keep
hunk.file_path: pkg-manager/core/test/getPeerDependencyIssues.test.ts
hunk.type: replace
file: {
    "name": "@pnpm/build-modules",
    "version": "11.0.11",
    "description": "Build packages in node_modules",
    "main": "lib/index.js",
    "types": "lib/index.d.ts",
    "files": [
      "lib",
      "!*.map"
    ],
    "engines": {
      "node": ">=16.14"
    },
    "scripts": {
      "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
      "test": "pnpm run compile && pnpm run _test",
      "prepublishOnly": "pnpm run compile",
      "compile": "tsc --build && pnpm run lint --fix",
      "_test": "jest"
    },
    "repository": "https://github.com/pnpm/pnpm/blob/main/exec/build-modules",
    "keywords": [
      "pnpm8",
      "pnpm",
      "resolver",
      "npm"
    ],
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/pnpm/pnpm/issues"
    },
    "homepage": "https://github.com/pnpm/pnpm/blob/main/exec/build-modules#readme",
    "peerDependencies": {
      "@pnpm/logger": "^5.0.0"
    },
    "dependencies": {
      "@pnpm/calc-dep-state": "workspace:*",
      "@pnpm/core-loggers": "workspace:*",
      "@pnpm/fs.hard-link-dir": "workspace:*",
      "@pnpm/graph-sequencer": "1.1.1",
      "@pnpm/lifecycle": "workspace:*",
      "@pnpm/link-bins": "workspace:*",
      "@pnpm/patching.apply-patch": "workspace:*",
      "@pnpm/read-package-json": "workspace:*",
      "@pnpm/store-controller-types": "workspace:*",
      "@pnpm/types": "workspace:*",
      "p-defer": "^3.0.0",
      "ramda": "npm:@pnpm/ramda@0.28.1",
      "run-groups": "^3.0.1"
    },
    "devDependencies": {
      "@pnpm/build-modules": "workspace:*",
      "@types/ramda": "0.28.20"
    },
    "funding": "https://opencollective.com/pnpm",
    "exports": {
      ".": "./lib/index.js"
    }
  }
  