[
https://issues.apache.org/jira/browse/CAMEL-15249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17147110#comment-17147110
]
Zoran Regvart commented on CAMEL-15249:
---------------------------------------
I respectfully disagree with the analogy, I think Yarn workspaces are very well
suited for this use case. There are also [further
benefits|https://classic.yarnpkg.com/en/docs/workspaces/#toc-why-would-you-want-to-do-this]
in using workspaces with regards to using a single lock file and optimizing
downloads, potentially making the build faster. Also I would not introduce a
dependency on npm, we're using yarn exclusively.
> Utilize yarn workspaces
> -----------------------
>
> Key: CAMEL-15249
> URL: https://issues.apache.org/jira/browse/CAMEL-15249
> Project: Camel
> Issue Type: Improvement
> Components: website
> Reporter: Zoran Regvart
> Priority: Major
>
> To make the build simpler, i.e. that we just need to run {{yarn}} followed by
> {{yarn build}} we can utilize [Yarn
> workspaces|https://classic.yarnpkg.com/en/docs/workspaces/]. By using
> workspaces we would not need to change into {{antora-ui-camel}} and build
> there, but the Antora UI would be built as a dependency/module of the
> workspace.
> Perhaps we can even make it so that we only need to run {{yarn}} (not so sure
> this is a good idea) or we only need to run {{yarn build}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)