From 1c8eede1aa3f8110f9f63695bac462236f46f781 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 28 Jul 2020 15:06:10 -0500 Subject: [PATCH] Add missing types to release code-server exports its types but they weren't complete since it imports ipc.d.ts and that wasn't being included. --- ci/build/build-release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/build/build-release.sh b/ci/build/build-release.sh index 6ef0d4d5..d1b99908 100755 --- a/ci/build/build-release.sh +++ b/ci/build/build-release.sh @@ -21,6 +21,10 @@ main() { rsync README.md "$RELEASE_PATH" rsync LICENSE.txt "$RELEASE_PATH" rsync ./lib/vscode/ThirdPartyNotices.txt "$RELEASE_PATH" + + # Keep these types since code-server's exported types use them. + 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" } bundle_code_server() {