From c4060e745d3742f75bd3ec5bba9c26d7acc1eef3 Mon Sep 17 00:00:00 2001 From: "Caio O. Salchesttes" <36902646+caioSalchesttes@users.noreply.github.com> Date: Sun, 30 Jul 2023 19:39:38 -0300 Subject: [PATCH 1/2] Update start.ts Added a new 'angular-standalone' option to the list of starter project types. This option allows the creation of standalone Angular projects, distinct from other templates. Modifications were made to the getStarterProjectTypes function to include this new project type. --- packages/@ionic/cli/src/lib/start.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/@ionic/cli/src/lib/start.ts b/packages/@ionic/cli/src/lib/start.ts index cf0a68d04..7a51ecd40 100644 --- a/packages/@ionic/cli/src/lib/start.ts +++ b/packages/@ionic/cli/src/lib/start.ts @@ -179,7 +179,10 @@ export async function getStarterList(config: IConfig, tag = 'latest'): Promise t.projectType)); + return lodash.uniq([ + ...STARTER_TEMPLATES.map(t => t.projectType), + 'angular-standalone' // Adicione a opção standalone aqui + ]); } export interface SupportedFramework { From ddb421b12af3c5c22cd175f96d27cecb2f435f16 Mon Sep 17 00:00:00 2001 From: "Caio O. Salchesttes" <36902646+caioSalchesttes@users.noreply.github.com> Date: Sun, 30 Jul 2023 19:40:37 -0300 Subject: [PATCH 2/2] Update start.ts --- packages/@ionic/cli/src/lib/start.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@ionic/cli/src/lib/start.ts b/packages/@ionic/cli/src/lib/start.ts index 7a51ecd40..c17006112 100644 --- a/packages/@ionic/cli/src/lib/start.ts +++ b/packages/@ionic/cli/src/lib/start.ts @@ -181,7 +181,7 @@ export async function getStarterList(config: IConfig, tag = 'latest'): Promise t.projectType), - 'angular-standalone' // Adicione a opção standalone aqui + 'angular-standalone' ]); }