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

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

Next, started updating gulpfile.js with new syntax. Followed helpful guides:

[https://teamtreehouse.com/community/gulp-basics-how-to-update-from-gulp-3-to-gulp-4]

[https://gist.github.com/jeromecoupe/0b807b0c1050647eb340360902c3203a]

[https://codeburst.io/switching-to-gulp-4-0-271ae63530c0]

You can find my changes in [WIP] SENSSOFT-323 branch.

Build ran with no errors–all tasks finished. However, noting that tests don't 
print, but test tasks finished (in ms, not s–way too fast). I realized that 
tests and our entire logging apparatus is likely flat bust.

Checking builds--userale-1.1.0.js builds, but userale-1.1.0.min.js is NOT 
building. Notably, all of [~rf]'s original gulp.task(s) with chained tasks are 
in the minified userale.js build pipeline.

*This means that the places where the build script is breaking is exactly where 
I moved chained tasks to gulp.series or gulp.parallel tasking.* 

 


was (Author: poor...@me.com):
Next, started updating gulpfile.js with new syntax. Followed helpful guides:

[https://teamtreehouse.com/community/gulp-basics-how-to-update-from-gulp-3-to-gulp-4]

[https://gist.github.com/jeromecoupe/0b807b0c1050647eb340360902c3203a]

[https://codeburst.io/switching-to-gulp-4-0-271ae63530c0]

You can find my changes in [WIP] SENSSOFT-323 branch.

Build ran with no errors–all tasks finished. However, noting that tests don't 
print, but test tasks finished (in ms, not s–way too fast). I realized that 
tests and our entire logging apparatus is likely flat bust.

 

> 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