fix(build): publish typings directory to our npm snapshot branch

This commit is contained in:
Alex Eagle 2016-02-11 11:35:23 -08:00
parent 3d715a2f7b
commit 19cfb4eb12
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -22,6 +22,7 @@ tmp
*.js.map
# Or type definitions we mirror from github
# (NB: these lines are removed in publish-build-artifacts.sh)
**/typings/**/*.d.ts
**/typings/tsd.cached.json

View File

@ -41,7 +41,7 @@ function publishRepo {
# copy over build artifacts into the repo directory
rm -rf $REPO_DIR/*
cp -R $ARTIFACTS_DIR/* $REPO_DIR/
cp .gitignore $REPO_DIR/
grep -v /typings/ .gitignore > $REPO_DIR/.gitignore
echo `date` > $REPO_DIR/BUILD_INFO
echo $SHA >> $REPO_DIR/BUILD_INFO