Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/schematics/angular/application/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
"description": "The unit testing runner to use.",
"type": "string",
"enum": ["vitest", "karma"],
"default": "vitest"
"default": "vitest",
"x-deprecated": "New projects will only be configured with Vitest in a future version."
},
"skipPackageJson": {
"type": "boolean",
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/library/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"description": "The unit testing runner to use.",
"type": "string",
"enum": ["vitest", "karma"],
"default": "vitest"
"default": "vitest",
"x-deprecated": "New projects will only be configured with Vitest in a future version."
}
},
"required": ["name"]
Expand Down
2 changes: 1 addition & 1 deletion packages/schematics/angular/ng-new/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function (options: NgNewOptions): Rule {
routing: options.routing,
style: options.style,
skipTests: options.skipTests,
testRunner: options.testRunner,
testRunner: options.testRunner === TestRunner.Karma ? TestRunner.Karma : undefined,
skipPackageJson: false,
// always 'skipInstall' here, so that we do it after the move
skipInstall: true,
Expand Down
3 changes: 2 additions & 1 deletion packages/schematics/angular/ng-new/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
"description": "The unit testing runner to use.",
"type": "string",
"enum": ["vitest", "karma"],
"default": "vitest"
"default": "vitest",
"x-deprecated": "New projects will only be configured with Vitest in a future version."
},
"createApplication": {
"description": "Create a new initial application project in the new workspace. When false, creates an empty workspace with no initial application. You can then use the `ng generate application` command to create applications in the `projects` directory.",
Expand Down
Loading