@react-native-community/cli-doctor
Advanced tools
Comparing version 10.0.0 to 10.1.0
@@ -26,3 +26,4 @@ export declare const commands: { | ||
*/ | ||
export { default as versionRanges } from './tools/versionRanges'; | ||
export { default as installPods } from './tools/installPods'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -13,4 +13,11 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "versionRanges", { | ||
enumerable: true, | ||
get: function () { | ||
return _versionRanges.default; | ||
} | ||
}); | ||
var _doctor = _interopRequireDefault(require("./commands/doctor")); | ||
var _info = _interopRequireDefault(require("./commands/info")); | ||
var _versionRanges = _interopRequireDefault(require("./tools/versionRanges")); | ||
var _installPods = _interopRequireDefault(require("./tools/installPods")); | ||
@@ -17,0 +24,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
@@ -18,2 +18,3 @@ "use strict"; | ||
var _brewInstall = require("../brewInstall"); | ||
var _versionRanges = _interopRequireDefault(require("../versionRanges")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -24,4 +25,11 @@ const label = 'CocoaPods'; | ||
description: 'Required for installing iOS dependencies', | ||
getDiagnostics: async () => ({ | ||
needsToBeFixed: await (0, _checkInstallation.isSoftwareNotInstalled)('pod') | ||
getDiagnostics: async ({ | ||
Managers | ||
}) => ({ | ||
needsToBeFixed: (0, _checkInstallation.doesSoftwareNeedToBeFixed)({ | ||
version: Managers.CocoaPods.version, | ||
versionRange: _versionRanges.default.COCOAPODS | ||
}), | ||
version: Managers.CocoaPods.version, | ||
versionRange: _versionRanges.default.COCOAPODS | ||
}), | ||
@@ -28,0 +36,0 @@ runAutomaticFix: async ({ |
@@ -9,4 +9,5 @@ declare const _default: { | ||
XCODE: string; | ||
COCOAPODS: string; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=versionRanges.d.ts.map |
@@ -17,3 +17,4 @@ "use strict"; | ||
// iOS | ||
XCODE: '>= 12.x' | ||
XCODE: '>= 12.x', | ||
COCOAPODS: '>= 1.10.0' | ||
}; | ||
@@ -20,0 +21,0 @@ exports.default = _default; |
@@ -22,2 +22,5 @@ import type { Ora } from 'ora'; | ||
}; | ||
Managers: { | ||
CocoaPods: AvailableInformation; | ||
}; | ||
SDKs: { | ||
@@ -24,0 +27,0 @@ 'iOS SDK': { |
{ | ||
"name": "@react-native-community/cli-doctor", | ||
"version": "10.0.0", | ||
"version": "10.1.0", | ||
"license": "MIT", | ||
@@ -12,3 +12,3 @@ "main": "build/index.js", | ||
"@react-native-community/cli-config": "^10.0.0", | ||
"@react-native-community/cli-platform-ios": "^10.0.0", | ||
"@react-native-community/cli-platform-ios": "^10.1.0", | ||
"@react-native-community/cli-tools": "^10.0.0", | ||
@@ -48,3 +48,3 @@ "chalk": "^4.1.2", | ||
}, | ||
"gitHead": "f0ff82404a0feff3e7df20a4b3a055062a32bbbe" | ||
"gitHead": "a7933c387d2de2e6eff924e989d525a03e87f7f3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
240997
2822