Hi David,

On Wed, Sep 1, 2021 at 8:42 AM David Jencks <david.a.jen...@gmail.com> wrote:
>
> With  both the CI build for my PR and locally, `yarn build-all` is building 
> the UI after the main build command.  Obviously this doesn’t work.

Can you point to the CI build that does that so I can have a look?

> Can someone point to a situation in which the UI is built before it is used?  
> Any ideas why yarn is picking this dysfunctional workspace build order?

The `build-all` runs `yarn workspaces foreach --topological-dev run
build`, the `--topological-dev`[1] should guarantee proper order given
that the `antora-ui-camel` is a devDependency of
`apache-camel-website`. Or am I missing something?

zoran

[1] https://yarnpkg.com/cli/workspaces/foreach#options-topological-dev
-- 
Zoran Regvart

Reply via email to