You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2022/04/09 07:12:00 UTC

[jira] [Updated] (OFBIZ-12596) Update npm dependencies to the latest

     [ https://issues.apache.org/jira/browse/OFBIZ-12596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-12596:
------------------------------------
    Description: 
h2. This is an umbrella task for its action subtasks, please do not close, thanks.

Following this discussion https://lists.apache.org/thread/onjty9ywxfq3rbjwo6kn87ys3nzkqzxc I created this umbrella task on the model of OFBIZ-10213

We want to check from time to time if we need to update the npm dependencies.

It's easily done with the npm-check-updates which analyzes the dependencies and checks if there are newer versions available.

Running the check in in themes\common-theme\webapp\common-theme\js  with

{code}
npx npm-check-updates
{code}

We get a list of dependencies to update. They can be easily updated using
{code}
npx npm-check-updates -u
{code}

Committers then need to check if all is OK before pushing to the repo.

> Update npm dependencies to the latest
> -------------------------------------
>
>                 Key: OFBIZ-12596
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12596
>             Project: OFBiz
>          Issue Type: Task
>          Components: npm
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>
> h2. This is an umbrella task for its action subtasks, please do not close, thanks.
> Following this discussion https://lists.apache.org/thread/onjty9ywxfq3rbjwo6kn87ys3nzkqzxc I created this umbrella task on the model of OFBIZ-10213
> We want to check from time to time if we need to update the npm dependencies.
> It's easily done with the npm-check-updates which analyzes the dependencies and checks if there are newer versions available.
> Running the check in in themes\common-theme\webapp\common-theme\js  with
> {code}
> npx npm-check-updates
> {code}
> We get a list of dependencies to update. They can be easily updated using
> {code}
> npx npm-check-updates -u
> {code}
> Committers then need to check if all is OK before pushing to the repo.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)