diff --git a/packages/schematics/angular/migrations/update-9/update-dependencies.ts b/packages/schematics/angular/migrations/update-9/update-dependencies.ts index 301511f653b3..41456d0087c5 100644 --- a/packages/schematics/angular/migrations/update-9/update-dependencies.ts +++ b/packages/schematics/angular/migrations/update-9/update-dependencies.ts @@ -19,6 +19,7 @@ export function updateDependencies() { 'zone.js': latestVersions.ZoneJs, 'ng-packagr': latestVersions.ngPackagr, 'web-animations-js': '^2.3.2', + 'codelyzer': '^5.1.2', }; for (const [name, version] of Object.entries(dependenciesToUpdate)) { diff --git a/packages/schematics/angular/workspace/files/package.json.template b/packages/schematics/angular/workspace/files/package.json.template index ab9ca49e228d..b68d512f46ac 100644 --- a/packages/schematics/angular/workspace/files/package.json.template +++ b/packages/schematics/angular/workspace/files/package.json.template @@ -30,7 +30,7 @@ "@types/node": "~8.9.4",<% if (!minimal) { %> "@types/jasmine": "~3.4.0", "@types/jasminewd2": "~2.0.3", - "codelyzer": "^5.1.0", + "codelyzer": "^5.1.2", "jasmine-core": "~3.4.0", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.2.0",