Skip to content

Commit e6b2020

Browse files
committed
refactor(@angular/cli): adjust bun's manifest field formatter
Removes the `viewCommandFieldArgFormatter` from the `bun` package manager descriptor. While `bun` supports field-filtered registry views, it is limited to a single field at a time. The current package manager abstraction requires support for multiple fields. This change ensures that the package manager abstraction for `bun` is more accurate and avoids potential issues with unsupported command arguments.
1 parent 2177990 commit e6b2020

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/angular/cli/src/package-managers/package-manager-descriptor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ export const SUPPORTED_PACKAGE_MANAGERS = {
243243
versionCommand: ['--version'],
244244
listDependenciesCommand: ['pm', 'ls', '--json'],
245245
getManifestCommand: ['pm', 'view', '--json'],
246-
viewCommandFieldArgFormatter: (fields) => [...fields],
247246
outputParsers: {
248247
listDependencies: parseNpmLikeDependencies,
249248
getRegistryManifest: parseNpmLikeManifest,

0 commit comments

Comments
 (0)