Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/frontend build files cleanup #3101

Merged
merged 5 commits into from
Apr 16, 2019

Conversation

achen2401
Copy link
Contributor

@achen2401 achen2401 commented Apr 2, 2019

address TN-1952
address security vulnerability warnings generated when building frontend files. Run npm audit will give details as to what they are and what packages are affected.
Changes include:
remove unused packages from package json
upgrade gulp to version 4 as version 4 addressed vulnerabilities as listed from running audit
note, this is a breaking change as syntax changes are involved for specifying a task to run.
@ivan-c Ivan, do you want to give this a try and see if anything breaks for you?
One thing I had to do is to do a clean up existing installs npm prune --production and then remove the node_modules folder completely - before proceeding to do a rebuild. This is to prevent incompatible packages (i.e. for gulp) to coexist.
do not merge yet

@achen2401 achen2401 requested a review from ivan-c April 2, 2019 18:40
@ivan-c ivan-c added this to the TN Sprint 27 milestone Apr 3, 2019
@ivan-c
Copy link
Member

ivan-c commented Apr 11, 2019

@achen2401 When you get a chance, could you fix the merge conflicts?
Would love to try this out with i18n now :)

Thanks!

@achen2401
Copy link
Contributor Author

@ivan-c Ivan, conflict should be resolved. I did try this out again in my instance just to make sure the build processes (e.g. frontend files and translations) run successful. But let me know if you see or run into any issue.

Copy link
Member

@ivan-c ivan-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a few suggestions; i18n changes generally look good (ready to merge), I'll let you know if I find any regressions from Warren's testing

Thanks for taking the time to clean this up!

portal/package.json Outdated Show resolved Hide resolved
portal/development_gulpfile.js Outdated Show resolved Hide resolved
portal/development_gulpfile.js Outdated Show resolved Hide resolved
Copy link
Member

@ivan-c ivan-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Merge whenever you're ready @achen2401 (wasn't sure if still WIP)

@achen2401 achen2401 changed the title WIP: Feature/frontend build files cleanup Feature/frontend build files cleanup Apr 16, 2019
@achen2401 achen2401 merged commit 00b106c into develop Apr 16, 2019
@ivan-c ivan-c deleted the feature/frontend-build-files-cleanup branch April 17, 2019 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants