From 03e1aa7904acfe9d12eaf3717d1b136159893a76 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Thu, 25 Jan 2024 12:45:28 +0000 Subject: [PATCH] feat(@schematics/angular): add support to `bun` package manager This commit adds support to use `bun` as a package manager. Closes #26837 --- packages/schematics/angular/ng-new/schema.json | 2 +- packages/schematics/angular/workspace/schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/schematics/angular/ng-new/schema.json b/packages/schematics/angular/ng-new/schema.json index 01be5be820b8..0c776b709542 100644 --- a/packages/schematics/angular/ng-new/schema.json +++ b/packages/schematics/angular/ng-new/schema.json @@ -132,7 +132,7 @@ "packageManager": { "description": "The package manager used to install dependencies.", "type": "string", - "enum": ["npm", "yarn", "pnpm", "cnpm"] + "enum": ["npm", "yarn", "pnpm", "cnpm", "bun"] }, "standalone": { "description": "Creates an application based upon the standalone API, without NgModules.", diff --git a/packages/schematics/angular/workspace/schema.json b/packages/schematics/angular/workspace/schema.json index 4944eddf14fd..426e49aefb4a 100644 --- a/packages/schematics/angular/workspace/schema.json +++ b/packages/schematics/angular/workspace/schema.json @@ -40,7 +40,7 @@ "packageManager": { "description": "The package manager used to install dependencies.", "type": "string", - "enum": ["npm", "yarn", "pnpm", "cnpm"] + "enum": ["npm", "yarn", "pnpm", "cnpm", "bun"] } }, "required": ["name", "version"]