From 1e20b2ca36d038b90e62d69c40f80bb74f19d6fe Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Fri, 7 Dec 2018 12:12:59 +0100 Subject: [PATCH] build(packaging): add repository.directory field to package.jsons (#27544) PR Close #27544 --- packages/animations/package.json | 3 ++- packages/bazel/package.json | 3 ++- packages/benchpress/package.json | 3 ++- packages/common/package.json | 3 ++- packages/compiler-cli/package.json | 3 ++- packages/compiler/package.json | 3 ++- packages/core/package.json | 3 ++- packages/elements/package.json | 3 ++- packages/forms/package.json | 3 ++- packages/http/package.json | 3 ++- packages/language-service/package.json | 3 ++- packages/platform-browser-dynamic/package.json | 3 ++- packages/platform-browser/package.json | 3 ++- packages/platform-server/package.json | 3 ++- packages/platform-webworker-dynamic/package.json | 3 ++- packages/platform-webworker/package.json | 3 ++- packages/router/package.json | 3 ++- packages/service-worker/package.json | 3 ++- packages/upgrade/package.json | 3 ++- 19 files changed, 38 insertions(+), 19 deletions(-) diff --git a/packages/animations/package.json b/packages/animations/package.json index 8a6393df95..2af76a8c5b 100644 --- a/packages/animations/package.json +++ b/packages/animations/package.json @@ -18,7 +18,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/animations" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/bazel/package.json b/packages/bazel/package.json index 59a3acd95f..e4624777ce 100644 --- a/packages/bazel/package.json +++ b/packages/bazel/package.json @@ -47,7 +47,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/bazel" }, "builders": "./src/builders/builders.json", "schematics": "./src/schematics/collection.json", diff --git a/packages/benchpress/package.json b/packages/benchpress/package.json index ce63244bdb..98c522fda3 100644 --- a/packages/benchpress/package.json +++ b/packages/benchpress/package.json @@ -15,7 +15,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/benchpress" }, "keywords": [ "angular", diff --git a/packages/common/package.json b/packages/common/package.json index e069b3cba2..32e37c8ffa 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/common" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/compiler-cli/package.json b/packages/compiler-cli/package.json index c6624b3e5b..c44efec6be 100644 --- a/packages/compiler-cli/package.json +++ b/packages/compiler-cli/package.json @@ -33,7 +33,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/compiler-cli" }, "keywords": [ "angular", diff --git a/packages/compiler/package.json b/packages/compiler/package.json index f75cd9ac9b..2ca86b446c 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -17,7 +17,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/compiler" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/core/package.json b/packages/core/package.json index cd8d44f9c5..d0bbdd9760 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -19,7 +19,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/core" }, "ng-update": { "migrations": "./schematics/migrations.json", diff --git a/packages/elements/package.json b/packages/elements/package.json index 59cafadf02..c6116396fe 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/elements" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/forms/package.json b/packages/forms/package.json index 856b282f97..5e1bb99ac0 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/forms" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/http/package.json b/packages/http/package.json index 83f4e63c46..669c9a47f2 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "repository": "packages/http" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 26c0535e4c..cd4ecf43bb 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -9,7 +9,8 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/language-service" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/platform-browser-dynamic/package.json b/packages/platform-browser-dynamic/package.json index b19343634d..cee9f522b0 100644 --- a/packages/platform-browser-dynamic/package.json +++ b/packages/platform-browser-dynamic/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/platform-browser-dynamic" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/platform-browser/package.json b/packages/platform-browser/package.json index d8f99fc578..f20cfdd2c1 100644 --- a/packages/platform-browser/package.json +++ b/packages/platform-browser/package.json @@ -19,7 +19,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/platform-browser" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/platform-server/package.json b/packages/platform-server/package.json index 6e864c01e1..3ed7d778ff 100644 --- a/packages/platform-server/package.json +++ b/packages/platform-server/package.json @@ -27,7 +27,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/platform-server" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/platform-webworker-dynamic/package.json b/packages/platform-webworker-dynamic/package.json index 83f3bca302..c4c47a72e9 100644 --- a/packages/platform-webworker-dynamic/package.json +++ b/packages/platform-webworker-dynamic/package.json @@ -22,7 +22,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/platform-webworker-dynamic" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/platform-webworker/package.json b/packages/platform-webworker/package.json index b550db9286..86af7cec98 100644 --- a/packages/platform-webworker/package.json +++ b/packages/platform-webworker/package.json @@ -20,7 +20,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/platform-webworker" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP" diff --git a/packages/router/package.json b/packages/router/package.json index 9f2b7c22b0..f62fe79720 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -16,7 +16,8 @@ ], "repository": { "type": "git", - "url": "git+https://github.com/angular/angular.git" + "url": "git+https://github.com/angular/angular.git", + "directory": "packages/router" }, "author": "angular", "license": "MIT", diff --git a/packages/service-worker/package.json b/packages/service-worker/package.json index edbbd1bfe5..f16f1907a7 100644 --- a/packages/service-worker/package.json +++ b/packages/service-worker/package.json @@ -19,7 +19,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/service-worker" }, "bin": { "ngsw-config": "./ngsw-config.js" diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index 67fe8d90bc..18d1c97745 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -21,7 +21,8 @@ }, "repository": { "type": "git", - "url": "https://github.com/angular/angular.git" + "url": "https://github.com/angular/angular.git", + "directory": "packages/upgrade" }, "ng-update": { "packageGroup": "NG_UPDATE_PACKAGE_GROUP"