Skip to content

Commit

Permalink
chore: add missing dependencies uncovered by PnP (#10738)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Oct 30, 2020
1 parent 1205299 commit ca26d1d
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 9 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.0.0",
"@babel/register": "^7.0.0",
"@jest/test-utils": "^26.0.0",
"@jest/globals": "workspace:packages/jest-globals",
"@jest/test-utils": "workspace:packages/test-utils",
"@types/babel__core": "^7.0.0",
"@types/babel__generator": "^7.0.0",
"@types/babel__template": "^7.0.0",
Expand Down Expand Up @@ -54,9 +55,12 @@
"istanbul-lib-report": "^3.0.0",
"istanbul-reports": "^3.0.0",
"jest": "workspace:packages/jest",
"jest-changed-files": "workspace:packages/jest-changed-files",
"jest-junit": "^12.0.0",
"jest-mock": "workspace:packages/jest-mock",
"jest-runner-tsd": "^1.1.0",
"jest-silent-reporter": "^0.2.1",
"jest-snapshot": "workspace:packages/jest-snapshot",
"jest-snapshot-serializer-raw": "^1.1.0",
"jest-watch-typeahead": "^0.6.0",
"jquery": "^3.2.1",
Expand All @@ -72,6 +76,7 @@
"rimraf": "^3.0.0",
"semver": "^7.3.2",
"slash": "^3.0.0",
"stealthy-require": "^1.1.1",
"string-length": "^4.0.1",
"strip-ansi": "^6.0.0",
"tempy": "^1.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/jest-circus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"@types/graceful-fs": "^4.1.3",
"@types/stack-utils": "^2.0.0",
"execa": "^4.0.0",
"graceful-fs": "^4.2.4"
"graceful-fs": "^4.2.4",
"jest-snapshot-serializer-raw": "^1.1.0"
},
"engines": {
"node": ">= 10.14.2"
Expand Down
3 changes: 3 additions & 0 deletions packages/jest-create-cache-key-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"url": "https://github.com/facebook/jest.git",
"directory": "packages/jest-create-cache-key-function"
},
"dependencies": {
"@jest/types": "^26.6.1"
},
"devDependencies": {
"@types/node": "*"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/jest-fake-timers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"jest-util": "^26.6.1"
},
"devDependencies": {
"@types/sinonjs__fake-timers": "^6.0.1"
"@types/sinonjs__fake-timers": "^6.0.1",
"jest-snapshot-serializer-raw": "^1.1.0"
},
"engines": {
"node": ">= 10.14.2"
Expand Down
1 change: 1 addition & 0 deletions packages/jest-haste-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@types/fb-watchman": "^2.0.0",
"@types/micromatch": "^4.0.0",
"@types/sane": "^2.0.0",
"jest-snapshot-serializer-raw": "^1.1.0",
"slash": "^3.0.0"
},
"optionalDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"@types/semver": "^7.1.0",
"ansi-regex": "^5.0.0",
"ansi-styles": "^4.1.0",
"pretty-format": "^26.6.1",
"semver": "^7.3.2"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/test-utils/src/alignedAnsiStyleSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

import ansiRegex = require('ansi-regex');
import style = require('ansi-styles');
import prettyFormat = require('pretty-format');
import type {NewPlugin} from 'pretty-format';

export const alignedAnsiStyleSerializer: prettyFormat.NewPlugin = {
export const alignedAnsiStyleSerializer: NewPlugin = {
serialize(val: string): string {
// Return the string itself, not escaped nor enclosed in double quote marks.
return val.replace(ansiRegex(), match => {
Expand Down
1 change: 0 additions & 1 deletion test-types/top-level-globals.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
beforeEach,
describe,
test,
//eslint-disable-next-line import/no-extraneous-dependencies
} from '@jest/globals';

const fn = () => {};
Expand Down
1 change: 0 additions & 1 deletion test-types/top-level-jest-namespace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/

import {expectError, expectType} from 'mlh-tsd';
//eslint-disable-next-line import/no-extraneous-dependencies
import {jest} from '@jest/globals';
import type {Mock} from 'jest-mock';

Expand Down
14 changes: 12 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1808,6 +1808,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@jest/create-cache-key-function@workspace:packages/jest-create-cache-key-function"
dependencies:
"@jest/types": ^26.6.1
"@types/node": "*"
languageName: unknown
linkType: soft
Expand All @@ -1833,6 +1834,7 @@ __metadata:
"@types/sinonjs__fake-timers": ^6.0.1
jest-message-util: ^26.6.1
jest-mock: ^26.6.1
jest-snapshot-serializer-raw: ^1.1.0
jest-util: ^26.6.1
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -1961,7 +1963,7 @@ __metadata:
languageName: unknown
linkType: soft

"@jest/test-utils@^26.0.0, @jest/test-utils@^26.5.0, @jest/test-utils@workspace:packages/test-utils":
"@jest/test-utils@^26.5.0, @jest/test-utils@workspace:packages/test-utils":
version: 0.0.0-use.local
resolution: "@jest/test-utils@workspace:packages/test-utils"
dependencies:
Expand All @@ -1970,6 +1972,7 @@ __metadata:
"@types/semver": ^7.1.0
ansi-regex: ^5.0.0
ansi-styles: ^4.1.0
pretty-format: ^26.6.1
semver: ^7.3.2
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -11480,6 +11483,7 @@ fsevents@^1.2.7:
jest-runner: ^26.6.1
jest-runtime: ^26.6.1
jest-snapshot: ^26.6.1
jest-snapshot-serializer-raw: ^1.1.0
jest-util: ^26.6.1
pretty-format: ^26.6.1
stack-utils: ^2.0.2
Expand Down Expand Up @@ -11663,6 +11667,7 @@ fsevents@^1.2.7:
graceful-fs: ^4.2.4
jest-regex-util: ^26.0.0
jest-serializer: ^26.5.0
jest-snapshot-serializer-raw: ^1.1.0
jest-util: ^26.6.1
jest-worker: ^26.6.1
micromatch: ^4.0.2
Expand Down Expand Up @@ -17181,7 +17186,8 @@ fsevents@^1.2.7:
"@babel/preset-react": ^7.0.0
"@babel/preset-typescript": ^7.0.0
"@babel/register": ^7.0.0
"@jest/test-utils": ^26.0.0
"@jest/globals": "workspace:packages/jest-globals"
"@jest/test-utils": "workspace:packages/test-utils"
"@types/babel__core": ^7.0.0
"@types/babel__generator": ^7.0.0
"@types/babel__template": ^7.0.0
Expand Down Expand Up @@ -17224,9 +17230,12 @@ fsevents@^1.2.7:
istanbul-lib-report: ^3.0.0
istanbul-reports: ^3.0.0
jest: "workspace:packages/jest"
jest-changed-files: "workspace:packages/jest-changed-files"
jest-junit: ^12.0.0
jest-mock: "workspace:packages/jest-mock"
jest-runner-tsd: ^1.1.0
jest-silent-reporter: ^0.2.1
jest-snapshot: "workspace:packages/jest-snapshot"
jest-snapshot-serializer-raw: ^1.1.0
jest-watch-typeahead: ^0.6.0
jquery: ^3.2.1
Expand All @@ -17242,6 +17251,7 @@ fsevents@^1.2.7:
rimraf: ^3.0.0
semver: ^7.3.2
slash: ^3.0.0
stealthy-require: ^1.1.1
string-length: ^4.0.1
strip-ansi: ^6.0.0
tempy: ^1.0.0
Expand Down

0 comments on commit ca26d1d

Please sign in to comment.