Skip to content

Commit d480921

Browse files
clydinhansl
authored andcommitted
fix(@schematics/angular): use updated CLI config schema
1 parent f353fed commit d480921

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/schematics/angular/migrations/update-6/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function migrateConfiguration(oldConfig: CliConfig): Rule {
7373
const configPath = normalize('angular.json');
7474
context.logger.info(`Updating configuration`);
7575
const config: JsonObject = {
76-
'$schema': './node_modules/@angular-devkit/core/src/workspace/workspace-schema.json',
76+
'$schema': './node_modules/@angular/cli/lib/config/schema.json',
7777
version: 1,
7878
newProjectRoot: 'projects',
7979
projects: extractProjectsConfig(oldConfig, host),

packages/schematics/angular/workspace/files/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
44
"newProjectRoot": "<%= newProjectRoot %>",
55
"projects": {}

0 commit comments

Comments
 (0)