Skip to content

Commit e523302

Browse files
thymikeefacebook-github-bot
authored andcommitted
- Bump CLI to ^3.0.0 (#27235)
Summary: Upgrading CLI to latest. It's likely not yet compatible with master, because we depend on Metro 0.56, and master is on 0.57. This diff is intended to be cherry-picked to 0.61 and 0.62. cc grabbou ## Changelog [Internal] [Changed] - Bump CLI to ^3.0.0 Pull Request resolved: #27235 Test Plan: None Differential Revision: D18527709 Pulled By: cpojer fbshipit-source-id: 44448058c48a66d22a1d71abdc908f532f5aa547
1 parent e9fd102 commit e523302

File tree

2 files changed

+94
-27
lines changed

2 files changed

+94
-27
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@
8686
},
8787
"dependencies": {
8888
"@babel/runtime": "^7.0.0",
89-
"@react-native-community/cli": "^3.0.0-alpha.1",
90-
"@react-native-community/cli-platform-android": "^3.0.0-alpha.1",
91-
"@react-native-community/cli-platform-ios": "^3.0.0-alpha.1",
89+
"@react-native-community/cli": "^3.0.0",
90+
"@react-native-community/cli-platform-android": "^3.0.0",
91+
"@react-native-community/cli-platform-ios": "^3.0.0",
9292
"abort-controller": "^3.0.0",
9393
"base64-js": "^1.1.2",
9494
"connect": "^3.6.5",

yarn.lock

+91-24
Original file line numberDiff line numberDiff line change
@@ -1093,48 +1093,62 @@
10931093
"@types/istanbul-reports" "^1.1.1"
10941094
"@types/yargs" "^12.0.9"
10951095

1096-
"@react-native-community/cli-platform-android@^3.0.0-alpha.1":
1097-
version "3.0.0-alpha.1"
1098-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-3.0.0-alpha.1.tgz#cab918daf901ab2ed795d67fd503a16d6a5dedda"
1099-
integrity sha512-0UYwPZTfBZzwneIx1QGHfGLDarYeDGBJJOyUx3x2leSRGAdLiF0a06I3W+Ci5Ml2WsSUoIO0fzZ82qKtph2g5Q==
1096+
"@react-native-community/cli-debugger-ui@^3.0.0":
1097+
version "3.0.0"
1098+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-3.0.0.tgz#d01d08d1e5ddc1633d82c7d84d48fff07bd39416"
1099+
integrity sha512-m3X+iWLsK/H7/b7PpbNO33eQayR/+M26la4ZbYe1KRke5Umg4PIWsvg21O8Tw4uJcY8LA5hsP+rBi/syBkBf0g==
1100+
dependencies:
1101+
serve-static "^1.13.1"
1102+
1103+
"@react-native-community/cli-platform-android@^3.0.0":
1104+
version "3.0.0"
1105+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-3.0.0.tgz#9122591fa59f91626766899c3307b6b1ff09d597"
1106+
integrity sha512-9yxv86+qIRGKeVROEmcUIFi21I6bpd7qooOcJ0dD/4pBRR5tUVZpv+y8EKEd9PZw7WSkUtD8WRoDeWaBs2kC3w==
11001107
dependencies:
1101-
"@react-native-community/cli-tools" "^2.8.3"
1108+
"@react-native-community/cli-tools" "^3.0.0"
11021109
chalk "^2.4.2"
11031110
execa "^1.0.0"
11041111
jetifier "^1.6.2"
11051112
logkitty "^0.6.0"
11061113
slash "^3.0.0"
11071114
xmldoc "^1.1.2"
11081115

1109-
"@react-native-community/cli-platform-ios@^3.0.0-alpha.1":
1110-
version "3.0.0-alpha.1"
1111-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-3.0.0-alpha.1.tgz#21cd4d447a88c19170de29178674f25847c7096a"
1112-
integrity sha512-pPXRjhhuTHVrmXiFhpEojbR+D65z3+UarM6faf8DS1xzFeEaIjb6l3oA4K+vpLZMxnWDIJg48fia76pa7H7aSw==
1116+
"@react-native-community/cli-platform-ios@^3.0.0":
1117+
version "3.0.0"
1118+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-3.0.0.tgz#3a48a449c0c33af3b0b3d19d3256de99388fe15f"
1119+
integrity sha512-QoNVlDj8eMXRZk9uktPFsctHurQpv9jKmiu6mQii4NEtT2npE7g1hbWpRNojutBsfgmCdQGDHd9uB54eeCnYgg==
11131120
dependencies:
1114-
"@react-native-community/cli-tools" "^2.8.3"
1121+
"@react-native-community/cli-tools" "^3.0.0"
11151122
chalk "^2.4.2"
1123+
js-yaml "^3.13.1"
11161124
xcode "^2.0.0"
11171125

1118-
"@react-native-community/cli-tools@^2.8.3":
1119-
version "2.8.3"
1120-
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-2.8.3.tgz#0e2249f48cf4603fb8d740a9f0715c31ac131ceb"
1121-
integrity sha512-N5Pz+pR+GFq3JApjd0SW4jp9KC7kbKsMH65QLRh30JNsxdPvNkYox6/ZZdkvdXaI5ev3EckR7eqlcwi5gpVTYQ==
1126+
"@react-native-community/cli-tools@^3.0.0":
1127+
version "3.0.0"
1128+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-3.0.0.tgz#fe48b80822ed7e49b8af051f9fe41e22a2a710b1"
1129+
integrity sha512-8IhQKZdf3E4CR8T7HhkPGgorot/cLkRDgneJFDSWk/wCYZAuUh4NEAdumQV7N0jLSMWX7xxiWUPi94lOBxVY9g==
11221130
dependencies:
11231131
chalk "^2.4.2"
11241132
lodash "^4.17.5"
11251133
mime "^2.4.1"
11261134
node-fetch "^2.5.0"
11271135

1128-
"@react-native-community/cli@^3.0.0-alpha.1":
1129-
version "3.0.0-alpha.1"
1130-
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-3.0.0-alpha.1.tgz#3b4d4ea89893c39b6e5fee58743664b461a14f49"
1131-
integrity sha512-TD8M2WQ1uGvFg6Pwo6w58SM4dzguFXyxp1cqBQMHmmn1uBtGzad1AM4g+askzb5WRP1hBv/xPc4dAmgnXo/Xtw==
1136+
"@react-native-community/cli-types@^3.0.0":
1137+
version "3.0.0"
1138+
resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-3.0.0.tgz#488d46605cb05e88537e030f38da236eeda74652"
1139+
integrity sha512-ng6Tm537E/M42GjE4TRUxQyL8sRfClcL7bQWblOCoxPZzJ2J3bdALsjeG3vDnVCIfI/R0AeFalN9KjMt0+Z/Zg==
1140+
1141+
"@react-native-community/cli@^3.0.0":
1142+
version "3.0.1"
1143+
resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-3.0.1.tgz#d7dfec14c867a17793bb981dd90eef2d8fc7808a"
1144+
integrity sha512-fh7hZHNmGciBOIJHUdS4D6/7KaIlmdJLG0i/efxm7spuMI0uviWwz4IcjNRanFbAgYu3Yp4rfke+Gm/gcHSRaA==
11321145
dependencies:
11331146
"@hapi/joi" "^15.0.3"
1134-
"@react-native-community/cli-platform-android" "^3.0.0-alpha.1"
1135-
"@react-native-community/cli-platform-ios" "^3.0.0-alpha.1"
1136-
"@react-native-community/cli-tools" "^2.8.3"
1147+
"@react-native-community/cli-debugger-ui" "^3.0.0"
1148+
"@react-native-community/cli-tools" "^3.0.0"
1149+
"@react-native-community/cli-types" "^3.0.0"
11371150
chalk "^2.4.2"
1151+
command-exists "^1.2.8"
11381152
commander "^2.19.0"
11391153
compression "^1.7.1"
11401154
connect "^3.6.5"
@@ -1143,6 +1157,7 @@
11431157
envinfo "^7.1.0"
11441158
errorhandler "^1.5.0"
11451159
execa "^1.0.0"
1160+
find-up "^4.1.0"
11461161
fs-extra "^7.0.1"
11471162
glob "^7.1.1"
11481163
graceful-fs "^4.1.3"
@@ -1159,9 +1174,12 @@
11591174
open "^6.2.0"
11601175
ora "^3.4.0"
11611176
plist "^3.0.0"
1162-
semver "^5.0.3"
1177+
semver "^6.3.0"
11631178
serve-static "^1.13.1"
11641179
shell-quote "1.6.1"
1180+
strip-ansi "^5.2.0"
1181+
sudo-prompt "^9.0.0"
1182+
wcwidth "^1.0.1"
11651183
ws "^1.1.0"
11661184

11671185
"@react-native-community/eslint-plugin@file:packages/eslint-plugin-react-native-community":
@@ -2174,6 +2192,11 @@ [email protected], combined-stream@~1.0.6:
21742192
dependencies:
21752193
delayed-stream "~1.0.0"
21762194

2195+
command-exists@^1.2.8:
2196+
version "1.2.8"
2197+
resolved "https://registry.yarnpkg.com/command-exists/-/command-exists-1.2.8.tgz#715acefdd1223b9c9b37110a149c6392c2852291"
2198+
integrity sha512-PM54PkseWbiiD/mMsbvW351/u+dafwTJ0ye2qB60G1aGQP9j3xK2gmMDc+R34L3nDtx4qMCitXT75mkbkGJDLw==
2199+
21772200
commander@^2.11.0, commander@^2.19.0:
21782201
version "2.19.0"
21792202
resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
@@ -3237,6 +3260,14 @@ find-up@^3.0.0:
32373260
dependencies:
32383261
locate-path "^3.0.0"
32393262

3263+
find-up@^4.1.0:
3264+
version "4.1.0"
3265+
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
3266+
integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==
3267+
dependencies:
3268+
locate-path "^5.0.0"
3269+
path-exists "^4.0.0"
3270+
32403271
flat-cache@^1.2.1:
32413272
version "1.3.4"
32423273
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.4.tgz#2c2ef77525cc2929007dfffa1dd314aa9c9dee6f"
@@ -4407,7 +4438,7 @@ js-yaml@^3.11.0, js-yaml@^3.9.0:
44074438
argparse "^1.0.7"
44084439
esprima "^4.0.0"
44094440

4410-
js-yaml@^3.13.0:
4441+
js-yaml@^3.13.0, js-yaml@^3.13.1:
44114442
version "3.13.1"
44124443
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
44134444
integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==
@@ -4690,6 +4721,13 @@ locate-path@^3.0.0:
46904721
p-locate "^3.0.0"
46914722
path-exists "^3.0.0"
46924723

4724+
locate-path@^5.0.0:
4725+
version "5.0.0"
4726+
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
4727+
integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==
4728+
dependencies:
4729+
p-locate "^4.1.0"
4730+
46934731
lodash.sortby@^4.7.0:
46944732
version "4.7.0"
46954733
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
@@ -5698,6 +5736,13 @@ p-limit@^2.0.0:
56985736
dependencies:
56995737
p-try "^2.0.0"
57005738

5739+
p-limit@^2.2.0:
5740+
version "2.2.1"
5741+
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537"
5742+
integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==
5743+
dependencies:
5744+
p-try "^2.0.0"
5745+
57015746
p-locate@^2.0.0:
57025747
version "2.0.0"
57035748
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"
@@ -5712,6 +5757,13 @@ p-locate@^3.0.0:
57125757
dependencies:
57135758
p-limit "^2.0.0"
57145759

5760+
p-locate@^4.1.0:
5761+
version "4.1.0"
5762+
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
5763+
integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==
5764+
dependencies:
5765+
p-limit "^2.2.0"
5766+
57155767
p-reduce@^1.0.0:
57165768
version "1.0.0"
57175769
resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa"
@@ -5762,6 +5814,11 @@ path-exists@^3.0.0:
57625814
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
57635815
integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=
57645816

5817+
path-exists@^4.0.0:
5818+
version "4.0.0"
5819+
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
5820+
integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
5821+
57655822
path-is-absolute@^1.0.0:
57665823
version "1.0.1"
57675824
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
@@ -6472,11 +6529,16 @@ [email protected], scheduler@^0.16.2:
64726529
loose-envify "^1.1.0"
64736530
object-assign "^4.1.1"
64746531

6475-
"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1:
6532+
"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1:
64766533
version "5.6.0"
64776534
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
64786535
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
64796536

6537+
semver@^6.3.0:
6538+
version "6.3.0"
6539+
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
6540+
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
6541+
64806542
64816543
version "0.16.2"
64826544
resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1"
@@ -6899,6 +6961,11 @@ strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
68996961
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
69006962
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
69016963

6964+
sudo-prompt@^9.0.0:
6965+
version "9.1.1"
6966+
resolved "https://registry.yarnpkg.com/sudo-prompt/-/sudo-prompt-9.1.1.tgz#73853d729770392caec029e2470db9c221754db0"
6967+
integrity sha512-es33J1g2HjMpyAhz8lOR+ICmXXAqTuKbuXuUWLhOLew20oN9oUCgCJx615U/v7aioZg7IX5lIh9x34vwneu4pA==
6968+
69026969
supports-color@^2.0.0:
69036970
version "2.0.0"
69046971
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"

0 commit comments

Comments
 (0)