Skip to content

Commit e243e07

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 d7feb2f commit e243e07

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
@@ -213,7 +213,6 @@ export const SUPPORTED_PACKAGE_MANAGERS = {
213213
versionCommand: ['--version'],
214214
listDependenciesCommand: ['pm', 'ls', '--json'],
215215
getManifestCommand: ['pm', 'view', '--json'],
216-
viewCommandFieldArgFormatter: (fields) => [...fields],
217216
outputParsers: {
218217
listDependencies: parseNpmLikeDependencies,
219218
getRegistryManifest: parseNpmLikeManifest,

0 commit comments

Comments
 (0)