From bae1125844edee9aaeb2ed02ac58516ca1c4143f Mon Sep 17 00:00:00 2001 From: Ravi <7014230+arelra@users.noreply.github.com> Date: Mon, 14 Sep 2026 16:55:41 +0100 Subject: [PATCH] Update post-merge to remove redundant yarn logic We moved to pnpm many moons ago https://github.com/guardian/dotcom-rendering/pull/9476 --- .husky/post-merge | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.husky/post-merge b/.husky/post-merge index 0d9f8e3554d..259df09f4af 100755 --- a/.husky/post-merge +++ b/.husky/post-merge @@ -1,14 +1,6 @@ RED='\033[0;31m' ENDCOLOR='\033[0m' -# Delete old yarn-based stuff while transitioning from yarn to pnpm. It can be -# removed once we're confident that pnpm is working. -if [ -d ".yarn" ]; then - echo "${RED}This application now uses pnpm. Cleaning up old yarn stuff...${ENDCOLOR}" - rm -rf .yarn - rm -rf **/node_modules # belt-and-braces -fi - changedFiles="$(git diff-tree -r --name-only --no-commit-id HEAD@{1} HEAD)" changedLock="$(echo "$changedFiles" | { grep -E 'pnpm-lock.yaml' || :; })" changedNode="$(echo "$changedFiles" | { grep '.nvmrc' || :; })"