Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -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' || :; })"
Expand Down
Loading