Skip to content

Commit ffe6fb9

Browse files
committed
fix(@schematics/angular): allow AI config prompt to be skipped without selecting a value
With this change, we allow the AI config prompt to be skipped by pressing "ENTER" without selecting "None" and it will default to "None". (cherry picked from commit 3a7b9fb)
1 parent 406cfa6 commit ffe6fb9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/schematics/angular/ai-config/schema.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"default": "none",
1313
"x-prompt": "Which AI tools do you want to configure with Angular best practices? https://angular.dev/ai/develop-with-ai",
1414
"description": "Specifies which AI tools to generate configuration files for. These file are used to improve the outputs of AI tools by following the best practices.",
15-
"minItems": 1,
1615
"items": {
1716
"type": "string",
1817
"enum": ["none", "gemini", "copilot", "claude", "cursor", "jetbrains", "windsurf"]
@@ -26,8 +25,7 @@
2625
"const": "none"
2726
}
2827
}
29-
},
30-
"required": ["tool"]
28+
}
3129
},
3230
"then": {
3331
"properties": {

0 commit comments

Comments
 (0)