mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Riccardo Cipolleschi
parent
af5002b2e1
commit
d4bb5820bd
@@ -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
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user