Skip to content

Commit c32064c

Browse files
tido64huntie
authored andcommitted
Correctly declare runtime dependencies
In pnpm setups, codegen will fail during build because it cannot find its dependencies. Some of the dependencies it relies on at runtime are currently declared under `devDependencies`. This change moves them to `dependencies`.
1 parent e03137e commit c32064c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-native-codegen/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
"dependencies": {
3232
"@babel/parser": "^7.20.0",
3333
"flow-parser": "^0.206.0",
34+
"glob": "^7.1.1",
35+
"invariant": "^2.2.4",
3436
"jscodeshift": "^0.14.0",
37+
"mkdirp": "^0.5.1",
3538
"nullthrows": "^1.1.1"
3639
},
3740
"devDependencies": {
@@ -46,10 +49,7 @@
4649
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
4750
"@babel/preset-env": "^7.20.0",
4851
"chalk": "^4.0.0",
49-
"glob": "^7.1.1",
50-
"invariant": "^2.2.4",
5152
"micromatch": "^4.0.4",
52-
"mkdirp": "^0.5.1",
5353
"prettier": "2.8.8",
5454
"rimraf": "^3.0.2"
5555
},

0 commit comments

Comments
 (0)