From 8157744c53e378c379b0bdedd480332b997f741a Mon Sep 17 00:00:00 2001 From: James Daniels Date: Wed, 6 Dec 2023 23:47:46 -0500 Subject: [PATCH] Default ng-deploy to production (#3474) --- src/schematics/ng-add.jasmine.ts | 8 ++++---- src/schematics/setup/index.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/schematics/ng-add.jasmine.ts b/src/schematics/ng-add.jasmine.ts index 3a9eec9a6..2b82f72fc 100644 --- a/src/schematics/ng-add.jasmine.ts +++ b/src/schematics/ng-add.jasmine.ts @@ -132,7 +132,7 @@ const initialAngularJson = `{ "production": {}, "development": {} }, - "defaultConfiguration": "development" + "defaultConfiguration": "production" } } }, @@ -196,7 +196,7 @@ const overwriteAngularJson = `{ "production": {}, "development": {} }, - "defaultConfiguration": "development" + "defaultConfiguration": "production" } } }, @@ -272,7 +272,7 @@ const projectAngularJson = `{ "production": {}, "development": {} }, - "defaultConfiguration": "development" + "defaultConfiguration": "production" } } }, @@ -294,7 +294,7 @@ const projectAngularJson = `{ "production": {}, "development": {} }, - "defaultConfiguration": "development" + "defaultConfiguration": "production" } } } diff --git a/src/schematics/setup/index.ts b/src/schematics/setup/index.ts index 11549fe1c..cf882e610 100644 --- a/src/schematics/setup/index.ts +++ b/src/schematics/setup/index.ts @@ -197,7 +197,7 @@ export const setupFirebase = (config: { serveTarget: options.serveTarget?.[1], } }, - defaultConfiguration: 'development', + defaultConfiguration: 'production', }; tree.overwrite(workspacePath, JSON.stringify(workspace, null, 2));