@react-native-community/cli-types
Advanced tools
Comparing version 6.0.0 to 7.0.0
import { IOSProjectConfig, IOSProjectParams, IOSDependencyConfig, IOSDependencyParams, IOSNativeModulesConfig } from './ios'; | ||
import { AndroidProjectConfig, AndroidProjectParams, AndroidDependencyConfig, AndroidDependencyParams } from './android'; | ||
import { Ora } from 'ora'; | ||
export declare type Prompt = any; | ||
@@ -64,79 +63,2 @@ export declare type CommandFunction<Args = Object> = (argv: Array<string>, ctx: Config, args: Args) => Promise<void> | void; | ||
}; | ||
export declare type NotFound = 'Not Found'; | ||
declare type AvailableInformation = { | ||
version: string; | ||
path: string; | ||
}; | ||
declare type Information = AvailableInformation | NotFound; | ||
export declare type EnvironmentInfo = { | ||
System: { | ||
OS: string; | ||
CPU: string; | ||
Memory: string; | ||
Shell: AvailableInformation; | ||
}; | ||
Binaries: { | ||
Node: AvailableInformation; | ||
Yarn: AvailableInformation; | ||
npm: AvailableInformation; | ||
Watchman: AvailableInformation; | ||
}; | ||
SDKs: { | ||
'iOS SDK': { | ||
Platforms: string[]; | ||
}; | ||
'Android SDK': { | ||
'API Levels': string[] | NotFound; | ||
'Build Tools': string[] | NotFound; | ||
'System Images': string[] | NotFound; | ||
'Android NDK': string | NotFound; | ||
} | NotFound; | ||
}; | ||
IDEs: { | ||
'Android Studio': AvailableInformation | NotFound; | ||
Emacs: AvailableInformation; | ||
Nano: AvailableInformation; | ||
VSCode: AvailableInformation; | ||
Vim: AvailableInformation; | ||
Xcode: AvailableInformation; | ||
}; | ||
Languages: { | ||
Java: Information; | ||
}; | ||
}; | ||
export declare type HealthCheckCategory = { | ||
label: string; | ||
healthchecks: HealthCheckInterface[]; | ||
}; | ||
export declare type Healthchecks = { | ||
common: HealthCheckCategory; | ||
android: HealthCheckCategory; | ||
ios?: HealthCheckCategory; | ||
}; | ||
export declare type RunAutomaticFix = (args: { | ||
loader: Ora; | ||
logManualInstallation: ({ healthcheck, url, command, message, }: { | ||
healthcheck?: string; | ||
url?: string; | ||
command?: string; | ||
message?: string; | ||
}) => void; | ||
environmentInfo: EnvironmentInfo; | ||
}) => Promise<void> | void; | ||
export declare type HealthCheckInterface = { | ||
label: string; | ||
visible?: boolean | void; | ||
isRequired?: boolean; | ||
description?: string; | ||
getDiagnostics: (environmentInfo: EnvironmentInfo) => Promise<{ | ||
version?: string; | ||
versions?: [string]; | ||
versionRange?: string; | ||
needsToBeFixed: boolean | string; | ||
}>; | ||
win32AutomaticFix?: RunAutomaticFix; | ||
darwinAutomaticFix?: RunAutomaticFix; | ||
linuxAutomaticFix?: RunAutomaticFix; | ||
runAutomaticFix: RunAutomaticFix; | ||
}; | ||
/** | ||
@@ -166,3 +88,3 @@ * @property root - Root where the configuration has been resolved from | ||
commands: Command[]; | ||
healthChecks: HealthCheckCategory[]; | ||
healthChecks: []; | ||
} | ||
@@ -185,3 +107,3 @@ /** | ||
platforms: Config['platforms']; | ||
healthChecks: HealthCheckCategory[]; | ||
healthChecks: []; | ||
}; | ||
@@ -188,0 +110,0 @@ export { IOSProjectConfig, IOSProjectParams, IOSDependencyConfig, IOSDependencyParams, IOSNativeModulesConfig, }; |
{ | ||
"name": "@react-native-community/cli-types", | ||
"version": "6.0.0", | ||
"version": "7.0.0", | ||
"main": "build", | ||
@@ -8,5 +8,2 @@ "publishConfig": { | ||
}, | ||
"dependencies": { | ||
"ora": "^3.4.0" | ||
}, | ||
"files": [ | ||
@@ -24,3 +21,3 @@ "build", | ||
}, | ||
"gitHead": "47aed081b4cbea02d4cc7f12d4fec732ee85b2a4" | ||
"gitHead": "fcb746c46e6dc05225a26ab132ab380c841c849f" | ||
} |
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
23579
0
13
127
2
7
2
57
289
- Removedora@^3.4.0
- Removedansi-regex@4.1.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcli-cursor@2.1.0(transitive)
- Removedcli-spinners@2.9.2(transitive)
- Removedclone@1.0.4(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removeddefaults@1.0.4(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedlog-symbols@2.2.0(transitive)
- Removedmimic-fn@1.2.0(transitive)
- Removedonetime@2.0.1(transitive)
- Removedora@3.4.0(transitive)
- Removedrestore-cursor@2.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-ansi@5.2.0(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedwcwidth@1.0.1(transitive)