@react-native-community/cli-doctor
Advanced tools
Comparing version 12.0.0-alpha.2 to 12.0.0-alpha.3
import { Loader } from '../types'; | ||
declare function runSudo(command: string): Promise<void>; | ||
declare function installCocoaPods(loader: Loader): Promise<import("ora").Ora>; | ||
declare function installPods({ directory, loader, }: { | ||
directory: string; | ||
loader?: Loader; | ||
}): Promise<void>; | ||
declare function installPods(loader?: Loader): Promise<void>; | ||
export { runSudo, installCocoaPods }; | ||
export default installPods; | ||
//# sourceMappingURL=installPods.d.ts.map |
@@ -46,3 +46,3 @@ "use strict"; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
async function runPodInstall(loader, directory, shouldHandleRepoUpdate = true) { | ||
async function runPodInstall(loader, shouldHandleRepoUpdate = true) { | ||
try { | ||
@@ -64,3 +64,3 @@ loader.start(`Installing CocoaPods dependencies ${_chalk().default.dim('(this may take a few minutes)')}`); | ||
await runPodUpdate(loader); | ||
await runPodInstall(loader, directory, false); | ||
await runPodInstall(loader, false); | ||
} else { | ||
@@ -118,6 +118,3 @@ loader.fail(); | ||
} | ||
async function installPods({ | ||
directory, | ||
loader | ||
}) { | ||
async function installPods(loader) { | ||
loader = loader || new (_cliTools().NoopLoader)(); | ||
@@ -145,3 +142,3 @@ try { | ||
} | ||
await runPodInstall(loader, directory); | ||
await runPodInstall(loader); | ||
} finally { | ||
@@ -148,0 +145,0 @@ process.chdir('..'); |
{ | ||
"name": "@react-native-community/cli-doctor", | ||
"version": "12.0.0-alpha.2", | ||
"version": "12.0.0-alpha.3", | ||
"license": "MIT", | ||
@@ -11,6 +11,6 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-config": "12.0.0-alpha.2", | ||
"@react-native-community/cli-platform-android": "12.0.0-alpha.2", | ||
"@react-native-community/cli-platform-ios": "12.0.0-alpha.2", | ||
"@react-native-community/cli-tools": "12.0.0-alpha.2", | ||
"@react-native-community/cli-config": "12.0.0-alpha.3", | ||
"@react-native-community/cli-platform-android": "12.0.0-alpha.3", | ||
"@react-native-community/cli-platform-ios": "12.0.0-alpha.3", | ||
"@react-native-community/cli-tools": "12.0.0-alpha.3", | ||
"chalk": "^4.1.2", | ||
@@ -37,3 +37,3 @@ "command-exists": "^1.2.8", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "12.0.0-alpha.2", | ||
"@react-native-community/cli-types": "12.0.0-alpha.3", | ||
"@types/command-exists": "^1.2.0", | ||
@@ -52,3 +52,3 @@ "@types/envinfo": "^7.8.1", | ||
}, | ||
"gitHead": "6d22b6228c58328cfd0363880f706c7c1cb5a414" | ||
"gitHead": "8d8d6384ce8ae5c2d967fb2f9ac528ddf4da7279" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
270618
3194
+ Added@react-native-community/cli-config@12.0.0-alpha.3(transitive)
+ Added@react-native-community/cli-platform-android@12.0.0-alpha.3(transitive)
+ Added@react-native-community/cli-platform-ios@12.0.0-alpha.3(transitive)
+ Added@react-native-community/cli-tools@12.0.0-alpha.3(transitive)
- Removed@react-native-community/cli-config@12.0.0-alpha.2(transitive)
- Removed@react-native-community/cli-platform-android@12.0.0-alpha.2(transitive)
- Removed@react-native-community/cli-platform-ios@12.0.0-alpha.2(transitive)
- Removed@react-native-community/cli-tools@12.0.0-alpha.2(transitive)
Updated@react-native-community/cli-platform-android@12.0.0-alpha.3
Updated@react-native-community/cli-platform-ios@12.0.0-alpha.3