Clarify exported types and ipc.d.ts

This commit is contained in:
Asher 2020-08-05 12:58:48 -05:00
parent 9b979ac869
commit 934c8d4eb6
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ main() {
rsync LICENSE.txt "$RELEASE_PATH"
rsync ./lib/vscode/ThirdPartyNotices.txt "$RELEASE_PATH"
# Keep these types since code-server's exported types use them.
# code-server exports types which can be imported and used by plugins. Those
# types import ipc.d.ts but it isn't included in the final vscode build so
# we'll copy it ourselves here.
mkdir -p "$RELEASE_PATH/lib/vscode/src/vs/server"
rsync ./lib/vscode/src/vs/server/ipc.d.ts "$RELEASE_PATH/lib/vscode/src/vs/server"
}