Skip to content

Commit

Permalink
Add missing commander dependency (#46242)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #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
  • Loading branch information
blakef authored and cipolleschi committed Sep 11, 2024
1 parent af5002b commit d4bb582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions packages/react-native/scripts/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d4bb582

Please sign in to comment.