From 55686d38b5a83eb21d63cf8ab3fe810959fc9614 Mon Sep 17 00:00:00 2001 From: Sandeep Sharma <78212931+itssharmasandeep@users.noreply.github.com> Date: Wed, 18 Aug 2021 19:07:21 +0530 Subject: [PATCH] feat: upgrade to angular 12 and update peer dependencies (#307) upgrade to angular 12 and update peer dependencies --- package-lock.json | 14 ++++++++------ package.json | 6 +++--- projects/hyperdash-angular/package.json | 16 ++++++++-------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10a9828b..78409a9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,14 +7,11 @@ "": { "version": "0.0.0", "dependencies": { - "@angular/animations": "^12.2.1", "@angular/common": "^12.2.1", - "@angular/compiler": "^12.2.1", "@angular/core": "^12.2.1", "@angular/forms": "^12.2.1", "@angular/platform-browser": "^12.2.1", "@angular/platform-browser-dynamic": "^12.2.1", - "@angular/router": "^12.2.1", "@hypertrace/hyperdash": "^1.2.1", "core-js": "^3.16.2", "lodash-es": "^4.17.21", @@ -25,9 +22,12 @@ "devDependencies": { "@angular-builders/jest": "^12.0.0", "@angular-devkit/build-angular": "~12.2.1", + "@angular/animations": "^12.2.1", "@angular/cli": "^12.2.1", + "@angular/compiler": "^12.2.1", "@angular/compiler-cli": "^12.2.1", "@angular/language-service": "^12.2.1", + "@angular/router": "^12.2.1", "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@compodoc/compodoc": "^1.1.14", @@ -424,6 +424,7 @@ "version": "12.2.1", "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-12.2.1.tgz", "integrity": "sha512-SDsBBQG2AifuVyo+LUiqFLqzQ8ourO60NhkYGugC934lRqox2ZXmAooDBGMh74K7yrzIxMpbrMbL+qGv4OGpjw==", + "devOptional": true, "dependencies": { "tslib": "^2.2.0" }, @@ -682,6 +683,7 @@ "version": "12.2.1", "resolved": "https://registry.npmjs.org/@angular/router/-/router-12.2.1.tgz", "integrity": "sha512-dWQu+C8U8SMeWtOAl3AlfZxQYv68bisBB4uAuPXoyXiLtHgGclyzu1QZVPXTkoiyGv+odrqX8LaG/eQtbU0G8Q==", + "dev": true, "dependencies": { "tslib": "^2.2.0" }, @@ -34204,9 +34206,7 @@ "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.0.tgz", "integrity": "sha512-USH2jBb+C/hIpwD2iRjp0pe0k+MvzG0mlSn/FIdCgQhUb9ALPRjt2KIQdfZDS9r0ZIeUAg7gOu9KL0PFqGqr5Q==", "dev": true, - "requires": { - "ajv": "^8.0.0" - } + "requires": {} }, "json-schema-traverse": { "version": "1.0.0", @@ -34231,6 +34231,7 @@ "version": "12.2.1", "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-12.2.1.tgz", "integrity": "sha512-SDsBBQG2AifuVyo+LUiqFLqzQ8ourO60NhkYGugC934lRqox2ZXmAooDBGMh74K7yrzIxMpbrMbL+qGv4OGpjw==", + "devOptional": true, "requires": { "tslib": "^2.2.0" } @@ -34391,6 +34392,7 @@ "version": "12.2.1", "resolved": "https://registry.npmjs.org/@angular/router/-/router-12.2.1.tgz", "integrity": "sha512-dWQu+C8U8SMeWtOAl3AlfZxQYv68bisBB4uAuPXoyXiLtHgGclyzu1QZVPXTkoiyGv+odrqX8LaG/eQtbU0G8Q==", + "dev": true, "requires": { "tslib": "^2.2.0" } diff --git a/package.json b/package.json index cb818679..d7f0735d 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,11 @@ }, "private": true, "dependencies": { - "@angular/animations": "^12.2.1", "@angular/common": "^12.2.1", - "@angular/compiler": "^12.2.1", "@angular/core": "^12.2.1", "@angular/forms": "^12.2.1", "@angular/platform-browser": "^12.2.1", "@angular/platform-browser-dynamic": "^12.2.1", - "@angular/router": "^12.2.1", "@hypertrace/hyperdash": "^1.2.1", "core-js": "^3.16.2", "lodash-es": "^4.17.21", @@ -35,9 +32,12 @@ "devDependencies": { "@angular-builders/jest": "^12.0.0", "@angular-devkit/build-angular": "~12.2.1", + "@angular/animations": "^12.2.1", "@angular/cli": "^12.2.1", + "@angular/compiler": "^12.2.1", "@angular/compiler-cli": "^12.2.1", "@angular/language-service": "^12.2.1", + "@angular/router": "^12.2.1", "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@compodoc/compodoc": "^1.1.14", diff --git a/projects/hyperdash-angular/package.json b/projects/hyperdash-angular/package.json index e8794bc3..1b4b8771 100644 --- a/projects/hyperdash-angular/package.json +++ b/projects/hyperdash-angular/package.json @@ -14,16 +14,16 @@ "commit": "pushd ../.. && npm run commit" }, "peerDependencies": { - "@angular/common": "^11.1.1", - "@angular/core": "^11.1.1", - "@angular/platform-browser": "^11.1.1", - "core-js": "^3.8.3", - "rxjs": "^6.6.3", - "zone.js": "~0.10.3", - "lodash-es": "^4.17.20", + "@angular/common": "^12.2.1", + "@angular/core": "^12.2.1", + "@angular/platform-browser": "^12.2.1", + "core-js": "^3.16.2", + "rxjs": "^6.6.7", + "zone.js": "~0.11.4", + "lodash-es": "^4.17.21", "@hypertrace/hyperdash": "^1.2.1" }, "dependencies": { - "tslib": "^2.0.3" + "tslib": "^2.3.1" } }