You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "tbouron (via GitHub)" <gi...@apache.org> on 2024/03/19 08:01:33 UTC
[PR] Build the UI using `yarn` instead of `npm` [brooklyn-ui]
tbouron opened a new pull request, #384:
URL: https://github.com/apache/brooklyn-ui/pull/384
This allows for faster build as `yarn` downloads the dependencies once, then copies the files locally. So on repetitive builds like on Jenkins (or locally when during the development cycle) the step `yarn install` takes on average `0.34s` instead of aroudn `25s`. Multiple that by the number of UI modules we have, then you get the results below.
For instance, when building on my local machine (Mac M1) only the `ui-modules` folder, i.e. the command: `mvn clean install -rf :brooklyn-ui-utils`:
- using `npm`, the first build (i.e. no nodule_modules) takes `10:26 mins`. Subsequent builds take `6:29 mins`.
- using `yarn`, the first build (i.e. no nodule_modules) takes `08:34 mins`. Subsequent builds take `5:25 mins`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Build the UI using `yarn` instead of `npm` [brooklyn-ui]
Posted by "ahgittin (via GitHub)" <gi...@apache.org>.
ahgittin commented on PR #384:
URL: https://github.com/apache/brooklyn-ui/pull/384#issuecomment-2014845504
for me (also M1) it is now `6:44` for initial and `3:56` for subsequent - wow, what a difference!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Build the UI using `yarn` instead of `npm` [brooklyn-ui]
Posted by "ahgittin (via GitHub)" <gi...@apache.org>.
ahgittin commented on PR #384:
URL: https://github.com/apache/brooklyn-ui/pull/384#issuecomment-2014822945
awesome - merged
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Build the UI using `yarn` instead of `npm` [brooklyn-ui]
Posted by "asfgit (via GitHub)" <gi...@apache.org>.
asfgit merged PR #384:
URL: https://github.com/apache/brooklyn-ui/pull/384
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@brooklyn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org