diff --git a/src/prepare.ts b/src/prepare.ts index 575e2c13..b7210d99 100644 --- a/src/prepare.ts +++ b/src/prepare.ts @@ -29,7 +29,7 @@ export async function prepare( ? [ "workspaces", "foreach", - "--worktree", + "--all", "--topological", "--verbose", "--no-private", diff --git a/src/publish.ts b/src/publish.ts index 56113915..c1ea53ef 100644 --- a/src/publish.ts +++ b/src/publish.ts @@ -35,7 +35,7 @@ export async function publish( ? [ "workspaces", "foreach", - "--worktree", + "--all", "--topological", "--verbose", "--no-private",