Skip to content

Commit 8923103

Browse files
committed
fix(npm): update scripts and readme for npm packages.
Replaces AtScript with Typescript. Closes angular#2377
1 parent f34f8df commit 8923103

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

modules/angular2/README.js.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ The sources for this package are in the main [Angular2](https://github.com/angul
55

66
This package contains different sources for different users:
77

8-
1. The files located in the root folder can be consumed using CommonJS
8+
1. The files located in the root folder can be consumed using CommonJS.
99
2. The files under `/es6` are es6 compatible files that can be transpiled to
1010
es5 using any transpiler. This contains:
1111
* `dev/`: a development version that includes runtime type assertions
1212
* `prod/`: a production version that does not include runtime type assertions
13-
3. The files under `/atscript` are the AtScript source files
13+
3. The files under `/ts` are the TypeScript source files.
1414

1515
As a convenience, we provide you with `/es6/{dev|prod}/es5build.js`, a script to transpile the es6 sources into es5
1616
using [Google Traceur](https://github.com/google/traceur-compiler/).

modules/benchpress/README.js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This package contains different sources for different users:
1010
es5 using any transpiler. This contains:
1111
* `dev/`: a development version that includes runtime type assertions
1212
* `prod/`: a production version that does not include runtime type assertions
13-
3. The files under `/atscript` are the AtScript source files
13+
3. The files under `/ts` are the Typescript source files
1414

1515
As a convenience, we provide you with `/es6/{dev|prod}/es5build.js`, a script to transpile the es6 sources into es5
1616
using [Google Traceur](https://github.com/google/traceur-compiler/).

scripts/publish/npm_publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ function publishModule {
3535
cp -r $ROOT_DIR/dist/js/dev/es6/$NAME/$FILES $PUBLISH_DIR/es6/dev
3636
mkdir -p $PUBLISH_DIR/es6/prod
3737
cp -r $ROOT_DIR/dist/js/prod/es6/$NAME/$FILES $PUBLISH_DIR/es6/prod
38-
mkdir -p $PUBLISH_DIR/atscript
39-
cp -r $ROOT_DIR/modules/$NAME/$FILES $PUBLISH_DIR/atscript
38+
mkdir -p $PUBLISH_DIR/ts
39+
cp -r $ROOT_DIR/modules/$NAME/$FILES $PUBLISH_DIR/ts
4040

4141
cp -r $ROOT_DIR/dist/js/cjs/$NAME/$FILES $PUBLISH_DIR
4242

0 commit comments

Comments
 (0)