All Projects → Fitbit → webpack-cluster

Fitbit / webpack-cluster

Licence: Apache-2.0 license
Helps to make parallel webpack compilation easily

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to webpack-cluster

blacksmith
Bare-Metal CoreOS Cluster Manager
Stars: ✭ 67 (+109.38%)
Mutual labels:  cluster
astacus
Clustered database backup
Stars: ✭ 24 (-25%)
Mutual labels:  cluster
ClusterMonitor
Very simple script which logs the CPU and RAM usage of the submitted job.
Stars: ✭ 23 (-28.12%)
Mutual labels:  cluster
ts4health
Time Series Data Analysis, Visualization and Forecasting with Python for Health and Self
Stars: ✭ 17 (-46.87%)
Mutual labels:  fitbit
provisionr
📦📦➡️🏛️ Provision a library of R packages
Stars: ✭ 26 (-18.75%)
Mutual labels:  cluster
ClusterAnalysis.jl
Cluster Algorithms from Scratch with Julia Lang. (K-Means and DBSCAN)
Stars: ✭ 22 (-31.25%)
Mutual labels:  cluster
react-map-gl-cluster
Urbica React Cluster Component for Mapbox GL JS
Stars: ✭ 27 (-15.62%)
Mutual labels:  cluster
node-advanced
Node Advanced Courseware
Stars: ✭ 80 (+150%)
Mutual labels:  cluster
gpu-cluster-config
How to Configure a GPU Cluster Running Ubuntu Linux
Stars: ✭ 45 (+40.63%)
Mutual labels:  cluster
pg-dock
pg-dock cluster managment
Stars: ✭ 19 (-40.62%)
Mutual labels:  cluster
akka-cluster-minimal
Akka Cluster - absolute minimal
Stars: ✭ 16 (-50%)
Mutual labels:  cluster
fitnotifications
Fit Notifications allows you to view all your Android notifications on your Fitbit device, as long as it supports at least "Text Notifications" natively.
Stars: ✭ 18 (-43.75%)
Mutual labels:  fitbit
proxmox-tools
📦 A collection of stuff that I and others wrote for Proxmox 📦
Stars: ✭ 112 (+250%)
Mutual labels:  cluster
xoom-cluster
The VLINGO XOOM platform SDK cluster management for Reactive, scalable resiliency of JVM tools and applications running on XOOM LATTICE and XOOM ACTORS.
Stars: ✭ 25 (-21.87%)
Mutual labels:  cluster
kubectl-node-restart
Krew plugin to restart Kubernetes Nodes sequentially and gracefully
Stars: ✭ 73 (+128.13%)
Mutual labels:  cluster
unitd
Lightweight, high performance messaging system for microservices, IoT, and real-time internet connected devices.
Stars: ✭ 16 (-50%)
Mutual labels:  cluster
laravel-php-k8s
Just a simple port of renoki-co/php-k8s for easier access in Laravel
Stars: ✭ 71 (+121.88%)
Mutual labels:  cluster
Clustering-Datasets
This repository contains the collection of UCI (real-life) datasets and Synthetic (artificial) datasets (with cluster labels and MATLAB files) ready to use with clustering algorithms.
Stars: ✭ 189 (+490.63%)
Mutual labels:  cluster
zeit
A Fitbit clock face for learners of the German language
Stars: ✭ 41 (+28.13%)
Mutual labels:  fitbit
ossapps
A non-exhaustive list of open sourced clock faces, applications and modules from the community.
Stars: ✭ 393 (+1128.13%)
Mutual labels:  fitbit

NPM version Travis build status AppVeyor build status Code Climate GPA Code Climate Coverage Dependency Status Development Dependency Status Greenkeeper badge

webpack-cluster

Helps to make parallel webpack compilation easily

Installation

npm install webpack-cluster --save-dev

or

yarn add webpack-cluster --dev

Usage

CLI

$ webpack-cluster --config=**/webpack.config.js [options]

Options:
  --config       Specifies configuration files using `glob` pattern
                                                              [array] [required]
  --failures     Sets failure options                            [default: true]
  --watch        Enables `watch` mode                                  [boolean]
  --dryRun       Enables `dryRun` mode                                 [boolean]
  --concurrency  Sets maximum number of concurrent compilers
                                                           [number] [default: 8]
  --silent       Suppress all output                                   [boolean]

Miscellaneous:
  --version  Outputs version number                                    [boolean]

Node API

import WebpackCluster from 'webpack-cluster';

const webpackCluster = new WebpackCluster({
    dryRun: false,
    concurrency: 10,
    failures: {
        sysErrors: true,
        errors: true,
        warnings: true
    }
});

webpackCluster.run([
    './src/**/webpack.config.js'
]).then(results => { // In case of success
    console.log(results); // ['./src/app1/webpack.config.js', './src/app2/webpack.config.js']
}).catch(results => { // In case of any errors
    console.log(results); // [Error { filename: './src/app3/webpack.config.js', code: 2 }]
});

./gulpfile.js

import gulp from 'gulp';
import gutil from 'gulp-util';
import WebpackCluster from 'webpack-cluster';

const webpackCluster = new WebpackCluster({
    dryRun: false,
    concurrency: 10,
    failures: {
        sysErrors: true,
        errors: true,
        warnings: true
    }
});

gulp.task('run', [], callback => {
    webpackCluster.run([
        './src/**/webpack.config.js'
    ]).then(callback).catch(err => {
        callback(new gutil.PluginError('webpack-cluster', err));
    });
});

gulp.task('watch', [], callback => {
    webpackCluster.watch([
        './src/**/webpack.config.js'
    ]).then(callback).catch(err => {
        callback(new gutil.PluginError('webpack-cluster', err));
    });
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].