From 927aa69726d4c154c2b0d1e665f4471147431f4a Mon Sep 17 00:00:00 2001 From: Victor Savkin Date: Wed, 16 Nov 2016 09:17:19 -0800 Subject: [PATCH] fix(router): add a banner file for the router (#12919) --- build.sh | 8 +++++++- modules/@angular/router-license-banner.txt | 5 +++++ modules/@angular/router/package.json | 3 ++- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 modules/@angular/router-license-banner.txt diff --git a/build.sh b/build.sh index 4cd844f23b..f596b952a0 100755 --- a/build.sh +++ b/build.sh @@ -106,7 +106,13 @@ do UMD_ES5_MIN_PATH=${DESTDIR}/bundles/${PACKAGE}.umd.min.js UMD_STATIC_ES5_MIN_PATH=${DESTDIR}/bundles/${PACKAGE}-static.umd.min.js UMD_UPGRADE_ES5_MIN_PATH=${DESTDIR}/bundles/${PACKAGE}-upgrade.umd.min.js - LICENSE_BANNER=${PWD}/modules/@angular/license-banner.txt + + if [[ ${PACKAGE} != router ]]; then + LICENSE_BANNER=${PWD}/modules/@angular/license-banner.txt + fi + if [[ ${PACKAGE} == router ]]; then + LICENSE_BANNER=${PWD}/modules/@angular/router-license-banner.txt + fi rm -rf ${DESTDIR} diff --git a/modules/@angular/router-license-banner.txt b/modules/@angular/router-license-banner.txt new file mode 100644 index 0000000000..0fb5469d5f --- /dev/null +++ b/modules/@angular/router-license-banner.txt @@ -0,0 +1,5 @@ +/** + * @license Angular v0.0.0-ROUTERPLACEHOLDER + * (c) 2010-2016 Google, Inc. https://angular.io/ + * License: MIT + */ \ No newline at end of file diff --git a/modules/@angular/router/package.json b/modules/@angular/router/package.json index 29174075b8..c45a5ffa0c 100644 --- a/modules/@angular/router/package.json +++ b/modules/@angular/router/package.json @@ -23,6 +23,7 @@ "peerDependencies": { "@angular/core": "0.0.0-PLACEHOLDER", "@angular/common": "0.0.0-PLACEHOLDER", - "@angular/platform-browser": "0.0.0-PLACEHOLDER" + "@angular/platform-browser": "0.0.0-PLACEHOLDER", + "rxjs": "5.0.0-beta.12" } }