diff --git a/internal/action/action.go b/internal/action/action.go index 4945ebe..c173f72 100644 --- a/internal/action/action.go +++ b/internal/action/action.go @@ -81,7 +81,7 @@ func (a *action) Contains(filename string) bool { } func (a *action) buildPackage() error { - cmd := exec.Command("pnpm", "exec", "nx", "run-many", "--target", "build") + cmd := exec.Command("pnpm", "exec", "nx", "run", fmt.Sprintf("%s:build", a.packageInfo.Name)) cmd.Dir = a.packageInfo.Path // get relative path