@trinitymirrordigital/cue-templates-plugin
Advanced tools
Comparing version 2.0.8-alpha.0 to 2.0.9-alpha.0
@@ -10,6 +10,6 @@ const { getComment, getName, getYml, outputYaml, processYml, startShell } = require('./helpers'); | ||
this.options = options; | ||
this.startShell = startShell(options.shellScript); // Passes path to start | ||
this.startShell = options.shellScript ? startShell(options.shellScript) : null; // Passes path to start | ||
this.started = false; | ||
const { mode } = this.options; | ||
this.dev = mode === 'development'; | ||
this.dev = mode === 'development' || options.noShell; | ||
} | ||
@@ -72,4 +72,5 @@ | ||
Promise.all(writingPromises).then(() => { | ||
if (this.dev) this.startShell(); | ||
if (this.dev && this.startShell) this.startShell(); | ||
}); | ||
@@ -76,0 +77,0 @@ this.started = true; |
{ | ||
"name": "@trinitymirrordigital/cue-templates-plugin", | ||
"version": "2.0.8-alpha.0", | ||
"version": "2.0.9-alpha.0", | ||
"description": "Webpack plugin to create cue component yml", | ||
@@ -42,3 +42,3 @@ "author": "Adrian Stainforth <adrian.stainforth@gmail.com>", | ||
}, | ||
"gitHead": "161aa41331e12dcaea7d48adf2c7d97d9bbe85f7", | ||
"gitHead": "166e3b4cad98a627b1856ed208fd6498c85919c5", | ||
"devDependencies": { | ||
@@ -45,0 +45,0 @@ "@trinitymirrordigital/dragonfly-jest-config": "^5.0.5", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12935