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
30
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 11.0.0-alpha.2 to 11.0.0

8

build/android.d.ts

@@ -6,4 +6,5 @@ export interface AndroidProjectConfig {

dependencyConfiguration?: string;
unstable_reactLegacyComponentNames?: string[] | null;
}
export declare type AndroidProjectParams = {
export type AndroidProjectParams = {
sourceDir?: string;

@@ -14,4 +15,5 @@ appName?: string;

dependencyConfiguration?: string;
unstable_reactLegacyComponentNames?: string[] | null;
};
export declare type AndroidDependencyConfig = {
export type AndroidDependencyConfig = {
sourceDir: string;

@@ -26,3 +28,3 @@ packageImportPath: string;

};
export declare type AndroidDependencyParams = {
export type AndroidDependencyParams = {
sourceDir?: string;

@@ -29,0 +31,0 @@ manifestPath?: string;

import { IOSProjectConfig, IOSProjectParams, IOSDependencyConfig, IOSDependencyParams, IOSProjectInfo } from './ios';
import { AndroidProjectConfig, AndroidProjectParams, AndroidDependencyConfig, AndroidDependencyParams } from './android';
export declare type Prompt = any;
export declare type CommandFunction<Args = Object> = (argv: Array<string>, ctx: Config, args: Args) => Promise<void> | void;
export declare type OptionValue = string | boolean | number;
export declare type CommandOption<T = (ctx: Config) => OptionValue> = {
export type Prompt = any;
export type CommandFunction<Args = Object> = (argv: Array<string>, ctx: Config, args: Args) => Promise<void> | void;
export type OptionValue = string | boolean | number;
export type CommandOption<T = (ctx: Config) => OptionValue> = {
name: string;

@@ -12,4 +12,4 @@ description?: string;

};
export declare type DetachedCommandFunction<Args = Object> = (argv: string[], args: Args) => Promise<void> | void;
export declare type Command<IsDetached extends boolean = false> = {
export type DetachedCommandFunction<Args = Object> = (argv: string[], args: Args, ctx: Config) => Promise<void> | void;
export type Command<IsDetached extends boolean = false> = {
name: string;

@@ -29,3 +29,3 @@ description?: string;

};
export declare type DetachedCommand = Command<true>;
export type DetachedCommand = Command<true>;
interface PlatformConfig<ProjectConfig, ProjectParams, DependencyConfig, DependencyParams> {

@@ -36,5 +36,5 @@ npmPackageName?: string;

}
declare type AndroidPlatformConfig = PlatformConfig<AndroidProjectConfig, AndroidProjectParams, AndroidDependencyConfig, AndroidDependencyParams>;
declare type IOSPlatformConfig = PlatformConfig<IOSProjectConfig, IOSProjectParams, IOSDependencyConfig, IOSDependencyParams>;
export declare type ProjectConfig = {
type AndroidPlatformConfig = PlatformConfig<AndroidProjectConfig, AndroidProjectParams, AndroidDependencyConfig, AndroidDependencyParams>;
type IOSPlatformConfig = PlatformConfig<IOSProjectConfig, IOSProjectParams, IOSDependencyConfig, IOSDependencyParams>;
export type ProjectConfig = {
android?: Exclude<ReturnType<AndroidPlatformConfig['projectConfig']>, void>;

@@ -56,2 +56,3 @@ ios?: Exclude<ReturnType<IOSPlatformConfig['projectConfig']>, void>;

reactNativePath: string;
reactNativeVersion: string;
project: ProjectConfig;

@@ -69,3 +70,3 @@ dependencies: {

}
export declare type UserConfig = Omit<Config, 'root'> & {
export type UserConfig = Omit<Config, 'root'> & {
reactNativePath: string | void;

@@ -78,3 +79,3 @@ project: {

};
export declare type UserDependencyConfig = {
export type UserDependencyConfig = {
dependency: Omit<DependencyConfig, 'name' | 'root'>;

@@ -81,0 +82,0 @@ commands: Command[];

@@ -8,3 +8,3 @@ /**

}
export declare type IOSProjectInfo = {
export type IOSProjectInfo = {
name: string;

@@ -22,3 +22,3 @@ isWorkspace: boolean;

}
export declare type IOSDependencyParams = Omit<Partial<IOSDependencyConfig>, 'podspecPath'>;
export type IOSDependencyParams = Omit<Partial<IOSDependencyConfig>, 'podspecPath'>;
/**

@@ -31,3 +31,3 @@ * @see https://www.rubydoc.info/gems/cocoapods-core/Pod/Podfile/DSL#script_phase-instance_method

*/
export declare type IOSScriptPhase = ({
export type IOSScriptPhase = ({
script: string;

@@ -34,0 +34,0 @@ } | {

{
"name": "@react-native-community/cli-types",
"version": "11.0.0-alpha.2",
"version": "11.0.0",
"main": "build",

@@ -23,3 +23,3 @@ "publishConfig": {

},
"gitHead": "63022103bebc9202d15255d8d2a6b90ce7401bf0"
"gitHead": "e0c9bcea9cb7af9548052d80846bb45f187a28a3"
}

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

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