Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-native-community/cli-types

Package Overview
Dependencies
Maintainers
40
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-types - npm Package Compare versions

Comparing version 4.10.1 to 5.0.0-alpha.0

81

build/index.d.ts
import { IOSProjectConfig, IOSProjectParams, IOSDependencyConfig, IOSDependencyParams, IOSNativeModulesConfig } from './ios';
import { AndroidProjectConfig, AndroidProjectParams, AndroidDependencyConfig, AndroidDependencyParams } from './android';
import { Ora } from 'ora';
export declare type InquirerPrompt = any;

@@ -63,2 +64,79 @@ 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;
};
/**

@@ -72,2 +150,3 @@ * @property root - Root where the configuration has been resolved from

* @property commands - An array of commands that are present in 3rd party packages
* @property healthChecks - An array of health check categories to add to doctor command
*/

@@ -88,2 +167,3 @@ export interface Config extends IOSNativeModulesConfig {

commands: Command[];
healthChecks: HealthCheckCategory[];
}

@@ -106,2 +186,3 @@ /**

platforms: Config['platforms'];
healthChecks: HealthCheckCategory[];
};

@@ -108,0 +189,0 @@ export { IOSProjectConfig, IOSProjectParams, IOSDependencyConfig, IOSDependencyParams, IOSNativeModulesConfig, };

7

package.json
{
"name": "@react-native-community/cli-types",
"version": "4.10.1",
"version": "5.0.0-alpha.0",
"main": "build",

@@ -8,2 +8,5 @@ "publishConfig": {

},
"dependencies": {
"ora": "^3.4.0"
},
"files": [

@@ -15,3 +18,3 @@ "build",

"license": "MIT",
"gitHead": "f76add94dcfb647dd55b59a5fad9a4d5363962fa"
"gitHead": "989967184d6d16a13a17cde7d607389c7726c7fd"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc