mendel-pipeline
Advanced tools
Comparing version 3.0.0-alpha.4 to 3.0.0-alpha.5
@@ -179,5 +179,2 @@ # Mendel v2 developer documentation | ||
## Daemon and Transient Process | ||
TBD | ||
# Package structure | ||
@@ -184,0 +181,0 @@ ## Core packages |
{ | ||
"name": "mendel-pipeline", | ||
"version": "3.0.0-alpha.4", | ||
"version": "3.0.0-alpha.5", | ||
"description": "Coordenates all async operations for Mendel", | ||
@@ -23,5 +23,5 @@ "main": "src/main.js", | ||
"mendel-config": "^3.0.0-alpha.1", | ||
"mendel-deps": "3.0.0-alpha.1", | ||
"mendel-deps": "3.0.0-alpha.5", | ||
"mendel-development": "^1.1.0", | ||
"mendel-resolver": "3.0.0-alpha.1", | ||
"mendel-resolver": "3.0.0-alpha.5", | ||
"node-libs-browser": "^2.0.0", | ||
@@ -28,0 +28,0 @@ "pretty-ms": "^2.1.0", |
@@ -93,4 +93,6 @@ const EventEmitter = require('events').EventEmitter; | ||
const entries = entryIds.map(entryId => this.getEntry(entryId)); | ||
entries.filter(Boolean).forEach(entry => { | ||
const entries = entryIds | ||
.map(entryId => this.getEntry(entryId)) | ||
.filter(Boolean); | ||
entries.forEach(entry => { | ||
const depNorms = dependencyGetter(entry); | ||
@@ -97,0 +99,0 @@ Array.prototype.push.apply(unvisitedNorms, depNorms); |
@@ -52,2 +52,3 @@ const BaseStep = require('../step'); | ||
this._virtual.clear(); | ||
this._canceled = true; | ||
} | ||
@@ -90,3 +91,6 @@ | ||
perform(entry) { | ||
if (this._gsts.length <= this._curGstIndex || isNodeModule(entry.id)) return this.gstDone(entry); | ||
this._canceled = false; | ||
if (this._gsts.length <= this._curGstIndex || isNodeModule(entry.id)) | ||
return this.gstDone(entry); | ||
this.performHelper(entry); | ||
@@ -107,3 +111,2 @@ } | ||
Array.from(variations.keys()) | ||
@@ -179,2 +182,3 @@ // Filter out undeclared (in config) variations | ||
.then(result => { | ||
if (this._canceled) return; | ||
if (result && result.source) { | ||
@@ -197,4 +201,4 @@ if (main.variation === variation) { | ||
} | ||
this.gstDone(main); | ||
}) | ||
.then(() => this.gstDone(main)) | ||
.catch((e) => { | ||
@@ -201,0 +205,0 @@ this.emit('error', e); |
150745
23
2602
+ Addedmendel-deps@3.0.0-alpha.5(transitive)
+ Addedmendel-resolver@3.0.0-alpha.5(transitive)
- Removedmendel-deps@3.0.0-alpha.1(transitive)
- Removedmendel-resolver@3.0.0-alpha.1(transitive)
Updatedmendel-deps@3.0.0-alpha.5