New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/lerna__child-process

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/lerna__child-process

TypeScript definitions for @lerna/child-process

5.1.0
ts3.9
ts4.0
ts4.1
ts4.2
Source
npm
Version published
Weekly downloads
1.7K
-15.28%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/lerna__child-process

Summary

This package contains type definitions for @lerna/child-process (https://github.com/lerna/lerna/blob/main/core/child-process).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lerna__child-process.

index.d.ts

// Type definitions for @lerna/child-process 5.1
// Project: https://github.com/lerna/lerna/blob/main/core/child-process
// Definitions by: donmahallem <https://github.com/donmahallem>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { Package } from '@lerna/package';
import * as execa from 'execa';

export type ExecutionError = execa.ExecaError & { exitCode: number; pkg?: Package };
export type ExecutionResult = execa.ExecaChildProcess & { pkg?: Package };
export function exec(command: string, args: string[], opts?: execa.Options): ExecutionResult;

export function execSync(
    command: string,
    args: string[],
    opts?: execa.SyncOptions,
): ReturnType<typeof execa.sync>['stdout'];

export function getChildProcessCount(): number;

export function getExitCode(result: execa.ExecaError): number;

export function spawn(command: string, args: string[], opts?: execa.Options): ExecutionResult;

export function spawnStreaming(command: string, args: string[], opts?: execa.Options, prefix?: string): ExecutionResult;

export interface ExecOpts {
    cwd: string;
    maxBuffer?: number;
}

Additional Details

  • Last updated: Wed, 08 Jun 2022 16:31:38 GMT
  • Dependencies: @types/lerna__package, @types/execa
  • Global values: none

Credits

These definitions were written by donmahallem.

FAQs

Package last updated on 08 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts