ts-repo-utils
    Preparing search index...
    • Executes a npm script command across all workspace packages in parallel. Uses fail-fast behavior - stops execution immediately when any package fails.

      Parameters

      • options: Readonly<
            {
                cmd: string;
                concurrency?: number;
                filterWorkspacePattern?: (packageName: string) => boolean;
                rootPackageJsonDir: string;
            },
        >

        Configuration options for the parallel execution

        • rootPackageJsonDir

          The directory containing the root package.json file

        • cmd

          The npm script command to execute in each package

        • concurrency

          Maximum number of packages to process simultaneously (default: 3)

        • filterWorkspacePattern

          Optional function to filter packages by name

      Returns Promise<void>

      A promise that resolves when all packages have completed execution successfully, or rejects immediately on first failure