
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@types/run-sequence
Advanced tools
TypeScript definitions for run-sequence
npm install --save @types/run-sequence
This package contains type definitions for run-sequence (https://github.com/OverZealous/run-sequence).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/run-sequence.
/// <reference types="node" />
import gulp = require("gulp");
import undertaker = require("undertaker");
declare namespace r {
type Task = string | string[] | null | undefined;
interface RunSequence {
/**
* Runs a sequence of gulp tasks in the specified order.
* This function is designed to solve the situation where
* you have defined run-order, but choose not to or cannot use dependencies.
*
* Each argument to run-sequence is run in order.
* This works by listening to the `task_stop` and `task_err` events,
* and keeping track of which tasks have been completed.
* You can still run some of the tasks in parallel,
* by providing an array of task names for one or more of the arguments.
*
* If the final argument is a function, it will be used as a callback
* after all the functions are either finished or an error has occurred.
*/
(...tasks: [...r.Task[], undertaker.TaskCallback]): NodeJS.ReadWriteStream;
(...tasks: r.Task[]): NodeJS.ReadWriteStream;
/**
* If you have a complex gulp setup with your tasks split up across different files,
* you may get the error that run-sequence is unable to find your tasks.
* In this case, you can configure run-sequence to look at the gulp within the submodule.
*/
use(gulp: gulp.Gulp): RunSequence;
/**
* There are a few global options you can configure on the `runSequence` function.
*
* Please note these are **global to the module**,
* and once set will affect every use of `runSequence`.
*/
options: {
/**
* When set to `false`, this suppresses the full stack trace from errors captured
* during a sequence.
*
* @default true
*/
showErrorStackTrace: boolean;
/**
* When set to `true`, this enables you to pass falsey values
* in which will be stripped from the task set before validation and sequencing.
*
* @default false
*/
ignoreUndefinedTasks: boolean;
};
}
}
declare const r: r.RunSequence;
export = r;
These definitions were written by Keita Kagurazaka.
FAQs
TypeScript definitions for run-sequence
The npm package @types/run-sequence receives a total of 5,875 weekly downloads. As such, @types/run-sequence popularity was classified as popular.
We found that @types/run-sequence demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.