In Yarn 1, yarn workspaces run build
would use the order specified in the workspaces
field of the package.json
file to build each package.
For example, if I had the order specified like this:
"workspaces": {
"packages" [
"packages/c",
"packages/b",
Then packages/c
would be built before packages/b
.
In Yarn 3, packages/b
is being built before packages/c
which won't work as I need packages/c
to be built before everything else.
Is there a way around this?