From 907747d3949301d8836e71938940f6275b016062 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Thu, 8 Dec 2022 10:44:27 -0700 Subject: [PATCH] refactor: remove yarn.lock steps (#5850) --- ci/build/build-release.sh | 3 --- ci/build/build-standalone-release.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ci/build/build-release.sh b/ci/build/build-release.sh index c81266858..8240a2f22 100755 --- a/ci/build/build-release.sh +++ b/ci/build/build-release.sh @@ -56,7 +56,6 @@ bundle_code_server() { } EOF ) > "$RELEASE_PATH/package.json" - rsync yarn.lock "$RELEASE_PATH" mv npm-shrinkwrap.json "$RELEASE_PATH" rsync ci/build/npm-postinstall.sh "$RELEASE_PATH/postinstall.sh" @@ -97,12 +96,10 @@ bundle_vscode() { "$VSCODE_SRC_PATH/remote/package.json" \ "$VSCODE_SRC_PATH/package.json" > "$VSCODE_OUT_PATH/package.json" - rsync "$VSCODE_SRC_PATH/remote/yarn.lock" "$VSCODE_OUT_PATH/yarn.lock" mv "$VSCODE_SRC_PATH/remote/npm-shrinkwrap.json" "$VSCODE_OUT_PATH/npm-shrinkwrap.json" # Include global extension dependencies as well. rsync "$VSCODE_SRC_PATH/extensions/package.json" "$VSCODE_OUT_PATH/extensions/package.json" - rsync "$VSCODE_SRC_PATH/extensions/yarn.lock" "$VSCODE_OUT_PATH/extensions/yarn.lock" mv "$VSCODE_SRC_PATH/extensions/npm-shrinkwrap.json" "$VSCODE_OUT_PATH/extensions/npm-shrinkwrap.json" rsync "$VSCODE_SRC_PATH/extensions/postinstall.mjs" "$VSCODE_OUT_PATH/extensions/postinstall.mjs" } diff --git a/ci/build/build-standalone-release.sh b/ci/build/build-standalone-release.sh index 12bda50be..a297b9044 100755 --- a/ci/build/build-standalone-release.sh +++ b/ci/build/build-standalone-release.sh @@ -10,7 +10,7 @@ main() { source ./ci/lib.sh - rsync --exclude yarn.lock "$RELEASE_PATH/" "$RELEASE_PATH-standalone" + rsync "$RELEASE_PATH/" "$RELEASE_PATH-standalone" RELEASE_PATH+=-standalone # We cannot find the path to node from $PATH because yarn shims a script to ensure