Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(schematics): Remove peer dependencies on Angular DevKit #1222

Merged
merged 1 commit into from
Aug 1, 2018

Conversation

brandonroberts
Copy link
Member

The peer dependencies prevent you from using ng update since they are pinned to specific versions. We'll verify the schematics work across versions and rely on the dependencies provided implicitly with the CLI

Closes #1206

@@ -24,9 +24,5 @@
"ng-update": {
"packageGroup": "NG_UPDATE_PACKAGE_GROUP",
"migrations": "NG_UPDATE_MIGRATIONS"
},
"peerDependencies": {
"@angular-devkit/core": "NG_DEVKIT_VERSION",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the only place where we were using NG_DEVKIT_VERSION, thus we could also remove it from defaults.bzl.

The peer dependencies prevent you from using `ng update` since they are pinned to specific versions. We'll verify the schematics work across versions and rely on the dependencies provided implicitly with the CLI

Closes #1206
@brandonroberts brandonroberts merged commit fd3da16 into master Aug 1, 2018
@brandonroberts brandonroberts deleted the schematics-peer-deps branch August 1, 2018 20:20
@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.618% when pulling 9a41cfc on schematics-peer-deps into 73d32eb on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants