[ 
https://issues.apache.org/jira/browse/SENSSOFT-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741760#comment-16741760
 ] 

Joshua Poore edited comment on SENSSOFT-323 at 1/14/19 4:45 AM:
----------------------------------------------------------------

I figured that if I can't master the syntax, I should focus on logging so that 
we actually get error logs in the build pipeline where the gulp 4 syntax is 
breaking builds. Reading a little more–it looks like gulp-utilities is 
deprecated, and the gulp team intentionally moved away from them in v4 to avoid 
the bloat in the utility dependency tree. Means that some of our test 
dependencies and logging dependencies are flat bust too. I like gulp-mocha 
tests and found a gulp (4) -endorsed reference to a mocha test pipeline, which 
is similar to ours. 

[https://gulpjs.org/recipes/mocha-test-runner-with-gulp.html]

Updated logging to gulplog and followed guides, but I still can't get either 
tests to run or error logs to print. Run build and tests from SENSSOFT-323 
branch to see output.


was (Author: poor...@me.com):
Reading a little more–it looks like gulp-utilities is deprecated, and the gulp 
team intentionally moved away from them in v4 to avoid the bloat in the utility 
dependency tree. I like gulp-mocha tests and found a gulp-endorsed reference to 
a mocha test pipeline, which is similar to ours.

[https://gulpjs.org/recipes/mocha-test-runner-with-gulp.html]

Updated logging to gulplog and followed guides, but I still can't get either 
tests to run or error logs to print. Run build and tests from SENSSOFT-323 
branch to see output.

> Update to Gulp 4.0.0
> --------------------
>
>                 Key: SENSSOFT-323
>                 URL: https://issues.apache.org/jira/browse/SENSSOFT-323
>             Project: SensSoft
>          Issue Type: Task
>          Components: UserALE.js
>    Affects Versions: UserALE.js 1.1.0
>         Environment: NPM, Node.js
>            Reporter: Joshua Poore
>            Assignee: Joshua Poore
>            Priority: Major
>             Fix For: UserALE.js 1.0.0, UserALE.js 1.1.0
>
>
> Gulp 3.9.1 is deprecated and has vulnerable dependencies (which are also 
> deprecated). Gulp 4 solves all these issues. However, it has breaking changes 
> with new syntax and new dependences (e.g., moves away from gulp-utilities).
> Some relevant refs:
> [https://gist.github.com/jeromecoupe/0b807b0c1050647eb340360902c3203a]
> [https://www.npmjs.com/package/gulplog]
> [https://gulpjs.org/recipes/mocha-test-runner-with-gulp.html]
> [https://www.npmjs.com/package/gulp-mocha]
> [https://github.com/mochajs/mocha/tree/master/lib/reporters]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to