X Tutup
Skip to content

Commit 0931195

Browse files
chore(build): more clean up for legacy typings bundle creation
Related to 5f2eb3e Closes angular#5091
1 parent 2cc6927 commit 0931195

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

DEVELOPER.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,6 @@ You can selectively build either the JS or Dart versions as follows:
145145
* `$(npm bin)/gulp build.js`
146146
* `$(npm bin)/gulp build.dart`
147147

148-
Also note that in order for the whole test suite to succeed you will need to generate the type definitions by running:
149-
150-
```shell
151-
$(npm bin)/gulp docs/typings
152-
```
153-
154148
To clean out the `dist` folder, run:
155149

156150
```shell

scripts/publish/npm_publish.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cd $ROOT_DIR
77

88
gulp clean
99
# benchpress.bundle and bundles.js will implicitly build everything we need
10-
gulp benchpress.bundle bundles.js docs/typings
10+
gulp benchpress.bundle bundles.js
1111

1212
NPM_DIR=$ROOT_DIR/dist/npm
1313
rm -fr $NPM_DIR
@@ -35,7 +35,6 @@ function publishModule {
3535
# Copy Bundles
3636
cp -r $ROOT_DIR/dist/js/bundle/$FILES $PUBLISH_DIR/bundles
3737
# Copy Typings
38-
cp -r $ROOT_DIR/dist/docs/typings/angular2/$DTS_FILES $PUBLISH_DIR/bundles/typings/angular2
3938
cp -r $ROOT_DIR/modules/angular2/typings/es6-shim/$DTS_FILES $PUBLISH_DIR/bundles/typings/es6-shim
4039
cp -r $ROOT_DIR/modules/angular2/typings/jasmine/$DTS_FILES $PUBLISH_DIR/bundles/typings/jasmine
4140
fi

0 commit comments

Comments
 (0)
X Tutup