Skip to content

Commit 4789744

Browse files
Saadnajmifacebook-github-bot
authored andcommitted
chore: add jest-config to monorepo dependencies (facebook#50280)
Summary: The React Native monorepo depends on `jest-config` in `jest.config.js` but does not specify it as a dependency. This means we got it as a phantom / transitive dependency. In React Native macOS, I am testing using Yarn 4 with pnpm layout to protect against such dependencies (See microsoft#2366). The simplest way to fix this is to just declare it as a dependency. ## Changelog: [INTERNAL] [FIXED] - Add jest-config as a dependency Pull Request resolved: facebook#50280 Test Plan: This change should be a no-op in React Native, we already had the package in our lock. Reviewed By: yungsters, huntie Differential Revision: D71891841 Pulled By: robhogan fbshipit-source-id: 5b4720e9e09e25b2f1eebb80675bfe4f3a48e2dc
1 parent 8b449c2 commit 4789744

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"hermes-transform": "0.25.1",
8787
"inquirer": "^7.1.0",
8888
"jest": "^29.7.0",
89+
"jest-config": "^29.7.0",
8990
"jest-diff": "^29.7.0",
9091
"jest-junit": "^10.0.0",
9192
"jest-snapshot": "^29.7.0",

0 commit comments

Comments
 (0)