@santicon/nx-create-react-native-module
Version:
Generate a NX library with React Native module to NX workspace
11 lines (10 loc) • 656 B
TypeScript
import { Tree } from '@nrwl/devkit';
import { NxCreateReactNativeModuleGeneratorSchema } from './schema';
export default function (tree: Tree, schema: NxCreateReactNativeModuleGeneratorSchema): Promise<() => void>;
/**
* Extracts specified directory from a given tarball to the specified destination.
* @param tarballPath The path to the tarball from where the file should be extracted.
* @param directory The path to the directory inside the tarball.
* @param destinationFilePath The destination file path.
*/
export declare function extractDirectoryFromTarball(tarballPath: string, directory: string, destinationFilePath: string): Promise<boolean>;