We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d236c2 commit d65b407Copy full SHA for d65b407
vercel-ignore.sh
@@ -0,0 +1,14 @@
1
+#!/bin/sh
2
+
3
+# Vercel currently does not properly enable corepack when running the
4
+# ignoreCommand. This was recommended as a stopgap by Vercel support until they
5
+# fix that issue.
6
+COREPACK_ROOT="$PWD/.corepack"
7
+COREPACK_SHIM="$COREPACK_ROOT/shim"
8
+export COREPACK_HOME="$COREPACK_ROOT/home"
9
+export PATH="$COREPACK_SHIM:$PATH"
10
+mkdir -p "$COREPACK_HOME"
11
+mkdir -p "$COREPACK_SHIM"
12
+corepack enable --install-directory "$COREPACK_SHIM"
13
14
+exec pnpm dlx turbo-ignore --fallback=HEAD^
0 commit comments