Add missing commander dependency (#46242)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46242

This is transitively included, but should be explicitly included.

Changelog:
[Internal] commander is a dependency when bundling from Xcode

Reviewed By: cipolleschi

Differential Revision: D61916607

fbshipit-source-id: 1466d38d959970e5bd56576f8a7a22697d2eec4e
This commit is contained in:
Blake Friedman
2024-08-29 16:09:33 -07:00
committed by Riccardo Cipolleschi
parent af5002b2e1
commit d4bb5820bd
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -124,6 +124,7 @@
"ansi-regex": "^5.0.0",
"base64-js": "^1.5.1",
"chalk": "^4.0.0",
"commander": "^12.0.0",
"event-target-shim": "^5.0.1",
"flow-enums-runtime": "^0.0.6",
"glob": "^7.1.1",
+2
View File
@@ -31,6 +31,8 @@ program
'npx react-native config',
)
.option('--load-config <string>', 'JSON project config')
.option('--verbose', 'Additional logs', () => true, false)
.allowUnknownOption()
.action(async function handleAction() {
let config = null;
let options = program.opts();