Re: [pgAdmin][RM6207] Update JS dependencies - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: [pgAdmin][RM6207] Update JS dependencies
Date
Msg-id CANxoLDeAACqnFHf=kRxXSej5VdnvoUziZON27LTjVQnDdPcHWw@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM6207] Update JS dependencies  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Responses Re: [pgAdmin][RM6207] Update JS dependencies
List pgadmin-hackers
Hi Aditya

One jasmine test is failing, please fix that and resend the patch.

On Mon, Feb 8, 2021 at 5:07 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to update the JS dependencies to latest. Changes include:
1) Migrate from webpack 4 to webpack 5. This had a lot of breaking changes, so updated multiple webpack plugins and changed the config accordingly.
2) Replaced iconfont-webpack-plugin with a more maintained  webfonts-loader.
3)  Replaced deprecated babel-eslint with @babel/eslint-parser
4)  Replaced optimize-css-assets-webpack-plugin with a more maintained css-minimizer-webpack-plugin
5) Updated all other JS packages and made the required code changes.

Note, there is an update available for slickgrid and I tried to update it. But it was not working as expected. So without wasting time, I've not updated slickgrid, and can be updated as a separate task.

Please review.

--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Principal Software Architect
EDB Postgres
Mobile: +91 976-788-8246

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM5091] Option to hide Statistics, Dependencies, Dependants tab
Next
From: Nikhil Mohite
Date:
Subject: Re: [pgAdmin][RM-6157]: UI issue in delete records.