From 8923103c3baeed5ceb94a5969206e3a859e10699 Mon Sep 17 00:00:00 2001 From: Rado Kirov Date: Mon, 8 Jun 2015 18:35:45 -0700 Subject: [PATCH] fix(npm): update scripts and readme for npm packages. Replaces AtScript with Typescript. Closes #2377 --- modules/angular2/README.js.md | 4 ++-- modules/benchpress/README.js.md | 2 +- scripts/publish/npm_publish.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/angular2/README.js.md b/modules/angular2/README.js.md index 61dad2c26c..237f3e50ac 100644 --- a/modules/angular2/README.js.md +++ b/modules/angular2/README.js.md @@ -5,12 +5,12 @@ The sources for this package are in the main [Angular2](https://github.com/angul This package contains different sources for different users: -1. The files located in the root folder can be consumed using CommonJS +1. The files located in the root folder can be consumed using CommonJS. 2. The files under `/es6` are es6 compatible files that can be transpiled to es5 using any transpiler. This contains: * `dev/`: a development version that includes runtime type assertions * `prod/`: a production version that does not include runtime type assertions -3. The files under `/atscript` are the AtScript source files +3. The files under `/ts` are the TypeScript source files. As a convenience, we provide you with `/es6/{dev|prod}/es5build.js`, a script to transpile the es6 sources into es5 using [Google Traceur](https://github.com/google/traceur-compiler/). diff --git a/modules/benchpress/README.js.md b/modules/benchpress/README.js.md index b8ee42e360..2365e33027 100644 --- a/modules/benchpress/README.js.md +++ b/modules/benchpress/README.js.md @@ -10,7 +10,7 @@ This package contains different sources for different users: es5 using any transpiler. This contains: * `dev/`: a development version that includes runtime type assertions * `prod/`: a production version that does not include runtime type assertions -3. The files under `/atscript` are the AtScript source files +3. The files under `/ts` are the Typescript source files As a convenience, we provide you with `/es6/{dev|prod}/es5build.js`, a script to transpile the es6 sources into es5 using [Google Traceur](https://github.com/google/traceur-compiler/). diff --git a/scripts/publish/npm_publish.sh b/scripts/publish/npm_publish.sh index 7082c63ca0..5105042a80 100755 --- a/scripts/publish/npm_publish.sh +++ b/scripts/publish/npm_publish.sh @@ -35,8 +35,8 @@ function publishModule { cp -r $ROOT_DIR/dist/js/dev/es6/$NAME/$FILES $PUBLISH_DIR/es6/dev mkdir -p $PUBLISH_DIR/es6/prod cp -r $ROOT_DIR/dist/js/prod/es6/$NAME/$FILES $PUBLISH_DIR/es6/prod - mkdir -p $PUBLISH_DIR/atscript - cp -r $ROOT_DIR/modules/$NAME/$FILES $PUBLISH_DIR/atscript + mkdir -p $PUBLISH_DIR/ts + cp -r $ROOT_DIR/modules/$NAME/$FILES $PUBLISH_DIR/ts cp -r $ROOT_DIR/dist/js/cjs/$NAME/$FILES $PUBLISH_DIR