Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
gulp-pipeline
Advanced tools
Meta gulp plugin recipes modularized as ES6 classes. Fully configurable. Fully extensible. Full pipeline in a few lines of code.
Meta gulp plugin recipes modularized as ES6 classes. Fully configurable. Fully extensible. Full pipeline in a few lines of code.
ES6, reusable, modular, extensible gulp recipes.
The javascript community is iterating on asset tooling faster than others, indeed they own many of the tools. In moving back and forth between node based projects and rails, we found at a minimum we were working with different configurations, and at most we were dealing with completely different or out of date tools.
Why don't we just use the same tools for the asset pipeline? Now we can.
We are certainly not the first to consider this. What we did see is that noone was actually reusing shared code in a way that benefits many. We have seen people share code in a repository, but only in a way that could be cloned or copied. We want actual reuse, in that we never want to copy code again. When we transpile ES6, we want check it with EsLint. When we transpile SCSS, we want to check it with ScssLint.
Anyone that wants gulp recipes in a reusable/extensible/modular way. While we certainly want to provide recipes that can be reused and replace the rails pipeline, these recipes should be modular enough that any project (node, bower, angular) can utilize them.
NOTE: very much a work in progress
Here's an ES6 authored gulpfile.babel.js
that provides tasks to build and watch an ES6/SCSS project. Simple enough?
import { Scss, Browserify } from 'gulp-pipeline'
import gulp from 'gulp'
let scss = new Scss(gulp)
let browserify = new Browserify(gulp)
// add macro default task
gulp.task('default', [scss.taskName(), browserify.taskName()])
// add macro watch task
gulp.task('watch', [scss.watchTaskName(), browserify.watchTaskName()])
Run it with gulp
.
Each exported ES6 class is a recipe having configurable options that registers a task as well as a watch task if applicable. These are simply common gulp build configurations.
Certainly! There are a number of ways to accomplish this.
Submit a PR and we'll include it!
FAQs
Meta gulp plugin recipes modularized as ES6 classes. Fully configurable. Fully extensible. Full pipeline in a few lines of code.
The npm package gulp-pipeline receives a total of 0 weekly downloads. As such, gulp-pipeline popularity was classified as not popular.
We found that gulp-pipeline demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.