X Tutup
Skip to content

Commit 19cfb4e

Browse files
committed
fix(build): publish typings directory to our npm snapshot branch
1 parent 3d715a2 commit 19cfb4e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ tmp
2222
*.js.map
2323

2424
# Or type definitions we mirror from github
25+
# (NB: these lines are removed in publish-build-artifacts.sh)
2526
**/typings/**/*.d.ts
2627
**/typings/tsd.cached.json
2728

scripts/publish/publish-build-artifacts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function publishRepo {
4141
# copy over build artifacts into the repo directory
4242
rm -rf $REPO_DIR/*
4343
cp -R $ARTIFACTS_DIR/* $REPO_DIR/
44-
cp .gitignore $REPO_DIR/
44+
grep -v /typings/ .gitignore > $REPO_DIR/.gitignore
4545
echo `date` > $REPO_DIR/BUILD_INFO
4646
echo $SHA >> $REPO_DIR/BUILD_INFO
4747

0 commit comments

Comments
 (0)
X Tutup