1. gulp-step
The plugin to define internal build steps for the Gulp@next
gulp-step
Package: gulp-step
Created by: AndreyBelym
Last modified: Mon, 04 Sep 2023 07:01:04 GMT
Version: 1.1.0
License: MIT
Downloads: 638
Repository: https://github.com/AndreyBelym/gulp-step

Install

npm install gulp-step
yarn add gulp-step

gulp-step

The plugin for defining internal build steps for the Gulp@next. Allows to create tasks that aren't visible for the Gulp CLI.

Example of a Gulpfile.js:

 // Require Gulp
const gulp = require('gulp');

// Require the module
const gulpStep = require('gulp-step'); 

// Install the module into a Gulp object
gulpStep.install(); 

// Use gulp.step to define build steps. Steps are similar to Gulp tasks, but can't be 
// started directly from the Gulp CLI
gulp.step('a', done => { 
    console.log('a');
    
    done();
});

gulp.task('b', done => {
    console.log('b');
    
    done();
});

// $ gulp --task-simple
//    b
//
// WRONG:   $ gulp a
// CORRECT: $ gulp b

// Step names can be used exactly in the same way as task names in gulp.series and gulp.parallel 
gulp.step('c', gulp.series('a', 'b'));

gulp.task('d', gulp.parallel('a', 'b')); 

Dependencies

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code