Skip to content

Commit 8bede2e

Browse files
authoredJul 16, 2021
build: add babel-jest to peerDependencies (#2751)
Closes #2749
1 parent 6380ec4 commit 8bede2e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
 

‎package.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,17 @@
6969
},
7070
"peerDependencies": {
7171
"jest": "^27.0.0",
72-
"typescript": ">=3.8 <5.0"
72+
"typescript": ">=3.8 <5.0",
73+
"babel-jest": ">=27.0.0 <28",
74+
"@babel/core": ">=7.0.0-beta.0 <8"
75+
},
76+
"peerDependenciesMeta": {
77+
"babel-jest": {
78+
"optional": true
79+
},
80+
"@babel/core": {
81+
"optional": true
82+
}
7383
},
7484
"husky": {
7585
"hooks": {

‎src/utils/version-checkers.ts

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const logger = rootLogger.child({ namespace: 'versions' })
88

99
/**
1010
* @internal
11+
*
12+
* Don't forget to update peerDependencies in package.json when changing these.
1113
*/
1214
const enum ExpectedVersions {
1315
Jest = '>=27.0.0 <28',

0 commit comments

Comments
 (0)
Please sign in to comment.