Skip to content

Commit ab79d6b

Browse files
committed
build(jest-config)!: Make typescript a peer dependency
BREAKING CHANGE: This might cause build failures if you're running an unsupported version of typescript.
1 parent 3000b41 commit ab79d6b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

packages/jest-config/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"test": "jest --config src/jest.config.js"
2727
},
2828
"peerDependencies": {
29-
"jest": "^29.0.0"
29+
"jest": "^29.0.0",
30+
"typescript": "^5.0.0"
3031
},
3132
"dependencies": {
3233
"@jest/transform": "~29.5.0",
@@ -36,12 +37,12 @@
3637
"jest-environment-jsdom": "~29.5.0",
3738
"jest-runtime": "~29.5.0",
3839
"ts-jest": "~29.1.0",
39-
"typescript": "~5.1.0",
4040
"whatwg-fetch": "~3.6.0"
4141
},
4242
"devDependencies": {
4343
"@types/jest": "~29.5.0",
4444
"@types/node": "~18.16.0",
45-
"jest": "~29.5.0"
45+
"jest": "~29.5.0",
46+
"typescript": "~5.1.0"
4647
}
4748
}

pnpm-lock.yaml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)