hunk.code_window: const pkgJson = loadJsonFile.sync<DependencyManifest>(require.resolve('pnpm/package.json', { paths: [__dirname] }))
   const packageManager = {
     name: pkgJson.name,
     // Never a prerelease version
  
hunk.labels: keep replace keep keep keep
hunk.after_edit: const pkgJson = loadJsonFile.sync<DependencyManifest>(
     path.join(path.dirname(require.main!.filename), '../package.json'),
   )
  
hunk.file_path: packages/cli-utils/src/pnpmPkgJson.ts
hunk.type: replace
file: {
    "name": "@pnpm/cli-utils",
    "version": "0.3.2-0",
    "description": "Utils for pnpm commands",
    "main": "lib/index.js",
    "typings": "lib/index.d.ts",
    "files": [
      "lib"
    ],
    "engines": {
      "node": ">=10"
    },
    "scripts": {
      "prepare": "rimraf node_modules/.bin/pnpm node_modules/.bin/pnpm.cmd node_modules/.bin/pnpm.ps1 node_modules/.bin/pnpm.sh",
      "lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts",
      "tsc": "rimraf lib && tsc",
      "pretest": "rimraf node_modules/.bin/pnpm",
      "test": "pnpm run tsc && ts-node test --type-check",
      "prepublishOnly": "pnpm run tsc"
    },
    "repository": "https://github.com/pnpm/pnpm/blob/master/packages/cli-utils",
    "keywords": [
      "pnpm"
    ],
    "author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)",
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/pnpm/pnpm/issues"
    },
    "homepage": "https://pnpm.js.org",
    "devDependencies": {
      "@pnpm/cli-utils": "link:",
      "@pnpm/logger": "^3.1.0",
      "@pnpm/types": "workspace:5.0.0",
      "@types/nopt": "^3.0.29",
      "@types/ramda": "^0.26.40",
      "pnpm": "link:../pnpm",
      "rimraf": "3.0.0"
    },
    "dependencies": {
      "@pnpm/command": "workspace:0.1.0-0",
      "@pnpm/config": "workspace:7.1.0",
      "@pnpm/error": "workspace:1.0.0",
      "@pnpm/package-is-installable": "workspace:4.0.2",
      "@pnpm/read-project-manifest": "workspace:1.0.0",
      "@pnpm/utils": "workspace:0.12.3",
      "chalk": "3.0.0",
      "load-json-file": "6.2.0",
      "nopt": "4.0.1",
      "ramda": "0.26.1",
      "version-selector-type": "2.0.1"
    },
    "peerDependencies": {
      "@pnpm/logger": "^3.1.0",
      "pnpm": "*"
    }
  }
  