From 08850a579ba67a5a597286e77721ef2fde271dd8 Mon Sep 17 00:00:00 2001 From: Yegor Jbanov Date: Thu, 12 Feb 2015 22:11:01 -0800 Subject: [PATCH] chore(packaging): rename NPM package to angular2; remove ng2 tag prefix --- modules/angular2/package.json | 2 +- scripts/publish/npm_publish.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/angular2/package.json b/modules/angular2/package.json index e85f063835..31951c6684 100644 --- a/modules/angular2/package.json +++ b/modules/angular2/package.json @@ -1,5 +1,5 @@ { - "name": "angular", + "name": "angular2", "version": "<%= packageJson.version %>.<%= channel %>", "description": "Angular 2 - a web framework for modern web apps", "homepage": "<%= packageJson.homepage %>", diff --git a/scripts/publish/npm_publish.sh b/scripts/publish/npm_publish.sh index 7d10723d82..05c3d4e70e 100755 --- a/scripts/publish/npm_publish.sh +++ b/scripts/publish/npm_publish.sh @@ -10,7 +10,7 @@ function angular { CHANNEL=$1 cd $ROOT_DIR/dist/js/$CHANNEL/es6/angular2 rm -fr test - npm publish ./ --tag "ng2$CHANNEL" + npm publish ./ --tag "$CHANNEL" } function rttsAssert {