Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 14, 2024 via pnpm

run-sequence 2.2.1

Run a series of dependent gulp tasks in order
Package summary
Share
0
issues
2
licenses
22
MIT
1
ISC
Package created
23 Jan 2014
Version published
3 Jan 2018
Maintainers
1
Total deps
23
Direct deps
3
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
22 Packages, Including:
ansi-cyan@0.1.1
ansi-gray@0.1.1
ansi-red@0.1.1
ansi-regex@2.1.1
ansi-styles@2.2.1
ansi-wrap@0.1.0
arr-diff@1.1.0
arr-flatten@1.1.0
arr-union@2.1.0
array-slice@0.2.3
chalk@1.1.3
escape-string-regexp@1.0.5
extend-shallow@1.1.4
fancy-log@1.3.3
has-ansi@2.0.0
kind-of@1.1.0
parse-node-version@1.0.1
plugin-error@0.1.2
run-sequence@2.2.1
strip-ansi@3.0.1
supports-color@2.0.0
time-stamp@1.1.0

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
color-support@1.1.3
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of run-sequence 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
chalk1.1.35.11 kBMIT
prod
fancy-log1.3.32.65 kBMIT
prod
plugin-error0.1.23.77 kBMIT
prod

Visualizations

Frequently Asked Questions

What does run-sequence do?

The "run-sequence" is a useful npm package designed to run a series of dependent gulp tasks in a specified order. This functionality helps to resolve situations where you have a defined run order but opt not to, or can't use dependencies. It must be noted, however, that this solution is temporary and can be seen as a hack. "run-sequence" functions by listening to the task_stop and task_err events and keeping track of which tasks have been completed. Although you still have the capability to run some tasks concurrently via providing an array of task names for one or more of the arguments.

How do you use run-sequence?

To use "run-sequence", you first need to install it as an advancement dependency with the command, npm install --save-dev run-sequence. Once installed, you can use it in your gulpfile as shown in the following code:

const gulp = require('gulp');
const runSequence = require('run-sequence');
const del = require('del');
const fs = require('fs');

gulp.task('build', function(callback) {
  runSequence('build-clean', ['build-scripts', 'build-styles'], 'build-html', callback);
});
// Add configuration for 'build-clean', 'build-scripts', 'build-styles', and 'build-html' tasks

It's important to note that the tasks must return a stream or promise or handle the callback to ensure they're completed.

With complex gulp setups where tasks are split across different files, you may encounter an error where "run-sequence" is unable to find your tasks. In such situations, you can configure "run-sequence" to look at the gulp within the submodule like this:

const gulp = require('gulp');
const runSequence = require('run-sequence').use(gulp);
runSequence('subtask1', 'subtask2');

Where are the run-sequence docs?

The "run-sequence" documentation can be found on its GitHub repository at git://github.com/OverZealous/run-sequence.git. The readme file contains all the necessary information you need to understand the tool's function and usage. It provides detailed usage examples with explanatory comments to help understanding how to utilize "run-sequence" in your project.