From 17dec7deb850e4c8917bc559bea42d2591575341 Mon Sep 17 00:00:00 2001 From: Esteban Gehring Date: Thu, 16 Apr 2020 08:58:51 +0200 Subject: [PATCH] fix(npm-package): move typescript and angular to peer-dependencies (#183) fix(npm-package): move typescript and angular to peer-dependencies. Fixes #173 --- package-lock.json | 12 +++++++----- package.json | 12 ++++++++---- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 484d6c3..a35fbc6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,14 @@ { "name": "@biesbjerg/ngx-translate-extract", - "version": "6.0.0", + "version": "6.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { "@angular/compiler": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-9.0.7.tgz", - "integrity": "sha512-hFpkuGpzxpK5h59LHHAjTFWsY6DCXZwgJFqvCuTPxWi/srvLGZRXrpC6Z1SlgHI9xxXaPfoa4uWw2VfA3BnqEg==" + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-9.1.1.tgz", + "integrity": "sha512-u1IP6IzUgK6lIzrG1cxp96umXgtThyhuFn/KPoyVt7wPxZ6vVR0ZxjM7zycEcrMGzk0nf0nyOKaksJk9sTXTbg==", + "dev": true }, "@babel/code-frame": { "version": "7.8.3", @@ -2446,7 +2447,8 @@ "typescript": { "version": "3.8.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz", - "integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==" + "integrity": "sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==", + "dev": true }, "util": { "version": "0.10.4", diff --git a/package.json b/package.json index f3ba7b9..a89c318 100644 --- a/package.json +++ b/package.json @@ -61,15 +61,16 @@ }, "config": {}, "devDependencies": { + "@angular/compiler": "^9.1.1", "@types/braces": "^3.0.0", "@types/chai": "^4.2.11", "@types/flat": "^5.0.0", + "@types/gettext-parser": "4.0.0", "@types/glob": "^7.1.1", "@types/mkdirp": "^1.0.0", "@types/mocha": "^7.0.2", "@types/node": "^12.12.31", "@types/yargs": "^15.0.4", - "@types/gettext-parser": "4.0.0", "braces": "^3.0.2", "chai": "^4.2.0", "husky": "^4.2.3", @@ -81,10 +82,14 @@ "tslint": "^6.1.0", "tslint-config-prettier": "^1.18.0", "tslint-eslint-rules": "^5.4.0", - "tslint-etc": "^1.10.1" + "tslint-etc": "^1.10.1", + "typescript": "^3.8.3" + }, + "peerDependencies": { + "@angular/compiler": "^8.0.0 || ^9.0.0", + "typescript": "^3.0.0" }, "dependencies": { - "@angular/compiler": "^9.0.7", "@phenomnomnominal/tsquery": "^4.0.0", "boxen": "^4.2.0", "colorette": "^1.1.0", @@ -94,7 +99,6 @@ "mkdirp": "^1.0.3", "path": "^0.12.7", "terminal-link": "^2.1.1", - "typescript": "^3.8.3", "yargs": "^15.3.1" } }