feat(@angular/cli): add aube as supported package manager - #34058
feat(@angular/cli): add aube as supported package manager#34058santoshyadavdev wants to merge 1 commit into
Conversation
…h a new workspace and the app works fine
There was a problem hiding this comment.
Code Review
This pull request introduces support for a new package manager named 'aube' across the Angular CLI, including schema updates, lockfile discovery, package manager descriptors, and e2e test utilities. The feedback suggests adjusting the package manager precedence to place 'bun' above 'aube' since 'bun' is more widely established.
| export const PACKAGE_MANAGER_PRECEDENCE: readonly PackageManagerName[] = [ | ||
| 'pnpm', | ||
| 'yarn', | ||
| 'aube', | ||
| 'bun', | ||
| 'npm', | ||
| ]; |
There was a problem hiding this comment.
Since bun is a significantly more established and widely used package manager in the community compared to aube, it is safer to place bun higher in the precedence list. If a project contains both bun.lockb and aube-lock.yaml, bun is much more likely to be the intended primary package manager.
| export const PACKAGE_MANAGER_PRECEDENCE: readonly PackageManagerName[] = [ | |
| 'pnpm', | |
| 'yarn', | |
| 'aube', | |
| 'bun', | |
| 'npm', | |
| ]; | |
| export const PACKAGE_MANAGER_PRECEDENCE: readonly PackageManagerName[] = [ | |
| 'pnpm', | |
| 'yarn', | |
| 'bun', | |
| 'aube', | |
| 'npm', | |
| ]; |
|
Thanks for raising this! Whlist |
Add support for the aube package manager, a Rust-based Node.js package manager that is fully compatible with the npm ecosystem.
Aube is a drop-in replacement for npm/pnpm/yarn/bun that focuses on speed, automatic installs before script execution, and cross-project package deduplication via a content-addressable store.
Key characteristics:
aubeaube-lock.yamlaube add,aube install,aube view --json,aube list --json.npmrc(shared with npm/pnpm)parseNpmLike*parsers are reusedChanges:
aubedescriptor toSUPPORTED_PACKAGE_MANAGERSinpackage-manager-descriptor.tsaubetoPACKAGE_MANAGER_PRECEDENCEworkspace-schema.json) — bothcliOptionsandcliGlobalOptionsng-new/schema.jsonandworkspace/schema.jsonschematics@angular/createto detect aube fromnpm_config_user_agentTesting:
bazel test //packages/angular/cli:test— PASSED)aube-lock.yamlCloses #34057