Unverified Commit f0fa7c54 authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

use pnpm for `next-with-deps` (#54847)

This fixes the "Usage Error: This project is configured to use pnpm" error when running `next-with-deps` since we [enforce a package manager](https://github.com/vercel/next.js/blob/canary/package.json#L252)
parent 826ef8c7
......@@ -29,7 +29,7 @@ done
if [ ! -z $HAS_CONFLICTING_DEP ] || [ ! -d "$PROJECT_DIR/node_modules" ];then
cd $PROJECT_DIR
yarn install
pnpm i --ignore-workspace
for dep in ${CONFLICTING_DEPS[@]};do
rm -rf node_modules/$dep
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