From 51b98c24bdc6369ce6fabcacaf8df2d2a706eada Mon Sep 17 00:00:00 2001 From: Szymon Rybczak Date: Thu, 31 Oct 2024 11:25:02 +0100 Subject: [PATCH] Bump CLI to 15.0.1 (#47328) --- packages/react-native-info/package.json | 8 +- packages/react-native/cli.js | 2 +- packages/rn-tester/package.json | 6 +- yarn.lock | 157 ++++++++++++++---------- 4 files changed, 98 insertions(+), 75 deletions(-) diff --git a/packages/react-native-info/package.json b/packages/react-native-info/package.json index aa496244eae10c..76c6adbcecb2d1 100644 --- a/packages/react-native-info/package.json +++ b/packages/react-native-info/package.json @@ -17,10 +17,10 @@ "directory": "packages/react-native-info" }, "dependencies": { - "@react-native-community/cli-config": "15.0.0-alpha.2", - "@react-native-community/cli-platform-apple": "15.0.0-alpha.2", - "@react-native-community/cli-tools": "15.0.0-alpha.2", - "@react-native-community/cli-types": "15.0.0-alpha.2", + "@react-native-community/cli-config": "15.0.1", + "@react-native-community/cli-platform-apple": "15.0.1", + "@react-native-community/cli-tools": "15.0.1", + "@react-native-community/cli-types": "15.0.1", "commander": "^12.0.0", "fs-extra": "^11.2.0", "yaml": "^2.4.1" diff --git a/packages/react-native/cli.js b/packages/react-native/cli.js index 23a9f1779ac60a..6d6751e7a303b6 100755 --- a/packages/react-native/cli.js +++ b/packages/react-native/cli.js @@ -204,7 +204,7 @@ async function main() { const proc = spawn( 'npx', - ['@react-native-community/cli', ...process.argv.slice(2)], + ['@react-native-community/cli@latest', ...process.argv.slice(2)], { stdio: 'inherit', }, diff --git a/packages/rn-tester/package.json b/packages/rn-tester/package.json index 6273c2989bba7a..016e942b655c76 100644 --- a/packages/rn-tester/package.json +++ b/packages/rn-tester/package.json @@ -42,8 +42,8 @@ } }, "devDependencies": { - "@react-native-community/cli": "15.0.0-alpha.2", - "@react-native-community/cli-platform-android": "15.0.0-alpha.2", - "@react-native-community/cli-platform-ios": "15.0.0-alpha.2" + "@react-native-community/cli": "15.0.1", + "@react-native-community/cli-platform-android": "15.0.1", + "@react-native-community/cli-platform-ios": "15.0.1" } } diff --git a/yarn.lock b/yarn.lock index aed1e88186c753..dd8a6e595669fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1134,7 +1134,20 @@ "@babel/parser" "^7.25.0" "@babel/types" "^7.25.0" -"@babel/traverse--for-generate-function-map@npm:@babel/traverse@^7.25.3", "@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8", "@babel/traverse@^7.25.0", "@babel/traverse@^7.25.1", "@babel/traverse@^7.25.2", "@babel/traverse@^7.25.3", "@babel/traverse@^7.25.4": +"@babel/traverse--for-generate-function-map@npm:@babel/traverse@^7.25.3": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.6.tgz#04fad980e444f182ecf1520504941940a90fea41" + integrity sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/generator" "^7.25.6" + "@babel/parser" "^7.25.6" + "@babel/template" "^7.25.0" + "@babel/types" "^7.25.6" + debug "^4.3.1" + globals "^11.1.0" + +"@babel/traverse@^7.24.7", "@babel/traverse@^7.24.8", "@babel/traverse@^7.25.0", "@babel/traverse@^7.25.1", "@babel/traverse@^7.25.2", "@babel/traverse@^7.25.3", "@babel/traverse@^7.25.4": version "7.25.6" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.6.tgz#04fad980e444f182ecf1520504941940a90fea41" integrity sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ== @@ -1758,45 +1771,55 @@ optionalDependencies: npmlog "2 || ^3.1.0 || ^4.0.0" -"@react-native-community/cli-clean@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-15.0.0-alpha.2.tgz#c6598086cd1432deaa2bed82f6d2833feb112091" - integrity sha512-QNq5lZpoxGHIneKBB1S8hSpvgFYGST7CP1GWrgrmOaIieNFsh2oWhTePzGyxUgxr0i0qzolmWwuwqqyIPMUSyQ== +"@react-native-community/cli-clean@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-15.0.1.tgz#80ce09ffe0d62bb265447007f24dc8dcbf8fe7d3" + integrity sha512-flGTfT005UZvW2LAXVowZ/7ri22oiiZE4pPgMvc8klRxO5uofKIRuohgiHybHtiCo/HNqIz45JmZJvuFrhc4Ow== + dependencies: + "@react-native-community/cli-tools" "15.0.1" + chalk "^4.1.2" + execa "^5.0.0" + fast-glob "^3.3.2" + +"@react-native-community/cli-config-apple@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-config-apple/-/cli-config-apple-15.0.1.tgz#2d845599eada1b479df6716a25dc871c3d202f38" + integrity sha512-GEHUx4NRp9W9or6vygn0TgNeFkcJdNjrtko0vQEJAS4gJdWqP/9LqqwJNlUfaW5jHBN7TKALAMlfRmI12Op3sg== dependencies: - "@react-native-community/cli-tools" "15.0.0-alpha.2" + "@react-native-community/cli-tools" "15.0.1" chalk "^4.1.2" execa "^5.0.0" fast-glob "^3.3.2" -"@react-native-community/cli-config@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-15.0.0-alpha.2.tgz#fe535e9174593041ec0c8e6abbb9cb4127195315" - integrity sha512-gkmVP7s5sR74HOz2unPsRdNTEmwQyzpeEcB2OI3g35WAyccpYO7OpmpE1PlQ0O9qKdQlQJKbL7fq2DhqswVAdg== +"@react-native-community/cli-config@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-config/-/cli-config-15.0.1.tgz#fe44472757ebca4348fe4861ceaf9d4daff26767" + integrity sha512-SL3/9zIyzQQPKWei0+W1gNHxCPurrxqpODUWnVLoP38DNcvYCGtsRayw/4DsXgprZfBC+FsscNpd3IDJrG59XA== dependencies: - "@react-native-community/cli-tools" "15.0.0-alpha.2" + "@react-native-community/cli-tools" "15.0.1" chalk "^4.1.2" cosmiconfig "^9.0.0" deepmerge "^4.3.0" fast-glob "^3.3.2" joi "^17.2.1" -"@react-native-community/cli-debugger-ui@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-15.0.0-alpha.2.tgz#8ee14142c270c83fb5072050cad4f97e99ec5e5a" - integrity sha512-odOFpsOgbCc2si2+D16eyeY4h4u3qu12XssRGV8VqvhKLh0khQ/wA6y01/1ghy1sA0Pus1LyBwFEix6X3epXBw== +"@react-native-community/cli-debugger-ui@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-15.0.1.tgz#bed0d7af5ecb05222bdb7d6e74e21326a583bcf1" + integrity sha512-xkT2TLS8zg5r7Vl9l/2f7JVUoFECnVBS+B5ivrSu2PNZhKkr9lRmJFxC9aVLFb5lIxQQKNDvEyiIDNfP7wjJiA== dependencies: serve-static "^1.13.1" -"@react-native-community/cli-doctor@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-15.0.0-alpha.2.tgz#d83c4146111c5f3c2e2468d6cdcb4e76ed0e4e37" - integrity sha512-kcBwSUMmD0AGP+kvlxTkzGlMLxOqCZIJ6pBbpnTPAhSjYrvYzHNZTTYqeggcACR7mlERot0t6tJvXeGHP1s59g== +"@react-native-community/cli-doctor@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-doctor/-/cli-doctor-15.0.1.tgz#63cc42e7302f2bfa3739b29fea57b68d5d68fa03" + integrity sha512-YCu44lZR3zZxJJYVTqYZFz9cT9KBfbKI4q2MnKOvkamt00XY3usooMqfuwBAdvM/yvpx7M5w8kbM/nPyj4YCvQ== dependencies: - "@react-native-community/cli-config" "15.0.0-alpha.2" - "@react-native-community/cli-platform-android" "15.0.0-alpha.2" - "@react-native-community/cli-platform-apple" "15.0.0-alpha.2" - "@react-native-community/cli-platform-ios" "15.0.0-alpha.2" - "@react-native-community/cli-tools" "15.0.0-alpha.2" + "@react-native-community/cli-config" "15.0.1" + "@react-native-community/cli-platform-android" "15.0.1" + "@react-native-community/cli-platform-apple" "15.0.1" + "@react-native-community/cli-platform-ios" "15.0.1" + "@react-native-community/cli-tools" "15.0.1" chalk "^4.1.2" command-exists "^1.2.8" deepmerge "^4.3.0" @@ -1809,44 +1832,43 @@ wcwidth "^1.0.1" yaml "^2.2.1" -"@react-native-community/cli-platform-android@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-15.0.0-alpha.2.tgz#479f743086fb3c853d9a8038e26035d25776db7c" - integrity sha512-cKHbENaYreKCRtF8cSgTX3mn8XeupTVNzF57tWtOq6Prs+9Bd8ZsOylFZEvkyb3wY1S+BFDAXebAGzbL9ZlY3w== +"@react-native-community/cli-platform-android@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-15.0.1.tgz#9706fe454d0e2af4680c3ea1937830c93041a35f" + integrity sha512-QlAMomj6H6TY6pHwjTYMsHDQLP5eLzjAmyW1qb03w/kyS/72elK2bjsklNWJrscFY9TMQLqw7qoAsXf1m5t/dg== dependencies: - "@react-native-community/cli-tools" "15.0.0-alpha.2" + "@react-native-community/cli-tools" "15.0.1" chalk "^4.1.2" execa "^5.0.0" fast-glob "^3.3.2" fast-xml-parser "^4.4.1" logkitty "^0.7.1" -"@react-native-community/cli-platform-apple@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-apple/-/cli-platform-apple-15.0.0-alpha.2.tgz#561272ec7bf6cbedf8737cf1b71566b63e9b704b" - integrity sha512-eXE6KES4mNWQA1c/d+aWQnNsgjD7rdrsMAH4t0xOhXn4XWCw1FF6Y7PjUY8fi784RFIzEYB2xiVMvWQsC6BmAQ== +"@react-native-community/cli-platform-apple@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-apple/-/cli-platform-apple-15.0.1.tgz#af3c9bc910c96e823a488c21e7d68a9b4a07c8d1" + integrity sha512-iQj1Dt2fr/Q7X2CQhyhWnece3eLDCark1osfiwpViksOfTH2WdpNS3lIwlFcIKhsieFU7YYwbNuFqQ3tF9Dlvw== dependencies: - "@react-native-community/cli-tools" "15.0.0-alpha.2" + "@react-native-community/cli-config-apple" "15.0.1" + "@react-native-community/cli-tools" "15.0.1" chalk "^4.1.2" execa "^5.0.0" - fast-glob "^3.3.2" fast-xml-parser "^4.4.1" - ora "^5.4.1" -"@react-native-community/cli-platform-ios@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-15.0.0-alpha.2.tgz#c237e561d60d3aa463d51327b37e6943910f7bb5" - integrity sha512-7teqYOMf7SnBmUbSeGklDS2lJCpAa1LKzmy/L8vFiayWImUTJHKzkJyZNzhmiLSImcibFYVH7uaD2DWuFNcrOQ== +"@react-native-community/cli-platform-ios@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-15.0.1.tgz#a1cb78c3d43b9c2bbb411a074ef11364f2a94bbf" + integrity sha512-6pKzXEIgGL20eE1uOn8iSsNBlMzO1LG+pQOk+7mvD172EPhKm/lRzUVDX5gO/2jvsGoNw6VUW0JX1FI2firwqA== dependencies: - "@react-native-community/cli-platform-apple" "15.0.0-alpha.2" + "@react-native-community/cli-platform-apple" "15.0.1" -"@react-native-community/cli-server-api@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-15.0.0-alpha.2.tgz#37dcfe41cc7204e01290c616c9262e5e71f70424" - integrity sha512-e4bHsl/J006+coMTOpj6i44QPDat/X2s1sc3rqQkFL5vHIduB+Z6IyDI+W9F5uHrJhtQukE5NdajkjcXyjGLVA== +"@react-native-community/cli-server-api@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-server-api/-/cli-server-api-15.0.1.tgz#e7975e7638343248835fd379803d557c0ae24d75" + integrity sha512-f3rb3t1ELLaMSX5/LWO/IykglBIgiP3+pPnyl8GphHnBpf3bdIcp7fHlHLemvHE06YxT2nANRxRPjy1gNskenA== dependencies: - "@react-native-community/cli-debugger-ui" "15.0.0-alpha.2" - "@react-native-community/cli-tools" "15.0.0-alpha.2" + "@react-native-community/cli-debugger-ui" "15.0.1" + "@react-native-community/cli-tools" "15.0.1" compression "^1.7.1" connect "^3.6.5" errorhandler "^1.5.1" @@ -1855,10 +1877,10 @@ serve-static "^1.13.1" ws "^6.2.3" -"@react-native-community/cli-tools@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-15.0.0-alpha.2.tgz#0c02c61a30730814925d6c1e08d43b57ec083f24" - integrity sha512-XzjIFizlqLtwHqhFJHbYfedFOIebFEt1bdLSsHi2HSiZQlltW8KTwWiHC1VHfoEpePErvP2/jsx/dZtX7wNNSw== +"@react-native-community/cli-tools@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-15.0.1.tgz#3cc5398da72b5d365eb4a30468ebce2bf37fa591" + integrity sha512-N79A+u/94roanfmNohVcNGu6Xg+0idh63JHZFLC9OJJuZwTifGMLDfSTHZATpR1J7rebozQ5ClcSUePavErnSg== dependencies: appdirsjs "^1.2.4" chalk "^4.1.2" @@ -1867,29 +1889,30 @@ mime "^2.4.1" open "^6.2.0" ora "^5.4.1" + prompts "^2.4.2" semver "^7.5.2" shell-quote "^1.7.3" sudo-prompt "^9.0.0" -"@react-native-community/cli-types@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-15.0.0-alpha.2.tgz#12d62c7e928115758bbb7de6ded3d21a57dbb7b9" - integrity sha512-5gLZKQLG4ejrMEzdBw0KaGcX7jTTpWoGypxqL+8sQ7Pkenklfsr1RJRFxv+hzO/yX9psMFMgZUXluLajWwuvcg== +"@react-native-community/cli-types@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-15.0.1.tgz#ebdb5bc76ade44b2820174fdcb2a3a05999686ec" + integrity sha512-sWiJ62kkGu2mgYni2dsPxOMBzpwTjNsDH1ubY4mqcNEI9Zmzs0vRwwDUEhYqwNGys9+KpBKoZRrT2PAlhO84xA== dependencies: joi "^17.2.1" -"@react-native-community/cli@15.0.0-alpha.2": - version "15.0.0-alpha.2" - resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-15.0.0-alpha.2.tgz#e465127a176a9eac3f0c1e4a16bd1830627fbbfb" - integrity sha512-Yf7kupKmEuytelafCNeNug4ZAC0i7GPgKVyXfRhwVtVp5ykXtWcng2bqPa4YRl4fgWgu5JhoOQhVMEV1cUDzAA== - dependencies: - "@react-native-community/cli-clean" "15.0.0-alpha.2" - "@react-native-community/cli-config" "15.0.0-alpha.2" - "@react-native-community/cli-debugger-ui" "15.0.0-alpha.2" - "@react-native-community/cli-doctor" "15.0.0-alpha.2" - "@react-native-community/cli-server-api" "15.0.0-alpha.2" - "@react-native-community/cli-tools" "15.0.0-alpha.2" - "@react-native-community/cli-types" "15.0.0-alpha.2" +"@react-native-community/cli@15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-15.0.1.tgz#d703d55cc6540ce3d29fd2fbf3303bea0ffd96f2" + integrity sha512-xIGPytx2bj5HxFk0c7S25AVuJowHmEFg5LFC9XosKc0TSOjP1r6zGC6OqC/arQV/pNuqmZN2IFnpgJn0Bn+hhQ== + dependencies: + "@react-native-community/cli-clean" "15.0.1" + "@react-native-community/cli-config" "15.0.1" + "@react-native-community/cli-debugger-ui" "15.0.1" + "@react-native-community/cli-doctor" "15.0.1" + "@react-native-community/cli-server-api" "15.0.1" + "@react-native-community/cli-tools" "15.0.1" + "@react-native-community/cli-types" "15.0.1" chalk "^4.1.2" commander "^9.4.1" deepmerge "^4.3.0"