hunk.code_window:     "test:tap": "ts-node test",
       "pretest:e2e": "rimraf ../.tmp/ && pnpm-registry-mock prepare",
       "test:e2e": "preview --skip-prepublishOnly && npm-run-all -p -r pnpm-registry-mock test:tap",
       "test": "npm run tsc && npm run lint && npm test --prefix .scripts/self-installer && npm run test:e2e",
       "tsc": "rimraf lib && tsc",
       "prepublishOnly": "echo \"Publish is only allowed via 'npm run release'\" && exit 1",
       "release": "sh .scripts/release.sh",
       "version": "sh .scripts/version.sh"
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:     "test": "npm run lint && npm run tsc && npm run test:e2e",
  
hunk.file_path: package.json
hunk.type: replace
file: export type PnpmErrorCode = 'UNEXPECTED_STORE'
    | 'STORE_BREAKING_CHANGE'
    | 'MODULES_BREAKING_CHANGE'
    | 'SHRINKWRAP_BREAKING_CHANGE'
    | 'MODIFIED_DEPENDENCY'
    | 'NO_OFFLINE_META'
    | 'NO_OFFLINE_TARBALL'
  
  export class PnpmError extends Error {
    public code: PnpmErrorCode
    constructor (code: PnpmErrorCode, message: string) {
      super(message)
      this.code = code
    }
  }
  