Unverified Commit 93f4a1ce authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Ensure yarn is used for next-with-deps (#44666)

We aren't able to use `pnpm` for this script as it will no-op inside of
the Next.js repo so we need to use a different package manager instead.

x-ref: [slack
thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1673040998334369?thread_ts=1673034003.245089&cid=C04DUD7EB1B)
parent aa0664cc
...@@ -29,7 +29,7 @@ done ...@@ -29,7 +29,7 @@ done
if [ ! -z $HAS_CONFLICTING_DEP ] || [ ! -d "$PROJECT_DIR/node_modules" ];then if [ ! -z $HAS_CONFLICTING_DEP ] || [ ! -d "$PROJECT_DIR/node_modules" ];then
cd $PROJECT_DIR cd $PROJECT_DIR
pnpm install yarn install
for dep in ${CONFLICTING_DEPS[@]};do for dep in ${CONFLICTING_DEPS[@]};do
rm -rf node_modules/$dep rm -rf node_modules/$dep
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment