Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions exec/build-modules/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
} from '@pnpm/types'
import pDefer, { type DeferredPromise } from 'p-defer'
import { pickBy } from 'ramda'
import runGroups from 'run-groups'
import { runGroups } from 'run-groups'
import { buildSequence, type DependenciesGraph, type DependenciesGraphNode } from './buildSequence.js'

export type { DepsStateCache }
Expand Down Expand Up @@ -94,7 +94,7 @@ export async function buildModules<T extends string> (
}
)
})
await runGroups.default(getWorkspaceConcurrency(opts.childConcurrency), groups)
await runGroups(getWorkspaceConcurrency(opts.childConcurrency), groups)
if (opts.ignoredBuiltDependencies?.length) {
// We already ignore the build of these dependencies.
// No need to report them.
Expand Down
4 changes: 2 additions & 2 deletions exec/lifecycle/src/runLifecycleHooksConcurrently.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import path from 'path'
import { fetchFromDir } from '@pnpm/directory-fetcher'
import { type StoreController } from '@pnpm/store-controller-types'
import { type ProjectManifest, type ProjectRootDir } from '@pnpm/types'
import runGroups from 'run-groups'
import { runGroups } from 'run-groups'
import { runLifecycleHook, type RunLifecycleHookOptions } from './runLifecycleHook.js'

export type RunLifecycleHooksConcurrentlyOptions = Omit<RunLifecycleHookOptions,
Expand Down Expand Up @@ -98,7 +98,7 @@ export async function runLifecycleHooksConcurrently (
}
)
})
await runGroups.default(childConcurrency, groups)
await runGroups(childConcurrency, groups)
}

async function scanDir (prefix: string, rootDir: string, currentDir: string, index: Record<string, string>): Promise<void> {
Expand Down
4 changes: 2 additions & 2 deletions exec/plugin-commands-rebuild/src/implementation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import * as dp from '@pnpm/dependency-path'
import { safeReadPackageJsonFromDir } from '@pnpm/read-package-json'
import { hardLinkDir } from '@pnpm/worker'
import { loadJsonFile } from 'load-json-file'
import runGroups from 'run-groups'
import { runGroups } from 'run-groups'
import { graphSequencer } from '@pnpm/deps.graph-sequencer'
import npa from '@pnpm/npm-package-arg'
import pLimit from 'p-limit'
Expand Down Expand Up @@ -442,7 +442,7 @@ async function _rebuild (
}
))

await runGroups.default(opts.childConcurrency || 5, groups)
await runGroups(opts.childConcurrency || 5, groups)

if (builtDepPaths.size > 0) {
// It may be optimized because some bins were already linked before running lifecycle scripts
Expand Down
42 changes: 29 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ catalog:
resolve-link-target: ^2.0.0
rimraf: ^6.0.1
root-link-target: ^3.1.0
run-groups: ^3.0.1
run-groups: ^4.0.0
rxjs: ^7.8.2
safe-buffer: 5.2.1
safe-execa: ^0.2.0
Expand Down Expand Up @@ -342,6 +342,7 @@ minimumReleaseAgeExclude:
- [email protected]
- [email protected]
- [email protected]
- [email protected]

nodeVersion: 20.19.4

Expand Down
Loading