Skip to content

Commit

Permalink
chore: remove custom proocess.versions.pnp type
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Oct 11, 2020
1 parent 6f85827 commit a131717
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions packages/jest-resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"devDependencies": {
"@types/graceful-fs": "^4.1.3",
"@types/pnpapi": "^0.0.1",
"@types/resolve": "^1.17.0",
"jest-haste-map": "^26.5.2"
},
Expand Down
9 changes: 0 additions & 9 deletions packages/jest-resolve/src/defaultResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ type ResolverOptions = {
packageFilter?: ResolveOpts['packageFilter'];
};

declare global {
namespace NodeJS {
export interface ProcessVersions {
// the "pnp" version named isn't in DefinitelyTyped
pnp?: unknown;
}
}
}

export default function defaultResolver(
path: Config.Path,
options: ResolverOptions,
Expand Down
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3646,6 +3646,13 @@ __metadata:
languageName: node
linkType: hard

"@types/pnpapi@npm:^0.0.1":
version: 0.0.1
resolution: "@types/pnpapi@npm:0.0.1"
checksum: dacd29efe47a3e47950b50a08d43e0276863e2b3b56d0fb2e5ff75ddac0c1df954b72d4a21bc30cbd3469d8efb78085a167ed7e25f48e86b43fde022fcb7bb6d
languageName: node
linkType: hard

"@types/prettier@npm:^2.0.0":
version: 2.1.1
resolution: "@types/prettier@npm:2.1.1"
Expand Down Expand Up @@ -11760,6 +11767,7 @@ fsevents@^1.2.7:
dependencies:
"@jest/types": ^26.5.2
"@types/graceful-fs": ^4.1.3
"@types/pnpapi": ^0.0.1
"@types/resolve": ^1.17.0
chalk: ^4.0.0
graceful-fs: ^4.2.4
Expand Down

0 comments on commit a131717

Please sign in to comment.