lastcall-gulp-drupal-tasks
Advanced tools
Comparing version 1.0.0-rc6 to 2.0.0
Development | ||
----------- | ||
1.0.0-rc6 | ||
--------- | ||
- Fix concat option for build:scss | ||
@@ -4,0 +7,0 @@ |
@@ -5,37 +5,5 @@ | ||
var config = { | ||
install: {}, | ||
check: {}, | ||
test: {}, | ||
build: {} | ||
}; | ||
if (input.bower) { | ||
config.install.bower = input.bower; | ||
} | ||
if (input.composer) { | ||
config.install.composer = input.composer; | ||
config.check.composer = input.composer; | ||
} | ||
if (input.phpcs) { | ||
config.check.phpcs = input.phpcs; | ||
} | ||
if (input.phplint) { | ||
config.check.phplint = input.phplint; | ||
} | ||
if (input.eslint) { | ||
config.check.eslint = input.eslint; | ||
} | ||
if (input.phpunit) { | ||
config.test.phpunit = input.phpunit; | ||
} | ||
if (input.behat) { | ||
config.test.behat = input.behat; | ||
} | ||
if (input.backstopjs) { | ||
config.test.backstopjs = input.backstopjs; | ||
} | ||
if (input.phantomas) { | ||
config.test.phantomas = input.phantomas; | ||
} | ||
if (input.scss) { | ||
@@ -42,0 +10,0 @@ config.build.scss = input.scss; |
var gutil = require('gulp-util'); | ||
var factories = { install: {}, check: {}, test: {}, build: {} }; | ||
factories.install.composer = require('./install/composer'); | ||
factories.install.bower = require('./install/bower'); | ||
var factories = { build: {} }; | ||
factories.check.composer = require('./check/composer'); | ||
factories.check.phplint = require('./check/phplint'); | ||
factories.check.phpcs = require('./check/phpcs'); | ||
factories.check.eslint = require('./check/eslint'); | ||
factories.test.behat = require('./test/behat'); | ||
factories.test.backstop = require('./test/backstop'); | ||
factories.test.phantomas = require('./test/phantomas'); | ||
factories.test.phpunit = require('./test/phpunit'); | ||
factories.build.scss = require('./build/scss'); | ||
@@ -19,0 +7,0 @@ factories.build.js = require('./build/js'); |
@@ -9,25 +9,4 @@ /* eslint-disable max-statements */ | ||
var config = Object.assign({ install: {}, check: {}, build: {}, test: {} }, config); | ||
var config = Object.assign({ build: {} }, config); | ||
if (config.install.bower) { | ||
helper.addDescribedTask(factories.install.bower(config.install.bower, opts)); | ||
} | ||
if (config.install.composer) { | ||
helper.addDescribedTask(factories.install.composer(config.install.composer, opts)); | ||
} | ||
if (config.check.composer) { | ||
helper.addDescribedTask(factories.check.composer(config.check.composer, opts)); | ||
} | ||
if (config.check.phplint) { | ||
helper.addDescribedTask(factories.check.phplint(config.check.phplint, opts)); | ||
} | ||
if (config.check.phpcs) { | ||
helper.addDescribedTask(factories.check.phpcs(config.check.phpcs, opts)); | ||
} | ||
if (config.check.eslint) { | ||
helper.addDescribedTask(factories.check.eslint(config.check.eslint, opts)); | ||
} | ||
if (config.build.scss) { | ||
@@ -43,16 +22,2 @@ helper.addSubtasks(factories.build.scss, config.build.scss, opts); | ||
if (config.test.behat) { | ||
helper.addDescribedTask(factories.test.behat(config.test.behat, opts)); | ||
} | ||
if (config.test.backstopjs) { | ||
helper.addDescribedTask(factories.test.backstop(config.test.backstopjs, opts)); | ||
} | ||
if (config.test.phantomas) { | ||
helper.addDescribedTask(factories.test.phantomas(config.test.phantomas, opts)); | ||
} | ||
if (config.test.phpunit) { | ||
helper.addDescribedTask(factories.test.phpunit(config.test.phpunit, opts)); | ||
} | ||
helper.addMetaTask('install', 'Run all install tasks.', true); | ||
helper.addMetaTask('build:scss', 'Build CSS from SCSS'); | ||
@@ -62,4 +27,2 @@ helper.addMetaTask('build:js', 'Build JS files'); | ||
helper.addMetaTask('build', 'Run all build tasks.', true); | ||
helper.addMetaTask('check', 'Run all check tasks.', true); | ||
helper.addMetaTask('test', 'Run all test steps.', true); | ||
@@ -70,6 +33,2 @@ var buildWatch = factories.watch(gulp, 'build', opts, 'Build and watch assets for changes'); | ||
} | ||
var checkWatch = factories.watch(gulp, 'check', opts, 'Check and watch files for syntax issues'); | ||
if (checkWatch._watched.length) { | ||
helper.addDescribedTask(checkWatch, checkWatch._watched); | ||
} | ||
var watch = factories.watch(gulp, '', opts, 'Build, check and watch files for changes'); | ||
@@ -76,0 +35,0 @@ if (watch._watched.length) { |
{ | ||
"name": "lastcall-gulp-drupal-tasks", | ||
"version": "1.0.0-rc6", | ||
"version": "2.0.0", | ||
"description": "Gulp Drupal Tasks", | ||
@@ -23,3 +23,2 @@ "repository": "LastCallMedia/gulp-drupal-tasks", | ||
"gulp-imagemin": "^3.1.1", | ||
"ip": "^1.1.5", | ||
"istanbul": "^0.4.5", | ||
@@ -32,3 +31,2 @@ "mocha": "^3.2.0", | ||
"dependencies": { | ||
"bower": "^1.8.0", | ||
"gulp": "^3.9.1", | ||
@@ -38,19 +36,10 @@ "gulp-autoprefixer": "^3.1.1", | ||
"gulp-csso": "^2.0.0", | ||
"gulp-eslint": "^3.0.1", | ||
"gulp-help": "^1.6.1", | ||
"gulp-if": "^2.0.2", | ||
"gulp-minify": "0.0.15", | ||
"gulp-phpcs": "^1.4.0", | ||
"gulp-sass": "^3.1.0", | ||
"gulp-sourcemaps": "^2.4.0", | ||
"gulp-util": "^3.0.8", | ||
"merge-stream": "^1.0.1", | ||
"mkdir-recursive": "^0.3.0", | ||
"node-sass-tilde-importer": "0.0.4", | ||
"npm-which": "^3.0.1", | ||
"phantomas": "git+https://github.com/macbre/phantomas.git#ce863710ec8ef7402e0967d0be793819cdddd486", | ||
"phplint": "^1.7.1", | ||
"through2": "^2.0.3", | ||
"which": "^1.2.12" | ||
"through2": "^2.0.3" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11
9
1
0
1
1
31546
12
292
+ Addedrimraf@2.7.1(transitive)
- Removedbower@^1.8.0
- Removedgulp-eslint@^3.0.1
- Removedgulp-if@^2.0.2
- Removedgulp-phpcs@^1.4.0
- Removedmerge-stream@^1.0.1
- Removedmkdir-recursive@^0.3.0
- Removednpm-which@^3.0.1
- Removedphantomas@git+https://github.com/macbre/phantomas.git#ce863710ec8ef7402e0967d0be793819cdddd486
- Removedphplint@^1.7.1
- Removedwhich@^1.2.12
- Removedacorn@3.3.0(transitive)
- Removedacorn-jsx@3.0.1(transitive)
- Removedajv@4.11.8(transitive)
- Removedajv-keywords@1.5.1(transitive)
- Removedansi-escapes@1.4.0(transitive)
- Removedansi-regex@3.0.1(transitive)
- Removedargparse@1.0.10(transitive)
- Removedarray-union@1.0.2(transitive)
- Removedarrify@1.0.1(transitive)
- Removedasync@1.5.2(transitive)
- Removedbabel-code-frame@6.26.0(transitive)
- Removedbower@1.8.14(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedbufferstreams@1.1.3(transitive)
- Removedcache-swap@0.3.0(transitive)
- Removedcall-bind@1.0.8(transitive)
- Removedcall-bind-apply-helpers@1.0.2(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedcaller-path@0.1.0(transitive)
- Removedcallsites@0.2.0(transitive)
- Removedcircular-json@0.3.3(transitive)
- Removedcli-cursor@1.0.2(transitive)
- Removedcli-width@2.2.1(transitive)
- Removedco@4.6.0(transitive)
- Removedcommander@2.20.3(transitive)
- Removedconcat-stream@1.6.2(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddoctrine@2.1.0(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedduplexify@3.7.1(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.1.1(transitive)
- Removedes6-map@0.1.5(transitive)
- Removedes6-set@0.1.6(transitive)
- Removedescope@3.6.0(transitive)
- Removedeslint@3.19.0(transitive)
- Removedespree@3.5.4(transitive)
- Removedesprima@4.0.1(transitive)
- Removedesquery@1.6.0(transitive)
- Removedesrecurse@4.3.0(transitive)
- Removedestraverse@4.3.05.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedexit-hook@1.1.1(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedfigures@1.7.0(transitive)
- Removedfile-entry-cache@2.0.0(transitive)
- Removedflat-cache@1.3.4(transitive)
- Removedfork-stream@0.0.4(transitive)
- Removedgenerate-function@2.3.1(transitive)
- Removedgenerate-object-property@1.2.0(transitive)
- Removedget-intrinsic@1.2.7(transitive)
- Removedget-proto@1.0.1(transitive)
- Removedglob@5.0.15(transitive)
- Removedglobals@9.18.0(transitive)
- Removedglobby@3.0.1(transitive)
- Removedgopd@1.2.0(transitive)
- Removedgulp-eslint@3.0.1(transitive)
- Removedgulp-if@2.0.2(transitive)
- Removedgulp-match@1.1.0(transitive)
- Removedgulp-phpcs@1.4.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedignore@3.3.10(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedinquirer@0.12.0(transitive)
- Removedis-my-ip-valid@1.0.1(transitive)
- Removedis-my-json-valid@2.20.6(transitive)
- Removedis-property@1.0.2(transitive)
- Removedis-resolvable@1.1.0(transitive)
- Removedisarray@2.0.5(transitive)
- Removedjs-tokens@3.0.2(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedjson-stable-stringify@1.2.1(transitive)
- Removedjsonify@0.0.1(transitive)
- Removedjsonpointer@5.0.1(transitive)
- Removedlevn@0.3.0(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedmerge-stream@1.0.1(transitive)
- Removedmkdir-recursive@0.3.0(transitive)
- Removedmute-stream@0.0.5(transitive)
- Removednatural-compare@1.4.0(transitive)
- Removednpm-path@2.0.4(transitive)
- Removednpm-which@3.0.1(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedonetime@1.1.0(transitive)
- Removedoptionator@0.8.3(transitive)
- Removedpath-is-inside@1.0.2(transitive)
- Removedphplint@1.7.4(transitive)
- Removedpinkie@1.0.0(transitive)
- Removedpinkie-promise@1.0.0(transitive)
- Removedpluralize@1.2.1(transitive)
- Removedprelude-ls@1.1.2(transitive)
- Removedprogress@1.1.8(transitive)
- Removedreadline2@1.0.1(transitive)
- Removedrequire-uncached@1.0.3(transitive)
- Removedresolve-from@1.0.1(transitive)
- Removedrestore-cursor@1.0.1(transitive)
- Removedrimraf@2.6.3(transitive)
- Removedrun-async@0.1.0(transitive)
- Removedrx-lite@3.1.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedshelljs@0.7.8(transitive)
- Removedslice-ansi@0.0.4(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedstream-shift@1.0.3(transitive)
- Removedstring-width@2.1.1(transitive)
- Removedstrip-ansi@4.0.0(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
- Removedtable@3.8.3(transitive)
- Removedternary-stream@2.1.1(transitive)
- Removedtext-table@0.2.0(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtype-check@0.3.2(transitive)
- Removedtypedarray@0.0.6(transitive)
- Removeduser-home@2.0.0(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedwrite@0.2.1(transitive)