[
https://issues.apache.org/jira/browse/CAMEL-15249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17147340#comment-17147340
]
Aemie commented on CAMEL-15249:
-------------------------------
[~zregvart] I tried working with workspaces by adding workspaces of
antora-ui-camel and installing all the dependencies, so when I run `yarn
workspaces run build` where `workspaces: ['antora-ui-camel']`, it ran into some
errors which I could resolve but it keeps being stuck at the error `Unknown
module: algoliasearch not found` when it's clearly installed.
> 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)