Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3a7b9fb

Browse files
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".
1 parent 63f55af commit 3a7b9fb

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)

AltStyle によって変換されたページ (->オリジナル) /