Skip to content

Commit a90a17a

Browse files
authoredSep 30, 2024
fix(react-native): fix codegen failing in a pnpm monorepo setup (#45993)
1 parent a9588f3 commit a90a17a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
 

‎packages/react-native-codegen/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"invariant": "^2.2.4",
3636
"jscodeshift": "^0.14.0",
3737
"mkdirp": "^0.5.1",
38-
"nullthrows": "^1.1.1"
38+
"nullthrows": "^1.1.1",
39+
"yargs": "^17.6.2"
3940
},
4041
"devDependencies": {
4142
"@babel/core": "^7.20.0",
@@ -52,8 +53,7 @@
5253
"hermes-estree": "0.19.1",
5354
"micromatch": "^4.0.4",
5455
"prettier": "2.8.8",
55-
"rimraf": "^3.0.2",
56-
"yargs": "^17.6.2"
56+
"rimraf": "^3.0.2"
5757
},
5858
"peerDependencies": {
5959
"@babel/preset-env": "^7.1.6"

‎packages/react-native/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"chalk": "^4.0.0",
125125
"event-target-shim": "^5.0.1",
126126
"flow-enums-runtime": "^0.0.6",
127+
"glob": "^7.1.1",
127128
"invariant": "^2.2.4",
128129
"jest-environment-node": "^29.6.3",
129130
"jsc-android": "^250231.0.0",
@@ -162,4 +163,4 @@
162163
}
163164
]
164165
}
165-
}
166+
}

0 commit comments

Comments
 (0)