From 3f0c52371fc9d76f4a4a242ec20286c8c74e6c83 Mon Sep 17 00:00:00 2001 From: Daniel Kucal Date: Wed, 14 Jul 2021 15:20:45 +0200 Subject: [PATCH] Allow newer major Angular versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now, when trying to `ng update` to versions > 8, developers will get the following console error: > Package "angular-ga" has an incompatible peer dependency to "@angular/core" (requires "^8.0.0" (extended), would install "12.1.1"). > ✖ Migration failed: Incompatible peer dependencies found. This PR resolves this. Please create a new npm release as well. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4d5696c..ba2da01 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "ganalytics" ], "peerDependencies": { - "@angular/core": "^8.0.0" + "@angular/core": ">= 8.0.0" }, "devDependencies": { "@angular/common": "^8.0.0",