Skip to content

Commit 526b519

Browse files
clydinhansl
authored andcommitted
refactor(@angular/cli): remove ajv peer warning suppression
1 parent f3148bc commit 526b519

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

package-lock.json

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"@angular-devkit/schematics": "0.5.0",
4747
"@schematics/angular": "0.5.0",
4848
"@schematics/update": "0.5.0",
49-
"ajv": "^6.1.1",
5049
"chalk": "~2.2.0",
5150
"common-tags": "^1.3.1",
5251
"core-object": "^3.1.0",
@@ -74,6 +73,7 @@
7473
"@types/node": "^8.9.1",
7574
"@types/request": "~2.0.0",
7675
"@types/semver": "^5.3.30",
76+
"ajv": "^6.1.1",
7777
"conventional-changelog": "1.1.0",
7878
"eslint": "^3.11.0",
7979
"express": "^4.14.0",

packages/@angular/cli/lib/cli/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
// TODO: remove this commented AJV require.
2-
// We don't actually require AJV, but there is a bug with NPM and peer dependencies that is
3-
// whose workaround is to depend on AJV.
4-
// See https://github.com/angular/angular-cli/issues/9691#issuecomment-367322703 for details.
5-
// We need to add a require here to satisfy the dependency checker.
6-
// require('ajv');
7-
81
import * as path from 'path';
92

103
const cli = require('../../ember-cli/lib/cli');

packages/@angular/cli/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"@angular-devkit/schematics": "0.5.0",
3333
"@schematics/angular": "0.5.0",
3434
"@schematics/update": "0.5.0",
35-
"ajv": "^6.1.1",
3635
"chalk": "~2.2.0",
3736
"common-tags": "^1.3.1",
3837
"core-object": "^3.1.0",

0 commit comments

Comments
 (0)